TrinityCore
Loading...
Searching...
No Matches
club_role.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_role.proto
3
4#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fclub_5frole_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 "role_types.pb.h"
28#include "Define.h" // for TC_PROTO_API
29// @@protoc_insertion_point(includes)
30
31namespace bgs {
32namespace protocol {
33namespace club {
34namespace v1 {
35namespace client {
36
37// Internal implementation detail -- do not call these.
41
43class ClubRole;
44class ClubRoleSet;
45
46// ===================================================================
47
48class TC_PROTO_API ClubPrivilegeSet : public ::google::protobuf::Message {
49 public:
52
54
56 CopyFrom(from);
57 return *this;
58 }
59
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
61 return _unknown_fields_;
62 }
63
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return &_unknown_fields_;
66 }
67
68 static const ::google::protobuf::Descriptor* descriptor();
70
71 void Swap(ClubPrivilegeSet* other);
72
73 // implements Message ----------------------------------------------
74
76 int GetCachedSize() const { return _cached_size_; }
77 private:
78 void SharedCtor();
79 void SharedDtor();
80 void SetCachedSize(int size) const;
81 public:
82 ::google::protobuf::Metadata GetMetadata() const;
83
84 // nested types ----------------------------------------------------
85
86 // accessors -------------------------------------------------------
87
88 // optional bool can_destroy = 1;
89 inline bool has_can_destroy() const;
90 inline void clear_can_destroy();
91 static const int kCanDestroyFieldNumber = 1;
92 inline bool can_destroy() const;
93 inline void set_can_destroy(bool value);
94
95 // optional bool can_set_attribute = 10;
96 inline bool has_can_set_attribute() const;
97 inline void clear_can_set_attribute();
98 static const int kCanSetAttributeFieldNumber = 10;
99 inline bool can_set_attribute() const;
100 inline void set_can_set_attribute(bool value);
101
102 // optional bool can_set_name = 11;
103 inline bool has_can_set_name() const;
104 inline void clear_can_set_name();
105 static const int kCanSetNameFieldNumber = 11;
106 inline bool can_set_name() const;
107 inline void set_can_set_name(bool value);
108
109 // optional bool can_set_description = 12;
110 inline bool has_can_set_description() const;
111 inline void clear_can_set_description();
112 static const int kCanSetDescriptionFieldNumber = 12;
113 inline bool can_set_description() const;
114 inline void set_can_set_description(bool value);
115
116 // optional bool can_set_avatar = 13;
117 inline bool has_can_set_avatar() const;
118 inline void clear_can_set_avatar();
119 static const int kCanSetAvatarFieldNumber = 13;
120 inline bool can_set_avatar() const;
121 inline void set_can_set_avatar(bool value);
122
123 // optional bool can_set_broadcast = 14;
124 inline bool has_can_set_broadcast() const;
125 inline void clear_can_set_broadcast();
126 static const int kCanSetBroadcastFieldNumber = 14;
127 inline bool can_set_broadcast() const;
128 inline void set_can_set_broadcast(bool value);
129
130 // optional bool can_set_privacy_level = 15;
131 inline bool has_can_set_privacy_level() const;
132 inline void clear_can_set_privacy_level();
133 static const int kCanSetPrivacyLevelFieldNumber = 15;
134 inline bool can_set_privacy_level() const;
135 inline void set_can_set_privacy_level(bool value);
136
137 // optional bool can_add_member = 29;
138 inline bool has_can_add_member() const;
139 inline void clear_can_add_member();
140 static const int kCanAddMemberFieldNumber = 29;
141 inline bool can_add_member() const;
142 inline void set_can_add_member(bool value);
143
144 // optional bool can_kick_member = 30;
145 inline bool has_can_kick_member() const;
146 inline void clear_can_kick_member();
147 static const int kCanKickMemberFieldNumber = 30;
148 inline bool can_kick_member() const;
149 inline void set_can_kick_member(bool value);
150
151 // optional bool can_set_own_member_attribute = 31;
152 inline bool has_can_set_own_member_attribute() const;
153 inline void clear_can_set_own_member_attribute();
154 static const int kCanSetOwnMemberAttributeFieldNumber = 31;
155 inline bool can_set_own_member_attribute() const;
156 inline void set_can_set_own_member_attribute(bool value);
157
158 // optional bool can_set_other_member_attribute = 32;
159 inline bool has_can_set_other_member_attribute() const;
160 inline void clear_can_set_other_member_attribute();
161 static const int kCanSetOtherMemberAttributeFieldNumber = 32;
162 inline bool can_set_other_member_attribute() const;
163 inline void set_can_set_other_member_attribute(bool value);
164
165 // optional bool can_set_own_voice_state = 33;
166 inline bool has_can_set_own_voice_state() const;
167 inline void clear_can_set_own_voice_state();
168 static const int kCanSetOwnVoiceStateFieldNumber = 33;
169 inline bool can_set_own_voice_state() const;
170 inline void set_can_set_own_voice_state(bool value);
171
172 // optional bool can_set_own_presence_level = 34;
173 inline bool has_can_set_own_presence_level() const;
174 inline void clear_can_set_own_presence_level();
175 static const int kCanSetOwnPresenceLevelFieldNumber = 34;
176 inline bool can_set_own_presence_level() const;
177 inline void set_can_set_own_presence_level(bool value);
178
179 // optional bool can_set_own_whisper_level = 35;
180 inline bool has_can_set_own_whisper_level() const;
181 inline void clear_can_set_own_whisper_level();
182 static const int kCanSetOwnWhisperLevelFieldNumber = 35;
183 inline bool can_set_own_whisper_level() const;
184 inline void set_can_set_own_whisper_level(bool value);
185
186 // optional bool can_set_own_member_note = 36;
187 inline bool has_can_set_own_member_note() const;
188 inline void clear_can_set_own_member_note();
189 static const int kCanSetOwnMemberNoteFieldNumber = 36;
190 inline bool can_set_own_member_note() const;
191 inline void set_can_set_own_member_note(bool value);
192
193 // optional bool can_set_other_member_note = 37;
194 inline bool has_can_set_other_member_note() const;
195 inline void clear_can_set_other_member_note();
196 static const int kCanSetOtherMemberNoteFieldNumber = 37;
197 inline bool can_set_other_member_note() const;
198 inline void set_can_set_other_member_note(bool value);
199
200 // optional bool can_use_voice = 50;
201 inline bool has_can_use_voice() const;
202 inline void clear_can_use_voice();
203 static const int kCanUseVoiceFieldNumber = 50;
204 inline bool can_use_voice() const;
205 inline void set_can_use_voice(bool value);
206
207 // optional bool can_voice_mute_member_for_all = 51;
208 inline bool has_can_voice_mute_member_for_all() const;
209 inline void clear_can_voice_mute_member_for_all();
210 static const int kCanVoiceMuteMemberForAllFieldNumber = 51;
211 inline bool can_voice_mute_member_for_all() const;
212 inline void set_can_voice_mute_member_for_all(bool value);
213
214 // optional bool can_get_invitation = 70;
215 inline bool has_can_get_invitation() const;
216 inline void clear_can_get_invitation();
217 static const int kCanGetInvitationFieldNumber = 70;
218 inline bool can_get_invitation() const;
219 inline void set_can_get_invitation(bool value);
220
221 // optional bool can_send_invitation = 71;
222 inline bool has_can_send_invitation() const;
223 inline void clear_can_send_invitation();
224 static const int kCanSendInvitationFieldNumber = 71;
225 inline bool can_send_invitation() const;
226 inline void set_can_send_invitation(bool value);
227
228 // optional bool can_send_guest_invitation = 72;
229 inline bool has_can_send_guest_invitation() const;
230 inline void clear_can_send_guest_invitation();
231 static const int kCanSendGuestInvitationFieldNumber = 72;
232 inline bool can_send_guest_invitation() const;
233 inline void set_can_send_guest_invitation(bool value);
234
235 // optional bool can_revoke_own_invitation = 73;
236 inline bool has_can_revoke_own_invitation() const;
237 inline void clear_can_revoke_own_invitation();
238 static const int kCanRevokeOwnInvitationFieldNumber = 73;
239 inline bool can_revoke_own_invitation() const;
240 inline void set_can_revoke_own_invitation(bool value);
241
242 // optional bool can_revoke_other_invitation = 74;
243 inline bool has_can_revoke_other_invitation() const;
244 inline void clear_can_revoke_other_invitation();
245 static const int kCanRevokeOtherInvitationFieldNumber = 74;
246 inline bool can_revoke_other_invitation() const;
247 inline void set_can_revoke_other_invitation(bool value);
248
249 // optional bool can_get_suggestion = 90;
250 inline bool has_can_get_suggestion() const;
251 inline void clear_can_get_suggestion();
252 static const int kCanGetSuggestionFieldNumber = 90;
253 inline bool can_get_suggestion() const;
254 inline void set_can_get_suggestion(bool value);
255
256 // optional bool can_suggest_member = 91;
257 inline bool has_can_suggest_member() const;
258 inline void clear_can_suggest_member();
259 static const int kCanSuggestMemberFieldNumber = 91;
260 inline bool can_suggest_member() const;
261 inline void set_can_suggest_member(bool value);
262
263 // optional bool can_approve_member = 92;
264 inline bool has_can_approve_member() const;
265 inline void clear_can_approve_member();
266 static const int kCanApproveMemberFieldNumber = 92;
267 inline bool can_approve_member() const;
268 inline void set_can_approve_member(bool value);
269
270 // optional bool can_get_ticket = 110;
271 inline bool has_can_get_ticket() const;
272 inline void clear_can_get_ticket();
273 static const int kCanGetTicketFieldNumber = 110;
274 inline bool can_get_ticket() const;
275 inline void set_can_get_ticket(bool value);
276
277 // optional bool can_create_ticket = 111;
278 inline bool has_can_create_ticket() const;
279 inline void clear_can_create_ticket();
280 static const int kCanCreateTicketFieldNumber = 111;
281 inline bool can_create_ticket() const;
282 inline void set_can_create_ticket(bool value);
283
284 // optional bool can_destroy_ticket = 112;
285 inline bool has_can_destroy_ticket() const;
286 inline void clear_can_destroy_ticket();
287 static const int kCanDestroyTicketFieldNumber = 112;
288 inline bool can_destroy_ticket() const;
289 inline void set_can_destroy_ticket(bool value);
290
291 // optional bool can_get_ban = 130;
292 inline bool has_can_get_ban() const;
293 inline void clear_can_get_ban();
294 static const int kCanGetBanFieldNumber = 130;
295 inline bool can_get_ban() const;
296 inline void set_can_get_ban(bool value);
297
298 // optional bool can_add_ban = 131;
299 inline bool has_can_add_ban() const;
300 inline void clear_can_add_ban();
301 static const int kCanAddBanFieldNumber = 131;
302 inline bool can_add_ban() const;
303 inline void set_can_add_ban(bool value);
304
305 // optional bool can_remove_ban = 132;
306 inline bool has_can_remove_ban() const;
307 inline void clear_can_remove_ban();
308 static const int kCanRemoveBanFieldNumber = 132;
309 inline bool can_remove_ban() const;
310 inline void set_can_remove_ban(bool value);
311
312 // optional bool can_create_stream = 140;
313 inline bool has_can_create_stream() const;
314 inline void clear_can_create_stream();
315 static const int kCanCreateStreamFieldNumber = 140;
316 inline bool can_create_stream() const;
317 inline void set_can_create_stream(bool value);
318
319 // optional bool can_destroy_stream = 141;
320 inline bool has_can_destroy_stream() const;
321 inline void clear_can_destroy_stream();
322 static const int kCanDestroyStreamFieldNumber = 141;
323 inline bool can_destroy_stream() const;
324 inline void set_can_destroy_stream(bool value);
325
326 // optional bool can_set_stream_position = 142;
327 inline bool has_can_set_stream_position() const;
328 inline void clear_can_set_stream_position();
329 static const int kCanSetStreamPositionFieldNumber = 142;
330 inline bool can_set_stream_position() const;
331 inline void set_can_set_stream_position(bool value);
332
333 // optional bool can_set_stream_attribute = 143;
334 inline bool has_can_set_stream_attribute() const;
335 inline void clear_can_set_stream_attribute();
336 static const int kCanSetStreamAttributeFieldNumber = 143;
337 inline bool can_set_stream_attribute() const;
338 inline void set_can_set_stream_attribute(bool value);
339
340 // optional bool can_set_stream_name = 144;
341 inline bool has_can_set_stream_name() const;
342 inline void clear_can_set_stream_name();
343 static const int kCanSetStreamNameFieldNumber = 144;
344 inline bool can_set_stream_name() const;
345 inline void set_can_set_stream_name(bool value);
346
347 // optional bool can_set_stream_subject = 145;
348 inline bool has_can_set_stream_subject() const;
349 inline void clear_can_set_stream_subject();
350 static const int kCanSetStreamSubjectFieldNumber = 145;
351 inline bool can_set_stream_subject() const;
352 inline void set_can_set_stream_subject(bool value);
353
354 // optional bool can_set_stream_access = 146;
355 inline bool has_can_set_stream_access() const;
356 inline void clear_can_set_stream_access();
357 static const int kCanSetStreamAccessFieldNumber = 146;
358 inline bool can_set_stream_access() const;
359 inline void set_can_set_stream_access(bool value);
360
361 // optional bool can_set_stream_voice_level = 147;
362 inline bool has_can_set_stream_voice_level() const;
363 inline void clear_can_set_stream_voice_level();
364 static const int kCanSetStreamVoiceLevelFieldNumber = 147;
365 inline bool can_set_stream_voice_level() const;
366 inline void set_can_set_stream_voice_level(bool value);
367
368 // optional bool can_create_message = 180;
369 inline bool has_can_create_message() const;
370 inline void clear_can_create_message();
371 static const int kCanCreateMessageFieldNumber = 180;
372 inline bool can_create_message() const;
373 inline void set_can_create_message(bool value);
374
375 // optional bool can_destroy_own_message = 181;
376 inline bool has_can_destroy_own_message() const;
377 inline void clear_can_destroy_own_message();
378 static const int kCanDestroyOwnMessageFieldNumber = 181;
379 inline bool can_destroy_own_message() const;
380 inline void set_can_destroy_own_message(bool value);
381
382 // optional bool can_destroy_other_message = 182;
383 inline bool has_can_destroy_other_message() const;
384 inline void clear_can_destroy_other_message();
385 static const int kCanDestroyOtherMessageFieldNumber = 182;
386 inline bool can_destroy_other_message() const;
387 inline void set_can_destroy_other_message(bool value);
388
389 // optional bool can_edit_own_message = 183;
390 inline bool has_can_edit_own_message() const;
391 inline void clear_can_edit_own_message();
392 static const int kCanEditOwnMessageFieldNumber = 183;
393 inline bool can_edit_own_message() const;
394 inline void set_can_edit_own_message(bool value);
395
396 // optional bool can_pin_message = 184;
397 inline bool has_can_pin_message() const;
398 inline void clear_can_pin_message();
399 static const int kCanPinMessageFieldNumber = 184;
400 inline bool can_pin_message() const;
401 inline void set_can_pin_message(bool value);
402
403 // optional bool can_mention_all = 185;
404 inline bool has_can_mention_all() const;
405 inline void clear_can_mention_all();
406 static const int kCanMentionAllFieldNumber = 185;
407 inline bool can_mention_all() const;
408 inline void set_can_mention_all(bool value);
409
410 // optional bool can_mention_here = 186;
411 inline bool has_can_mention_here() const;
412 inline void clear_can_mention_here();
413 static const int kCanMentionHereFieldNumber = 186;
414 inline bool can_mention_here() const;
415 inline void set_can_mention_here(bool value);
416
417 // optional bool can_mention_member = 187;
418 inline bool has_can_mention_member() const;
419 inline void clear_can_mention_member();
420 static const int kCanMentionMemberFieldNumber = 187;
421 inline bool can_mention_member() const;
422 inline void set_can_mention_member(bool value);
423
424 // optional bool can_mention_role = 188;
425 inline bool has_can_mention_role() const;
426 inline void clear_can_mention_role();
427 static const int kCanMentionRoleFieldNumber = 188;
428 inline bool can_mention_role() const;
429 inline void set_can_mention_role(bool value);
430
431 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubPrivilegeSet)
432 private:
433 inline void set_has_can_destroy();
434 inline void clear_has_can_destroy();
435 inline void set_has_can_set_attribute();
436 inline void clear_has_can_set_attribute();
437 inline void set_has_can_set_name();
438 inline void clear_has_can_set_name();
439 inline void set_has_can_set_description();
440 inline void clear_has_can_set_description();
441 inline void set_has_can_set_avatar();
442 inline void clear_has_can_set_avatar();
443 inline void set_has_can_set_broadcast();
444 inline void clear_has_can_set_broadcast();
445 inline void set_has_can_set_privacy_level();
446 inline void clear_has_can_set_privacy_level();
447 inline void set_has_can_add_member();
448 inline void clear_has_can_add_member();
449 inline void set_has_can_kick_member();
450 inline void clear_has_can_kick_member();
451 inline void set_has_can_set_own_member_attribute();
452 inline void clear_has_can_set_own_member_attribute();
453 inline void set_has_can_set_other_member_attribute();
454 inline void clear_has_can_set_other_member_attribute();
455 inline void set_has_can_set_own_voice_state();
456 inline void clear_has_can_set_own_voice_state();
457 inline void set_has_can_set_own_presence_level();
458 inline void clear_has_can_set_own_presence_level();
459 inline void set_has_can_set_own_whisper_level();
460 inline void clear_has_can_set_own_whisper_level();
461 inline void set_has_can_set_own_member_note();
462 inline void clear_has_can_set_own_member_note();
463 inline void set_has_can_set_other_member_note();
464 inline void clear_has_can_set_other_member_note();
465 inline void set_has_can_use_voice();
466 inline void clear_has_can_use_voice();
467 inline void set_has_can_voice_mute_member_for_all();
468 inline void clear_has_can_voice_mute_member_for_all();
469 inline void set_has_can_get_invitation();
470 inline void clear_has_can_get_invitation();
471 inline void set_has_can_send_invitation();
472 inline void clear_has_can_send_invitation();
473 inline void set_has_can_send_guest_invitation();
474 inline void clear_has_can_send_guest_invitation();
475 inline void set_has_can_revoke_own_invitation();
476 inline void clear_has_can_revoke_own_invitation();
477 inline void set_has_can_revoke_other_invitation();
478 inline void clear_has_can_revoke_other_invitation();
479 inline void set_has_can_get_suggestion();
480 inline void clear_has_can_get_suggestion();
481 inline void set_has_can_suggest_member();
482 inline void clear_has_can_suggest_member();
483 inline void set_has_can_approve_member();
484 inline void clear_has_can_approve_member();
485 inline void set_has_can_get_ticket();
486 inline void clear_has_can_get_ticket();
487 inline void set_has_can_create_ticket();
488 inline void clear_has_can_create_ticket();
489 inline void set_has_can_destroy_ticket();
490 inline void clear_has_can_destroy_ticket();
491 inline void set_has_can_get_ban();
492 inline void clear_has_can_get_ban();
493 inline void set_has_can_add_ban();
494 inline void clear_has_can_add_ban();
495 inline void set_has_can_remove_ban();
496 inline void clear_has_can_remove_ban();
497 inline void set_has_can_create_stream();
498 inline void clear_has_can_create_stream();
499 inline void set_has_can_destroy_stream();
500 inline void clear_has_can_destroy_stream();
501 inline void set_has_can_set_stream_position();
502 inline void clear_has_can_set_stream_position();
503 inline void set_has_can_set_stream_attribute();
504 inline void clear_has_can_set_stream_attribute();
505 inline void set_has_can_set_stream_name();
506 inline void clear_has_can_set_stream_name();
507 inline void set_has_can_set_stream_subject();
508 inline void clear_has_can_set_stream_subject();
509 inline void set_has_can_set_stream_access();
510 inline void clear_has_can_set_stream_access();
511 inline void set_has_can_set_stream_voice_level();
512 inline void clear_has_can_set_stream_voice_level();
513 inline void set_has_can_create_message();
514 inline void clear_has_can_create_message();
515 inline void set_has_can_destroy_own_message();
516 inline void clear_has_can_destroy_own_message();
517 inline void set_has_can_destroy_other_message();
518 inline void clear_has_can_destroy_other_message();
519 inline void set_has_can_edit_own_message();
520 inline void clear_has_can_edit_own_message();
521 inline void set_has_can_pin_message();
522 inline void clear_has_can_pin_message();
523 inline void set_has_can_mention_all();
524 inline void clear_has_can_mention_all();
525 inline void set_has_can_mention_here();
526 inline void clear_has_can_mention_here();
527 inline void set_has_can_mention_member();
528 inline void clear_has_can_mention_member();
529 inline void set_has_can_mention_role();
530 inline void clear_has_can_mention_role();
531
532 ::google::protobuf::UnknownFieldSet _unknown_fields_;
533
534 ::google::protobuf::uint32 _has_bits_[2];
584 mutable int _cached_size_;
588
591};
592// -------------------------------------------------------------------
593
594class TC_PROTO_API ClubRole : public ::google::protobuf::Message {
595 public:
597 virtual ~ClubRole();
598
599 ClubRole(const ClubRole& from);
600
601 inline ClubRole& operator=(const ClubRole& from) {
602 CopyFrom(from);
603 return *this;
604 }
605
606 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
607 return _unknown_fields_;
608 }
609
610 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
611 return &_unknown_fields_;
612 }
613
614 static const ::google::protobuf::Descriptor* descriptor();
615 static const ClubRole& default_instance();
616
617 void Swap(ClubRole* other);
618
619 // implements Message ----------------------------------------------
620
621 ClubRole* New() const;
622 int GetCachedSize() const { return _cached_size_; }
623 private:
626 void SetCachedSize(int size) const;
627 public:
628 ::google::protobuf::Metadata GetMetadata() const;
629
630 // nested types ----------------------------------------------------
631
632 // accessors -------------------------------------------------------
633
634 // optional uint32 id = 1;
635 inline bool has_id() const;
636 inline void clear_id();
637 static const int kIdFieldNumber = 1;
638 inline ::google::protobuf::uint32 id() const;
639 inline void set_id(::google::protobuf::uint32 value);
640
641 // optional .bgs.protocol.RoleState state = 2;
642 inline bool has_state() const;
643 inline void clear_state();
644 static const int kStateFieldNumber = 2;
645 inline const ::bgs::protocol::RoleState& state() const;
646 inline ::bgs::protocol::RoleState* mutable_state();
647 inline ::bgs::protocol::RoleState* release_state();
648 inline void set_allocated_state(::bgs::protocol::RoleState* state);
649
650 // optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3;
651 inline bool has_privilege() const;
652 inline void clear_privilege();
653 static const int kPrivilegeFieldNumber = 3;
654 inline const ::bgs::protocol::club::v1::client::ClubPrivilegeSet& privilege() const;
655 inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* mutable_privilege();
656 inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* release_privilege();
657 inline void set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet* privilege);
658
659 // optional bool always_grant_stream_access = 4;
660 inline bool has_always_grant_stream_access() const;
661 inline void clear_always_grant_stream_access();
662 static const int kAlwaysGrantStreamAccessFieldNumber = 4;
663 inline bool always_grant_stream_access() const;
664 inline void set_always_grant_stream_access(bool value);
665
666 // optional bool allow_in_club_slot = 5;
667 inline bool has_allow_in_club_slot() const;
668 inline void clear_allow_in_club_slot();
669 static const int kAllowInClubSlotFieldNumber = 5;
670 inline bool allow_in_club_slot() const;
671 inline void set_allow_in_club_slot(bool value);
672
673 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRole)
674 private:
675 inline void set_has_id();
676 inline void clear_has_id();
677 inline void set_has_state();
678 inline void clear_has_state();
679 inline void set_has_privilege();
680 inline void clear_has_privilege();
681 inline void set_has_always_grant_stream_access();
682 inline void clear_has_always_grant_stream_access();
683 inline void set_has_allow_in_club_slot();
684 inline void clear_has_allow_in_club_slot();
685
686 ::google::protobuf::UnknownFieldSet _unknown_fields_;
687
688 ::google::protobuf::uint32 _has_bits_[1];
689 mutable int _cached_size_;
692 ::google::protobuf::uint32 id_;
698
701};
702// -------------------------------------------------------------------
703
704class TC_PROTO_API ClubRoleSet : public ::google::protobuf::Message {
705 public:
707 virtual ~ClubRoleSet();
708
710
711 inline ClubRoleSet& operator=(const ClubRoleSet& from) {
712 CopyFrom(from);
713 return *this;
714 }
715
716 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
717 return _unknown_fields_;
718 }
719
720 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
721 return &_unknown_fields_;
722 }
723
724 static const ::google::protobuf::Descriptor* descriptor();
726
727 void Swap(ClubRoleSet* other);
728
729 // implements Message ----------------------------------------------
730
731 ClubRoleSet* New() const;
732 int GetCachedSize() const { return _cached_size_; }
733 private:
736 void SetCachedSize(int size) const;
737 public:
738 ::google::protobuf::Metadata GetMetadata() const;
739
740 // nested types ----------------------------------------------------
741
742 // accessors -------------------------------------------------------
743
744 // repeated .bgs.protocol.club.v1.client.ClubRole role = 1;
745 inline int role_size() const;
746 inline void clear_role();
747 static const int kRoleFieldNumber = 1;
748 inline const ::bgs::protocol::club::v1::client::ClubRole& role(int index) const;
749 inline ::bgs::protocol::club::v1::client::ClubRole* mutable_role(int index);
750 inline ::bgs::protocol::club::v1::client::ClubRole* add_role();
751 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >&
752 role() const;
753 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >*
754 mutable_role();
755
756 // repeated uint32 default_role = 5 [packed = true];
757 inline int default_role_size() const;
758 inline void clear_default_role();
759 static const int kDefaultRoleFieldNumber = 5;
760 inline ::google::protobuf::uint32 default_role(int index) const;
761 inline void set_default_role(int index, ::google::protobuf::uint32 value);
762 inline void add_default_role(::google::protobuf::uint32 value);
763 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
764 default_role() const;
765 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
766 mutable_default_role();
767
768 // optional bool assignment_respects_relegation_chain = 6;
769 inline bool has_assignment_respects_relegation_chain() const;
770 inline void clear_assignment_respects_relegation_chain();
771 static const int kAssignmentRespectsRelegationChainFieldNumber = 6;
772 inline bool assignment_respects_relegation_chain() const;
773 inline void set_assignment_respects_relegation_chain(bool value);
774
775 // optional string subtype = 7;
776 inline bool has_subtype() const;
777 inline void clear_subtype();
778 static const int kSubtypeFieldNumber = 7;
779 inline const ::std::string& subtype() const;
780 inline void set_subtype(const ::std::string& value);
781 inline void set_subtype(const char* value);
782 inline void set_subtype(const char* value, size_t size);
783 inline ::std::string* mutable_subtype();
784 inline ::std::string* release_subtype();
785 inline void set_allocated_subtype(::std::string* subtype);
786
787 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubRoleSet)
788 private:
789 inline void set_has_assignment_respects_relegation_chain();
790 inline void clear_has_assignment_respects_relegation_chain();
791 inline void set_has_subtype();
792 inline void clear_has_subtype();
793
794 ::google::protobuf::UnknownFieldSet _unknown_fields_;
795
796 ::google::protobuf::uint32 _has_bits_[1];
797 mutable int _cached_size_;
798 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole > role_;
799 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_;
800 ::std::string* subtype_;
805
808};
809// ===================================================================
810
811// ===================================================================
812
813// ===================================================================
814
815// ClubPrivilegeSet
816
817// optional bool can_destroy = 1;
819 return (_has_bits_[0] & 0x00000001u) != 0;
820}
822 _has_bits_[0] |= 0x00000001u;
823}
825 _has_bits_[0] &= ~0x00000001u;
826}
831inline bool ClubPrivilegeSet::can_destroy() const {
832 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy)
833 return can_destroy_;
834}
835inline void ClubPrivilegeSet::set_can_destroy(bool value) {
837 can_destroy_ = value;
838 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy)
839}
840
841// optional bool can_set_attribute = 10;
843 return (_has_bits_[0] & 0x00000002u) != 0;
844}
846 _has_bits_[0] |= 0x00000002u;
847}
849 _has_bits_[0] &= ~0x00000002u;
850}
856 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute)
857 return can_set_attribute_;
858}
861 can_set_attribute_ = value;
862 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_attribute)
863}
864
865// optional bool can_set_name = 11;
867 return (_has_bits_[0] & 0x00000004u) != 0;
868}
870 _has_bits_[0] |= 0x00000004u;
871}
873 _has_bits_[0] &= ~0x00000004u;
874}
880 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name)
881 return can_set_name_;
882}
883inline void ClubPrivilegeSet::set_can_set_name(bool value) {
885 can_set_name_ = value;
886 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_name)
887}
888
889// optional bool can_set_description = 12;
891 return (_has_bits_[0] & 0x00000008u) != 0;
892}
894 _has_bits_[0] |= 0x00000008u;
895}
897 _has_bits_[0] &= ~0x00000008u;
898}
904 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description)
906}
909 can_set_description_ = value;
910 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_description)
911}
912
913// optional bool can_set_avatar = 13;
915 return (_has_bits_[0] & 0x00000010u) != 0;
916}
918 _has_bits_[0] |= 0x00000010u;
919}
921 _has_bits_[0] &= ~0x00000010u;
922}
928 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar)
929 return can_set_avatar_;
930}
933 can_set_avatar_ = value;
934 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_avatar)
935}
936
937// optional bool can_set_broadcast = 14;
939 return (_has_bits_[0] & 0x00000020u) != 0;
940}
942 _has_bits_[0] |= 0x00000020u;
943}
945 _has_bits_[0] &= ~0x00000020u;
946}
952 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast)
953 return can_set_broadcast_;
954}
957 can_set_broadcast_ = value;
958 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_broadcast)
959}
960
961// optional bool can_set_privacy_level = 15;
963 return (_has_bits_[0] & 0x00000040u) != 0;
964}
966 _has_bits_[0] |= 0x00000040u;
967}
969 _has_bits_[0] &= ~0x00000040u;
970}
976 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level)
978}
982 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_privacy_level)
983}
984
985// optional bool can_add_member = 29;
987 return (_has_bits_[0] & 0x00000080u) != 0;
988}
990 _has_bits_[0] |= 0x00000080u;
991}
993 _has_bits_[0] &= ~0x00000080u;
994}
1000 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member)
1001 return can_add_member_;
1002}
1005 can_add_member_ = value;
1006 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_member)
1007}
1008
1009// optional bool can_kick_member = 30;
1011 return (_has_bits_[0] & 0x00000100u) != 0;
1012}
1014 _has_bits_[0] |= 0x00000100u;
1015}
1017 _has_bits_[0] &= ~0x00000100u;
1018}
1024 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member)
1025 return can_kick_member_;
1026}
1029 can_kick_member_ = value;
1030 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_kick_member)
1031}
1032
1033// optional bool can_set_own_member_attribute = 31;
1035 return (_has_bits_[0] & 0x00000200u) != 0;
1036}
1038 _has_bits_[0] |= 0x00000200u;
1039}
1041 _has_bits_[0] &= ~0x00000200u;
1042}
1048 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute)
1050}
1054 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_attribute)
1055}
1056
1057// optional bool can_set_other_member_attribute = 32;
1059 return (_has_bits_[0] & 0x00000400u) != 0;
1060}
1062 _has_bits_[0] |= 0x00000400u;
1063}
1065 _has_bits_[0] &= ~0x00000400u;
1066}
1072 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute)
1074}
1078 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_attribute)
1079}
1080
1081// optional bool can_set_own_voice_state = 33;
1083 return (_has_bits_[0] & 0x00000800u) != 0;
1084}
1086 _has_bits_[0] |= 0x00000800u;
1087}
1089 _has_bits_[0] &= ~0x00000800u;
1090}
1096 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state)
1098}
1102 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_voice_state)
1103}
1104
1105// optional bool can_set_own_presence_level = 34;
1107 return (_has_bits_[0] & 0x00001000u) != 0;
1108}
1110 _has_bits_[0] |= 0x00001000u;
1111}
1113 _has_bits_[0] &= ~0x00001000u;
1114}
1120 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level)
1122}
1126 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_presence_level)
1127}
1128
1129// optional bool can_set_own_whisper_level = 35;
1131 return (_has_bits_[0] & 0x00002000u) != 0;
1132}
1134 _has_bits_[0] |= 0x00002000u;
1135}
1137 _has_bits_[0] &= ~0x00002000u;
1138}
1144 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level)
1146}
1150 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_whisper_level)
1151}
1152
1153// optional bool can_set_own_member_note = 36;
1155 return (_has_bits_[0] & 0x00004000u) != 0;
1156}
1158 _has_bits_[0] |= 0x00004000u;
1159}
1161 _has_bits_[0] &= ~0x00004000u;
1162}
1168 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note)
1170}
1174 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_own_member_note)
1175}
1176
1177// optional bool can_set_other_member_note = 37;
1179 return (_has_bits_[0] & 0x00008000u) != 0;
1180}
1182 _has_bits_[0] |= 0x00008000u;
1183}
1185 _has_bits_[0] &= ~0x00008000u;
1186}
1192 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note)
1194}
1198 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_other_member_note)
1199}
1200
1201// optional bool can_use_voice = 50;
1203 return (_has_bits_[0] & 0x00010000u) != 0;
1204}
1206 _has_bits_[0] |= 0x00010000u;
1207}
1209 _has_bits_[0] &= ~0x00010000u;
1210}
1216 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice)
1217 return can_use_voice_;
1218}
1221 can_use_voice_ = value;
1222 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_use_voice)
1223}
1224
1225// optional bool can_voice_mute_member_for_all = 51;
1227 return (_has_bits_[0] & 0x00020000u) != 0;
1228}
1230 _has_bits_[0] |= 0x00020000u;
1231}
1233 _has_bits_[0] &= ~0x00020000u;
1234}
1240 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all)
1242}
1246 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_voice_mute_member_for_all)
1247}
1248
1249// optional bool can_get_invitation = 70;
1251 return (_has_bits_[0] & 0x00040000u) != 0;
1252}
1254 _has_bits_[0] |= 0x00040000u;
1255}
1257 _has_bits_[0] &= ~0x00040000u;
1258}
1264 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation)
1265 return can_get_invitation_;
1266}
1269 can_get_invitation_ = value;
1270 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_invitation)
1271}
1272
1273// optional bool can_send_invitation = 71;
1275 return (_has_bits_[0] & 0x00080000u) != 0;
1276}
1278 _has_bits_[0] |= 0x00080000u;
1279}
1281 _has_bits_[0] &= ~0x00080000u;
1282}
1288 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation)
1289 return can_send_invitation_;
1290}
1293 can_send_invitation_ = value;
1294 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_invitation)
1295}
1296
1297// optional bool can_send_guest_invitation = 72;
1299 return (_has_bits_[0] & 0x00100000u) != 0;
1300}
1302 _has_bits_[0] |= 0x00100000u;
1303}
1305 _has_bits_[0] &= ~0x00100000u;
1306}
1312 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation)
1314}
1318 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_send_guest_invitation)
1319}
1320
1321// optional bool can_revoke_own_invitation = 73;
1323 return (_has_bits_[0] & 0x00200000u) != 0;
1324}
1326 _has_bits_[0] |= 0x00200000u;
1327}
1329 _has_bits_[0] &= ~0x00200000u;
1330}
1336 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation)
1338}
1342 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_own_invitation)
1343}
1344
1345// optional bool can_revoke_other_invitation = 74;
1347 return (_has_bits_[0] & 0x00400000u) != 0;
1348}
1350 _has_bits_[0] |= 0x00400000u;
1351}
1353 _has_bits_[0] &= ~0x00400000u;
1354}
1360 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation)
1362}
1366 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_revoke_other_invitation)
1367}
1368
1369// optional bool can_get_suggestion = 90;
1371 return (_has_bits_[0] & 0x00800000u) != 0;
1372}
1374 _has_bits_[0] |= 0x00800000u;
1375}
1377 _has_bits_[0] &= ~0x00800000u;
1378}
1384 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion)
1385 return can_get_suggestion_;
1386}
1389 can_get_suggestion_ = value;
1390 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_suggestion)
1391}
1392
1393// optional bool can_suggest_member = 91;
1395 return (_has_bits_[0] & 0x01000000u) != 0;
1396}
1398 _has_bits_[0] |= 0x01000000u;
1399}
1401 _has_bits_[0] &= ~0x01000000u;
1402}
1408 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member)
1409 return can_suggest_member_;
1410}
1413 can_suggest_member_ = value;
1414 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_suggest_member)
1415}
1416
1417// optional bool can_approve_member = 92;
1419 return (_has_bits_[0] & 0x02000000u) != 0;
1420}
1422 _has_bits_[0] |= 0x02000000u;
1423}
1425 _has_bits_[0] &= ~0x02000000u;
1426}
1432 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member)
1433 return can_approve_member_;
1434}
1437 can_approve_member_ = value;
1438 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_approve_member)
1439}
1440
1441// optional bool can_get_ticket = 110;
1443 return (_has_bits_[0] & 0x04000000u) != 0;
1444}
1446 _has_bits_[0] |= 0x04000000u;
1447}
1449 _has_bits_[0] &= ~0x04000000u;
1450}
1456 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket)
1457 return can_get_ticket_;
1458}
1461 can_get_ticket_ = value;
1462 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ticket)
1463}
1464
1465// optional bool can_create_ticket = 111;
1467 return (_has_bits_[0] & 0x08000000u) != 0;
1468}
1470 _has_bits_[0] |= 0x08000000u;
1471}
1473 _has_bits_[0] &= ~0x08000000u;
1474}
1480 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket)
1481 return can_create_ticket_;
1482}
1485 can_create_ticket_ = value;
1486 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_ticket)
1487}
1488
1489// optional bool can_destroy_ticket = 112;
1491 return (_has_bits_[0] & 0x10000000u) != 0;
1492}
1494 _has_bits_[0] |= 0x10000000u;
1495}
1497 _has_bits_[0] &= ~0x10000000u;
1498}
1504 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket)
1505 return can_destroy_ticket_;
1506}
1509 can_destroy_ticket_ = value;
1510 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_ticket)
1511}
1512
1513// optional bool can_get_ban = 130;
1515 return (_has_bits_[0] & 0x20000000u) != 0;
1516}
1518 _has_bits_[0] |= 0x20000000u;
1519}
1521 _has_bits_[0] &= ~0x20000000u;
1522}
1528 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban)
1529 return can_get_ban_;
1530}
1531inline void ClubPrivilegeSet::set_can_get_ban(bool value) {
1533 can_get_ban_ = value;
1534 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_get_ban)
1535}
1536
1537// optional bool can_add_ban = 131;
1539 return (_has_bits_[0] & 0x40000000u) != 0;
1540}
1542 _has_bits_[0] |= 0x40000000u;
1543}
1545 _has_bits_[0] &= ~0x40000000u;
1546}
1552 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban)
1553 return can_add_ban_;
1554}
1555inline void ClubPrivilegeSet::set_can_add_ban(bool value) {
1557 can_add_ban_ = value;
1558 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_add_ban)
1559}
1560
1561// optional bool can_remove_ban = 132;
1563 return (_has_bits_[0] & 0x80000000u) != 0;
1564}
1566 _has_bits_[0] |= 0x80000000u;
1567}
1569 _has_bits_[0] &= ~0x80000000u;
1570}
1576 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban)
1577 return can_remove_ban_;
1578}
1581 can_remove_ban_ = value;
1582 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_remove_ban)
1583}
1584
1585// optional bool can_create_stream = 140;
1587 return (_has_bits_[1] & 0x00000001u) != 0;
1588}
1590 _has_bits_[1] |= 0x00000001u;
1591}
1593 _has_bits_[1] &= ~0x00000001u;
1594}
1600 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream)
1601 return can_create_stream_;
1602}
1605 can_create_stream_ = value;
1606 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_stream)
1607}
1608
1609// optional bool can_destroy_stream = 141;
1611 return (_has_bits_[1] & 0x00000002u) != 0;
1612}
1614 _has_bits_[1] |= 0x00000002u;
1615}
1617 _has_bits_[1] &= ~0x00000002u;
1618}
1624 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream)
1625 return can_destroy_stream_;
1626}
1629 can_destroy_stream_ = value;
1630 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_stream)
1631}
1632
1633// optional bool can_set_stream_position = 142;
1635 return (_has_bits_[1] & 0x00000004u) != 0;
1636}
1638 _has_bits_[1] |= 0x00000004u;
1639}
1641 _has_bits_[1] &= ~0x00000004u;
1642}
1648 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position)
1650}
1654 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_position)
1655}
1656
1657// optional bool can_set_stream_attribute = 143;
1659 return (_has_bits_[1] & 0x00000008u) != 0;
1660}
1662 _has_bits_[1] |= 0x00000008u;
1663}
1665 _has_bits_[1] &= ~0x00000008u;
1666}
1672 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute)
1674}
1678 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_attribute)
1679}
1680
1681// optional bool can_set_stream_name = 144;
1683 return (_has_bits_[1] & 0x00000010u) != 0;
1684}
1686 _has_bits_[1] |= 0x00000010u;
1687}
1689 _has_bits_[1] &= ~0x00000010u;
1690}
1696 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name)
1697 return can_set_stream_name_;
1698}
1701 can_set_stream_name_ = value;
1702 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_name)
1703}
1704
1705// optional bool can_set_stream_subject = 145;
1707 return (_has_bits_[1] & 0x00000020u) != 0;
1708}
1710 _has_bits_[1] |= 0x00000020u;
1711}
1713 _has_bits_[1] &= ~0x00000020u;
1714}
1720 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject)
1722}
1726 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_subject)
1727}
1728
1729// optional bool can_set_stream_access = 146;
1731 return (_has_bits_[1] & 0x00000040u) != 0;
1732}
1734 _has_bits_[1] |= 0x00000040u;
1735}
1737 _has_bits_[1] &= ~0x00000040u;
1738}
1744 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access)
1746}
1749 can_set_stream_access_ = value;
1750 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_access)
1751}
1752
1753// optional bool can_set_stream_voice_level = 147;
1755 return (_has_bits_[1] & 0x00000080u) != 0;
1756}
1758 _has_bits_[1] |= 0x00000080u;
1759}
1761 _has_bits_[1] &= ~0x00000080u;
1762}
1768 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level)
1770}
1774 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_set_stream_voice_level)
1775}
1776
1777// optional bool can_create_message = 180;
1779 return (_has_bits_[1] & 0x00000100u) != 0;
1780}
1782 _has_bits_[1] |= 0x00000100u;
1783}
1785 _has_bits_[1] &= ~0x00000100u;
1786}
1792 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message)
1793 return can_create_message_;
1794}
1797 can_create_message_ = value;
1798 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_create_message)
1799}
1800
1801// optional bool can_destroy_own_message = 181;
1803 return (_has_bits_[1] & 0x00000200u) != 0;
1804}
1806 _has_bits_[1] |= 0x00000200u;
1807}
1809 _has_bits_[1] &= ~0x00000200u;
1810}
1816 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message)
1818}
1822 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_own_message)
1823}
1824
1825// optional bool can_destroy_other_message = 182;
1827 return (_has_bits_[1] & 0x00000400u) != 0;
1828}
1830 _has_bits_[1] |= 0x00000400u;
1831}
1833 _has_bits_[1] &= ~0x00000400u;
1834}
1840 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message)
1842}
1846 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_destroy_other_message)
1847}
1848
1849// optional bool can_edit_own_message = 183;
1851 return (_has_bits_[1] & 0x00000800u) != 0;
1852}
1854 _has_bits_[1] |= 0x00000800u;
1855}
1857 _has_bits_[1] &= ~0x00000800u;
1858}
1864 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message)
1865 return can_edit_own_message_;
1866}
1869 can_edit_own_message_ = value;
1870 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_edit_own_message)
1871}
1872
1873// optional bool can_pin_message = 184;
1875 return (_has_bits_[1] & 0x00001000u) != 0;
1876}
1878 _has_bits_[1] |= 0x00001000u;
1879}
1881 _has_bits_[1] &= ~0x00001000u;
1882}
1888 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message)
1889 return can_pin_message_;
1890}
1893 can_pin_message_ = value;
1894 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_pin_message)
1895}
1896
1897// optional bool can_mention_all = 185;
1899 return (_has_bits_[1] & 0x00002000u) != 0;
1900}
1902 _has_bits_[1] |= 0x00002000u;
1903}
1905 _has_bits_[1] &= ~0x00002000u;
1906}
1912 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all)
1913 return can_mention_all_;
1914}
1917 can_mention_all_ = value;
1918 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_all)
1919}
1920
1921// optional bool can_mention_here = 186;
1923 return (_has_bits_[1] & 0x00004000u) != 0;
1924}
1926 _has_bits_[1] |= 0x00004000u;
1927}
1929 _has_bits_[1] &= ~0x00004000u;
1930}
1936 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here)
1937 return can_mention_here_;
1938}
1941 can_mention_here_ = value;
1942 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_here)
1943}
1944
1945// optional bool can_mention_member = 187;
1947 return (_has_bits_[1] & 0x00008000u) != 0;
1948}
1950 _has_bits_[1] |= 0x00008000u;
1951}
1953 _has_bits_[1] &= ~0x00008000u;
1954}
1960 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member)
1961 return can_mention_member_;
1962}
1965 can_mention_member_ = value;
1966 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_member)
1967}
1968
1969// optional bool can_mention_role = 188;
1971 return (_has_bits_[1] & 0x00010000u) != 0;
1972}
1974 _has_bits_[1] |= 0x00010000u;
1975}
1977 _has_bits_[1] &= ~0x00010000u;
1978}
1984 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role)
1985 return can_mention_role_;
1986}
1989 can_mention_role_ = value;
1990 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubPrivilegeSet.can_mention_role)
1991}
1992
1993// -------------------------------------------------------------------
1994
1995// ClubRole
1996
1997// optional uint32 id = 1;
1998inline bool ClubRole::has_id() const {
1999 return (_has_bits_[0] & 0x00000001u) != 0;
2000}
2002 _has_bits_[0] |= 0x00000001u;
2003}
2005 _has_bits_[0] &= ~0x00000001u;
2006}
2007inline void ClubRole::clear_id() {
2008 id_ = 0u;
2009 clear_has_id();
2010}
2011inline ::google::protobuf::uint32 ClubRole::id() const {
2012 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.id)
2013 return id_;
2014}
2015inline void ClubRole::set_id(::google::protobuf::uint32 value) {
2016 set_has_id();
2017 id_ = value;
2018 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.id)
2019}
2020
2021// optional .bgs.protocol.RoleState state = 2;
2022inline bool ClubRole::has_state() const {
2023 return (_has_bits_[0] & 0x00000002u) != 0;
2024}
2026 _has_bits_[0] |= 0x00000002u;
2027}
2029 _has_bits_[0] &= ~0x00000002u;
2030}
2032 if (state_ != NULL) state_->::bgs::protocol::RoleState::Clear();
2034}
2035inline const ::bgs::protocol::RoleState& ClubRole::state() const {
2036 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.state)
2037 return state_ != NULL ? *state_ : *default_instance_->state_;
2038}
2039inline ::bgs::protocol::RoleState* ClubRole::mutable_state() {
2040 set_has_state();
2041 if (state_ == NULL) state_ = new ::bgs::protocol::RoleState;
2042 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.state)
2043 return state_;
2044}
2045inline ::bgs::protocol::RoleState* ClubRole::release_state() {
2048 state_ = NULL;
2049 return temp;
2050}
2052 delete state_;
2053 state_ = state;
2054 if (state) {
2055 set_has_state();
2056 } else {
2058 }
2059 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.state)
2060}
2061
2062// optional .bgs.protocol.club.v1.client.ClubPrivilegeSet privilege = 3;
2063inline bool ClubRole::has_privilege() const {
2064 return (_has_bits_[0] & 0x00000004u) != 0;
2065}
2067 _has_bits_[0] |= 0x00000004u;
2068}
2070 _has_bits_[0] &= ~0x00000004u;
2071}
2073 if (privilege_ != NULL) privilege_->::bgs::protocol::club::v1::client::ClubPrivilegeSet::Clear();
2075}
2076inline const ::bgs::protocol::club::v1::client::ClubPrivilegeSet& ClubRole::privilege() const {
2077 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.privilege)
2078 return privilege_ != NULL ? *privilege_ : *default_instance_->privilege_;
2079}
2080inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::mutable_privilege() {
2082 if (privilege_ == NULL) privilege_ = new ::bgs::protocol::club::v1::client::ClubPrivilegeSet;
2083 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRole.privilege)
2084 return privilege_;
2085}
2086inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet* ClubRole::release_privilege() {
2089 privilege_ = NULL;
2090 return temp;
2091}
2093 delete privilege_;
2095 if (privilege) {
2097 } else {
2099 }
2100 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRole.privilege)
2101}
2102
2103// optional bool always_grant_stream_access = 4;
2105 return (_has_bits_[0] & 0x00000008u) != 0;
2106}
2108 _has_bits_[0] |= 0x00000008u;
2109}
2111 _has_bits_[0] &= ~0x00000008u;
2112}
2118 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access)
2120}
2124 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.always_grant_stream_access)
2125}
2126
2127// optional bool allow_in_club_slot = 5;
2129 return (_has_bits_[0] & 0x00000010u) != 0;
2130}
2132 _has_bits_[0] |= 0x00000010u;
2133}
2135 _has_bits_[0] &= ~0x00000010u;
2136}
2141inline bool ClubRole::allow_in_club_slot() const {
2142 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot)
2143 return allow_in_club_slot_;
2144}
2145inline void ClubRole::set_allow_in_club_slot(bool value) {
2147 allow_in_club_slot_ = value;
2148 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRole.allow_in_club_slot)
2149}
2150
2151// -------------------------------------------------------------------
2152
2153// ClubRoleSet
2154
2155// repeated .bgs.protocol.club.v1.client.ClubRole role = 1;
2156inline int ClubRoleSet::role_size() const {
2157 return role_.size();
2158}
2160 role_.Clear();
2161}
2162inline const ::bgs::protocol::club::v1::client::ClubRole& ClubRoleSet::role(int index) const {
2163 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.role)
2164 return role_.Get(index);
2165}
2166inline ::bgs::protocol::club::v1::client::ClubRole* ClubRoleSet::mutable_role(int index) {
2167 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.role)
2168 return role_.Mutable(index);
2169}
2170inline ::bgs::protocol::club::v1::client::ClubRole* ClubRoleSet::add_role() {
2171 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubRoleSet.role)
2172 return role_.Add();
2173}
2174inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >&
2176 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.role)
2177 return role_;
2178}
2179inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole >*
2181 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.role)
2182 return &role_;
2183}
2184
2185// repeated uint32 default_role = 5 [packed = true];
2187 return default_role_.size();
2188}
2190 default_role_.Clear();
2191}
2192inline ::google::protobuf::uint32 ClubRoleSet::default_role(int index) const {
2193 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.default_role)
2194 return default_role_.Get(index);
2195}
2196inline void ClubRoleSet::set_default_role(int index, ::google::protobuf::uint32 value) {
2197 default_role_.Set(index, value);
2198 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.default_role)
2199}
2200inline void ClubRoleSet::add_default_role(::google::protobuf::uint32 value) {
2201 default_role_.Add(value);
2202 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubRoleSet.default_role)
2203}
2204inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2206 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role)
2207 return default_role_;
2208}
2209inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2211 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubRoleSet.default_role)
2212 return &default_role_;
2213}
2214
2215// optional bool assignment_respects_relegation_chain = 6;
2217 return (_has_bits_[0] & 0x00000004u) != 0;
2218}
2220 _has_bits_[0] |= 0x00000004u;
2221}
2230 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain)
2232}
2236 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.assignment_respects_relegation_chain)
2237}
2238
2239// optional string subtype = 7;
2240inline bool ClubRoleSet::has_subtype() const {
2241 return (_has_bits_[0] & 0x00000008u) != 0;
2242}
2244 _has_bits_[0] |= 0x00000008u;
2245}
2247 _has_bits_[0] &= ~0x00000008u;
2248}
2250 if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2251 subtype_->clear();
2252 }
2254}
2255inline const ::std::string& ClubRoleSet::subtype() const {
2256 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubRoleSet.subtype)
2257 return *subtype_;
2258}
2259inline void ClubRoleSet::set_subtype(const ::std::string& value) {
2261 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2262 subtype_ = new ::std::string;
2263 }
2264 subtype_->assign(value);
2265 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubRoleSet.subtype)
2266}
2267inline void ClubRoleSet::set_subtype(const char* value) {
2269 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2270 subtype_ = new ::std::string;
2271 }
2272 subtype_->assign(value);
2273 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubRoleSet.subtype)
2274}
2275inline void ClubRoleSet::set_subtype(const char* value, size_t size) {
2277 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2278 subtype_ = new ::std::string;
2279 }
2280 subtype_->assign(reinterpret_cast<const char*>(value), size);
2281 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubRoleSet.subtype)
2282}
2283inline ::std::string* ClubRoleSet::mutable_subtype() {
2285 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2286 subtype_ = new ::std::string;
2287 }
2288 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubRoleSet.subtype)
2289 return subtype_;
2290}
2291inline ::std::string* ClubRoleSet::release_subtype() {
2293 if (subtype_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2294 return NULL;
2295 } else {
2296 ::std::string* temp = subtype_;
2297 subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2298 return temp;
2299 }
2300}
2301inline void ClubRoleSet::set_allocated_subtype(::std::string* subtype) {
2302 if (subtype_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2303 delete subtype_;
2304 }
2305 if (subtype) {
2307 subtype_ = subtype;
2308 } else {
2310 subtype_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2311 }
2312 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubRoleSet.subtype)
2313}
2314
2315// @@protoc_insertion_point(namespace_scope)
2316
2317} // namespace client
2318} // namespace v1
2319} // namespace club
2320} // namespace protocol
2321} // namespace bgs
2322
2323#ifndef SWIG
2324namespace google {
2325namespace protobuf {
2326} // namespace google
2327} // namespace protobuf
2328#endif // SWIG
2329
2330// @@protoc_insertion_point(global_scope)
2331
2332#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5frole_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto()
ClubPrivilegeSet(const ClubPrivilegeSet &from)
ClubPrivilegeSet & operator=(const ClubPrivilegeSet &from)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ClubPrivilegeSet & default_instance()
void set_default_role(int index, ::google::protobuf::uint32 value)
inline ::bgs::protocol::club::v1::client::ClubRole * add_role()
ClubRoleSet & operator=(const ClubRoleSet &from)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & default_role() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
void set_allocated_subtype(::std::string *subtype)
const ::std::string & subtype() const
void add_default_role(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint32 _has_bits_[1]
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > default_role_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole > & role() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole > role_
static const ClubRoleSet & default_instance()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_default_role()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ClubRole > * mutable_role()
void set_subtype(const ::std::string &value)
inline ::bgs::protocol::RoleState * release_state()
inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet * release_privilege()
inline ::bgs::protocol::club::v1::client::ClubPrivilegeSet * mutable_privilege()
const ::bgs::protocol::club::v1::client::ClubPrivilegeSet & privilege() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
void set_allocated_privilege(::bgs::protocol::club::v1::client::ClubPrivilegeSet *privilege)
void set_id(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_state(::bgs::protocol::RoleState *state)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint32 _has_bits_[1]
::bgs::protocol::club::v1::client::ClubPrivilegeSet * privilege_
inline ::bgs::protocol::RoleState * mutable_state()
const ::bgs::protocol::RoleState & state() const
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto()
::google::protobuf::Metadata GetMetadata() const
ClubRole & operator=(const ClubRole &from)
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::RoleState * state_
inline ::google::protobuf::uint32 id() const
static const ClubRole & default_instance()
void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5frole_2eproto()
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5frole_2eproto()
Definition Session.h:37