TrinityCore
club_core.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_core.proto
3
4#ifndef PROTOBUF_club_5fcore_2eproto__INCLUDED
5#define PROTOBUF_club_5fcore_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 "club_type.pb.h"
28#include "club_enum.pb.h"
29#include "club_role.pb.h"
30#include "club_member.pb.h"
31#include "club_stream.pb.h"
32#include "club_tag.pb.h"
34#include "event_view_types.pb.h"
35#include "Define.h" // for TC_PROTO_API
36// @@protoc_insertion_point(includes)
37
38namespace bgs {
39namespace protocol {
40namespace club {
41namespace v1 {
42
43// Internal implementation detail -- do not call these.
47
48class AvatarId;
50class Broadcast;
52class Club;
53class ClubDescription;
54class ClubView;
57class StreamSettings;
58class ClubSettings;
61
62// ===================================================================
63
64class TC_PROTO_API AvatarId : public ::google::protobuf::Message {
65 public:
67 virtual ~AvatarId();
68
69 AvatarId(const AvatarId& from);
70
71 inline AvatarId& operator=(const AvatarId& from) {
72 CopyFrom(from);
73 return *this;
74 }
75
76 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
77 return _unknown_fields_;
78 }
79
80 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
81 return &_unknown_fields_;
82 }
83
84 static const ::google::protobuf::Descriptor* descriptor();
85 static const AvatarId& default_instance();
86
87 void Swap(AvatarId* other);
88
89 // implements Message ----------------------------------------------
90
91 AvatarId* New() const;
92 int GetCachedSize() const { return _cached_size_; }
93 private:
94 void SharedCtor();
95 void SharedDtor();
96 void SetCachedSize(int size) const;
97 public:
98 ::google::protobuf::Metadata GetMetadata() const;
99
100 // nested types ----------------------------------------------------
101
102 // accessors -------------------------------------------------------
103
104 // optional uint32 id = 1;
105 inline bool has_id() const;
106 inline void clear_id();
107 static const int kIdFieldNumber = 1;
109 inline void set_id(::google::protobuf::uint32 value);
110
111 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.AvatarId)
112 private:
113 inline void set_has_id();
114 inline void clear_has_id();
115
116 ::google::protobuf::UnknownFieldSet _unknown_fields_;
117
119 mutable int _cached_size_;
124
127};
128// -------------------------------------------------------------------
129
130class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message {
131 public:
134
136
138 CopyFrom(from);
139 return *this;
140 }
141
142 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
143 return _unknown_fields_;
144 }
145
146 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
147 return &_unknown_fields_;
148 }
149
150 static const ::google::protobuf::Descriptor* descriptor();
152
154
155 // implements Message ----------------------------------------------
156
158 int GetCachedSize() const { return _cached_size_; }
159 private:
162 void SetCachedSize(int size) const;
163 public:
164 ::google::protobuf::Metadata GetMetadata() const;
165
166 // nested types ----------------------------------------------------
167
168 // accessors -------------------------------------------------------
169
170 // optional string content = 1;
171 inline bool has_content() const;
172 inline void clear_content();
173 static const int kContentFieldNumber = 1;
174 inline const ::std::string& content() const;
175 inline void set_content(const ::std::string& value);
176 inline void set_content(const char* value);
177 inline void set_content(const char* value, size_t size);
178 inline ::std::string* mutable_content();
179 inline ::std::string* release_content();
180 inline void set_allocated_content(::std::string* content);
181
182 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.SetBroadcastOptions)
183 private:
184 inline void set_has_content();
185 inline void clear_has_content();
186
187 ::google::protobuf::UnknownFieldSet _unknown_fields_;
188
190 mutable int _cached_size_;
191 ::std::string* content_;
195
198};
199// -------------------------------------------------------------------
200
201class TC_PROTO_API Broadcast : public ::google::protobuf::Message {
202 public:
204 virtual ~Broadcast();
205
206 Broadcast(const Broadcast& from);
207
208 inline Broadcast& operator=(const Broadcast& from) {
209 CopyFrom(from);
210 return *this;
211 }
212
213 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
214 return _unknown_fields_;
215 }
216
217 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
218 return &_unknown_fields_;
219 }
220
221 static const ::google::protobuf::Descriptor* descriptor();
223
224 void Swap(Broadcast* other);
225
226 // implements Message ----------------------------------------------
227
228 Broadcast* New() const;
229 int GetCachedSize() const { return _cached_size_; }
230 private:
233 void SetCachedSize(int size) const;
234 public:
235 ::google::protobuf::Metadata GetMetadata() const;
236
237 // nested types ----------------------------------------------------
238
239 // accessors -------------------------------------------------------
240
241 // optional string content = 1;
242 inline bool has_content() const;
243 inline void clear_content();
244 static const int kContentFieldNumber = 1;
245 inline const ::std::string& content() const;
246 inline void set_content(const ::std::string& value);
247 inline void set_content(const char* value);
248 inline void set_content(const char* value, size_t size);
249 inline ::std::string* mutable_content();
250 inline ::std::string* release_content();
251 inline void set_allocated_content(::std::string* content);
252
253 // optional .bgs.protocol.club.v1.MemberDescription creator = 2;
254 inline bool has_creator() const;
255 inline void clear_creator();
256 static const int kCreatorFieldNumber = 2;
257 inline const ::bgs::protocol::club::v1::MemberDescription& creator() const;
258 inline ::bgs::protocol::club::v1::MemberDescription* mutable_creator();
259 inline ::bgs::protocol::club::v1::MemberDescription* release_creator();
260 inline void set_allocated_creator(::bgs::protocol::club::v1::MemberDescription* creator);
261
262 // optional uint64 creation_time = 3;
263 inline bool has_creation_time() const;
264 inline void clear_creation_time();
265 static const int kCreationTimeFieldNumber = 3;
266 inline ::google::protobuf::uint64 creation_time() const;
267 inline void set_creation_time(::google::protobuf::uint64 value);
268
269 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Broadcast)
270 private:
271 inline void set_has_content();
272 inline void clear_has_content();
273 inline void set_has_creator();
274 inline void clear_has_creator();
275 inline void set_has_creation_time();
276 inline void clear_has_creation_time();
277
278 ::google::protobuf::UnknownFieldSet _unknown_fields_;
279
281 mutable int _cached_size_;
282 ::std::string* content_;
288
291};
292// -------------------------------------------------------------------
293
294class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
295 public:
298
300
302 CopyFrom(from);
303 return *this;
304 }
305
306 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
307 return _unknown_fields_;
308 }
309
310 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
311 return &_unknown_fields_;
312 }
313
314 static const ::google::protobuf::Descriptor* descriptor();
316
318
319 // implements Message ----------------------------------------------
320
322 int GetCachedSize() const { return _cached_size_; }
323 private:
326 void SetCachedSize(int size) const;
327 public:
328 ::google::protobuf::Metadata GetMetadata() const;
329
330 // nested types ----------------------------------------------------
331
332 // accessors -------------------------------------------------------
333
334 // optional .bgs.protocol.club.v1.UniqueClubType type = 1;
335 inline bool has_type() const;
336 inline void clear_type();
337 static const int kTypeFieldNumber = 1;
338 inline const ::bgs::protocol::club::v1::UniqueClubType& type() const;
339 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type();
340 inline ::bgs::protocol::club::v1::UniqueClubType* release_type();
341 inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type);
342
343 // repeated .bgs.protocol.v2.Attribute attribute = 2;
344 inline int attribute_size() const;
345 inline void clear_attribute();
346 static const int kAttributeFieldNumber = 2;
347 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
348 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
349 inline ::bgs::protocol::v2::Attribute* add_attribute();
350 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
351 attribute() const;
352 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
353 mutable_attribute();
354
355 // optional string name = 3;
356 inline bool has_name() const;
357 inline void clear_name();
358 static const int kNameFieldNumber = 3;
359 inline const ::std::string& name() const;
360 inline void set_name(const ::std::string& value);
361 inline void set_name(const char* value);
362 inline void set_name(const char* value, size_t size);
363 inline ::std::string* mutable_name();
364 inline ::std::string* release_name();
365 inline void set_allocated_name(::std::string* name);
366
367 // optional string description = 4;
368 inline bool has_description() const;
369 inline void clear_description();
370 static const int kDescriptionFieldNumber = 4;
371 inline const ::std::string& description() const;
372 inline void set_description(const ::std::string& value);
373 inline void set_description(const char* value);
374 inline void set_description(const char* value, size_t size);
375 inline ::std::string* mutable_description();
376 inline ::std::string* release_description();
377 inline void set_allocated_description(::std::string* description);
378
379 // optional .bgs.protocol.club.v1.AvatarId avatar = 5;
380 inline bool has_avatar() const;
381 inline void clear_avatar();
382 static const int kAvatarFieldNumber = 5;
383 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
384 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
385 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
386 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
387
388 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
389 inline bool has_privacy_level() const;
390 inline void clear_privacy_level();
391 static const int kPrivacyLevelFieldNumber = 6;
393 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
394
395 // optional string short_name = 7;
396 inline bool has_short_name() const;
397 inline void clear_short_name();
398 static const int kShortNameFieldNumber = 7;
399 inline const ::std::string& short_name() const;
400 inline void set_short_name(const ::std::string& value);
401 inline void set_short_name(const char* value);
402 inline void set_short_name(const char* value, size_t size);
403 inline ::std::string* mutable_short_name();
404 inline ::std::string* release_short_name();
405 inline void set_allocated_short_name(::std::string* short_name);
406
407 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8;
408 inline bool has_visibility_level() const;
409 inline void clear_visibility_level();
410 static const int kVisibilityLevelFieldNumber = 8;
412 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
413
414 // optional .bgs.protocol.club.v1.CreateMemberOptions member = 10;
415 inline bool has_member() const;
416 inline void clear_member();
417 static const int kMemberFieldNumber = 10;
418 inline const ::bgs::protocol::club::v1::CreateMemberOptions& member() const;
419 inline ::bgs::protocol::club::v1::CreateMemberOptions* mutable_member();
420 inline ::bgs::protocol::club::v1::CreateMemberOptions* release_member();
421 inline void set_allocated_member(::bgs::protocol::club::v1::CreateMemberOptions* member);
422
423 // optional .bgs.protocol.club.v1.CreateStreamOptions stream = 11;
424 inline bool has_stream() const;
425 inline void clear_stream();
426 static const int kStreamFieldNumber = 11;
427 inline const ::bgs::protocol::club::v1::CreateStreamOptions& stream() const;
428 inline ::bgs::protocol::club::v1::CreateStreamOptions* mutable_stream();
429 inline ::bgs::protocol::club::v1::CreateStreamOptions* release_stream();
430 inline void set_allocated_stream(::bgs::protocol::club::v1::CreateStreamOptions* stream);
431
432 // optional .bgs.protocol.club.v1.TagOptions tag = 12;
433 inline bool has_tag() const;
434 inline void clear_tag();
435 static const int kTagFieldNumber = 12;
436 inline const ::bgs::protocol::club::v1::TagOptions& tag() const;
437 inline ::bgs::protocol::club::v1::TagOptions* mutable_tag();
438 inline ::bgs::protocol::club::v1::TagOptions* release_tag();
439 inline void set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag);
440
441 // repeated .bgs.protocol.v2.Attribute search_attribute = 13;
442 inline int search_attribute_size() const;
443 inline void clear_search_attribute();
444 static const int kSearchAttributeFieldNumber = 13;
445 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
446 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
447 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
448 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
449 search_attribute() const;
450 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
451 mutable_search_attribute();
452
453 // optional string locale = 14;
454 inline bool has_locale() const;
455 inline void clear_locale();
456 static const int kLocaleFieldNumber = 14;
457 inline const ::std::string& locale() const;
458 inline void set_locale(const ::std::string& value);
459 inline void set_locale(const char* value);
460 inline void set_locale(const char* value, size_t size);
461 inline ::std::string* mutable_locale();
462 inline ::std::string* release_locale();
463 inline void set_allocated_locale(::std::string* locale);
464
465 // optional string timezone = 15;
466 inline bool has_timezone() const;
467 inline void clear_timezone();
468 static const int kTimezoneFieldNumber = 15;
469 inline const ::std::string& timezone() const;
470 inline void set_timezone(const ::std::string& value);
471 inline void set_timezone(const char* value);
472 inline void set_timezone(const char* value, size_t size);
473 inline ::std::string* mutable_timezone();
474 inline ::std::string* release_timezone();
475 inline void set_allocated_timezone(::std::string* timezone);
476
477 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubCreateOptions)
478 private:
479 inline void set_has_type();
480 inline void clear_has_type();
481 inline void set_has_name();
482 inline void clear_has_name();
483 inline void set_has_description();
484 inline void clear_has_description();
485 inline void set_has_avatar();
486 inline void clear_has_avatar();
487 inline void set_has_privacy_level();
488 inline void clear_has_privacy_level();
489 inline void set_has_short_name();
490 inline void clear_has_short_name();
491 inline void set_has_visibility_level();
492 inline void clear_has_visibility_level();
493 inline void set_has_member();
494 inline void clear_has_member();
495 inline void set_has_stream();
496 inline void clear_has_stream();
497 inline void set_has_tag();
498 inline void clear_has_tag();
499 inline void set_has_locale();
500 inline void clear_has_locale();
501 inline void set_has_timezone();
502 inline void clear_has_timezone();
503
504 ::google::protobuf::UnknownFieldSet _unknown_fields_;
505
507 mutable int _cached_size_;
509 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
510 ::std::string* name_;
511 ::std::string* description_;
513 ::std::string* short_name_;
519 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
520 ::std::string* locale_;
521 ::std::string* timezone_;
525
528};
529// -------------------------------------------------------------------
530
531class TC_PROTO_API Club : public ::google::protobuf::Message {
532 public:
534 virtual ~Club();
535
536 Club(const Club& from);
537
538 inline Club& operator=(const Club& from) {
539 CopyFrom(from);
540 return *this;
541 }
542
543 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
544 return _unknown_fields_;
545 }
546
547 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
548 return &_unknown_fields_;
549 }
550
551 static const ::google::protobuf::Descriptor* descriptor();
552 static const Club& default_instance();
553
554 void Swap(Club* other);
555
556 // implements Message ----------------------------------------------
557
558 Club* New() const;
559 int GetCachedSize() const { return _cached_size_; }
560 private:
563 void SetCachedSize(int size) const;
564 public:
565 ::google::protobuf::Metadata GetMetadata() const;
566
567 // nested types ----------------------------------------------------
568
569 // accessors -------------------------------------------------------
570
571 // optional uint64 id = 1;
572 inline bool has_id() const;
573 inline void clear_id();
574 static const int kIdFieldNumber = 1;
576 inline void set_id(::google::protobuf::uint64 value);
577
578 // optional .bgs.protocol.club.v1.UniqueClubType type = 2;
579 inline bool has_type() const;
580 inline void clear_type();
581 static const int kTypeFieldNumber = 2;
582 inline const ::bgs::protocol::club::v1::UniqueClubType& type() const;
583 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type();
584 inline ::bgs::protocol::club::v1::UniqueClubType* release_type();
585 inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type);
586
587 // repeated .bgs.protocol.v2.Attribute attribute = 3;
588 inline int attribute_size() const;
589 inline void clear_attribute();
590 static const int kAttributeFieldNumber = 3;
591 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
592 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
593 inline ::bgs::protocol::v2::Attribute* add_attribute();
594 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
595 attribute() const;
596 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
597 mutable_attribute();
598
599 // optional string name = 4;
600 inline bool has_name() const;
601 inline void clear_name();
602 static const int kNameFieldNumber = 4;
603 inline const ::std::string& name() const;
604 inline void set_name(const ::std::string& value);
605 inline void set_name(const char* value);
606 inline void set_name(const char* value, size_t size);
607 inline ::std::string* mutable_name();
608 inline ::std::string* release_name();
609 inline void set_allocated_name(::std::string* name);
610
611 // optional string description = 5;
612 inline bool has_description() const;
613 inline void clear_description();
614 static const int kDescriptionFieldNumber = 5;
615 inline const ::std::string& description() const;
616 inline void set_description(const ::std::string& value);
617 inline void set_description(const char* value);
618 inline void set_description(const char* value, size_t size);
619 inline ::std::string* mutable_description();
620 inline ::std::string* release_description();
621 inline void set_allocated_description(::std::string* description);
622
623 // optional .bgs.protocol.club.v1.Broadcast broadcast = 6;
624 inline bool has_broadcast() const;
625 inline void clear_broadcast();
626 static const int kBroadcastFieldNumber = 6;
627 inline const ::bgs::protocol::club::v1::Broadcast& broadcast() const;
628 inline ::bgs::protocol::club::v1::Broadcast* mutable_broadcast();
629 inline ::bgs::protocol::club::v1::Broadcast* release_broadcast();
630 inline void set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast);
631
632 // optional .bgs.protocol.club.v1.AvatarId avatar = 7;
633 inline bool has_avatar() const;
634 inline void clear_avatar();
635 static const int kAvatarFieldNumber = 7;
636 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
637 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
638 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
639 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
640
641 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8;
642 inline bool has_privacy_level() const;
643 inline void clear_privacy_level();
644 static const int kPrivacyLevelFieldNumber = 8;
646 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
647
648 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
649 inline bool has_visibility_level() const;
650 inline void clear_visibility_level();
651 static const int kVisibilityLevelFieldNumber = 9;
653 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
654
655 // optional uint32 member_count = 10;
656 inline bool has_member_count() const;
657 inline void clear_member_count();
658 static const int kMemberCountFieldNumber = 10;
659 inline ::google::protobuf::uint32 member_count() const;
660 inline void set_member_count(::google::protobuf::uint32 value);
661
662 // optional uint64 creation_time = 11;
663 inline bool has_creation_time() const;
664 inline void clear_creation_time();
665 static const int kCreationTimeFieldNumber = 11;
666 inline ::google::protobuf::uint64 creation_time() const;
667 inline void set_creation_time(::google::protobuf::uint64 value);
668
669 // optional .bgs.protocol.club.v1.StreamPosition stream_position = 12;
670 inline bool has_stream_position() const;
671 inline void clear_stream_position();
672 static const int kStreamPositionFieldNumber = 12;
673 inline const ::bgs::protocol::club::v1::StreamPosition& stream_position() const;
674 inline ::bgs::protocol::club::v1::StreamPosition* mutable_stream_position();
675 inline ::bgs::protocol::club::v1::StreamPosition* release_stream_position();
676 inline void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position);
677
678 // optional .bgs.protocol.club.v1.ClubRoleSet role_set = 13;
679 inline bool has_role_set() const;
680 inline void clear_role_set();
681 static const int kRoleSetFieldNumber = 13;
682 inline const ::bgs::protocol::club::v1::ClubRoleSet& role_set() const;
683 inline ::bgs::protocol::club::v1::ClubRoleSet* mutable_role_set();
684 inline ::bgs::protocol::club::v1::ClubRoleSet* release_role_set();
685 inline void set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet* role_set);
686
687 // repeated .bgs.protocol.club.v1.MemberDescription leader = 14;
688 inline int leader_size() const;
689 inline void clear_leader();
690 static const int kLeaderFieldNumber = 14;
691 inline const ::bgs::protocol::club::v1::MemberDescription& leader(int index) const;
692 inline ::bgs::protocol::club::v1::MemberDescription* mutable_leader(int index);
693 inline ::bgs::protocol::club::v1::MemberDescription* add_leader();
694 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >&
695 leader() const;
696 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >*
697 mutable_leader();
698
699 // optional string short_name = 15;
700 inline bool has_short_name() const;
701 inline void clear_short_name();
702 static const int kShortNameFieldNumber = 15;
703 inline const ::std::string& short_name() const;
704 inline void set_short_name(const ::std::string& value);
705 inline void set_short_name(const char* value);
706 inline void set_short_name(const char* value, size_t size);
707 inline ::std::string* mutable_short_name();
708 inline ::std::string* release_short_name();
709 inline void set_allocated_short_name(::std::string* short_name);
710
711 // repeated .bgs.protocol.v2.Attribute search_attribute = 16;
712 inline int search_attribute_size() const;
713 inline void clear_search_attribute();
714 static const int kSearchAttributeFieldNumber = 16;
715 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
716 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
717 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
718 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
719 search_attribute() const;
720 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
721 mutable_search_attribute();
722
723 // repeated .bgs.protocol.club.v1.TagIdentifier tag = 17;
724 inline int tag_size() const;
725 inline void clear_tag();
726 static const int kTagFieldNumber = 17;
727 inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
728 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
729 inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
730 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
731 tag() const;
732 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
733 mutable_tag();
734
735 // optional string locale = 18;
736 inline bool has_locale() const;
737 inline void clear_locale();
738 static const int kLocaleFieldNumber = 18;
739 inline const ::std::string& locale() const;
740 inline void set_locale(const ::std::string& value);
741 inline void set_locale(const char* value);
742 inline void set_locale(const char* value, size_t size);
743 inline ::std::string* mutable_locale();
744 inline ::std::string* release_locale();
745 inline void set_allocated_locale(::std::string* locale);
746
747 // optional string timezone = 19;
748 inline bool has_timezone() const;
749 inline void clear_timezone();
750 static const int kTimezoneFieldNumber = 19;
751 inline const ::std::string& timezone() const;
752 inline void set_timezone(const ::std::string& value);
753 inline void set_timezone(const char* value);
754 inline void set_timezone(const char* value, size_t size);
755 inline ::std::string* mutable_timezone();
756 inline ::std::string* release_timezone();
757 inline void set_allocated_timezone(::std::string* timezone);
758
759 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Club)
760 private:
761 inline void set_has_id();
762 inline void clear_has_id();
763 inline void set_has_type();
764 inline void clear_has_type();
765 inline void set_has_name();
766 inline void clear_has_name();
767 inline void set_has_description();
768 inline void clear_has_description();
769 inline void set_has_broadcast();
770 inline void clear_has_broadcast();
771 inline void set_has_avatar();
772 inline void clear_has_avatar();
773 inline void set_has_privacy_level();
774 inline void clear_has_privacy_level();
775 inline void set_has_visibility_level();
776 inline void clear_has_visibility_level();
777 inline void set_has_member_count();
778 inline void clear_has_member_count();
779 inline void set_has_creation_time();
780 inline void clear_has_creation_time();
781 inline void set_has_stream_position();
782 inline void clear_has_stream_position();
783 inline void set_has_role_set();
784 inline void clear_has_role_set();
785 inline void set_has_short_name();
786 inline void clear_has_short_name();
787 inline void set_has_locale();
788 inline void clear_has_locale();
789 inline void set_has_timezone();
790 inline void clear_has_timezone();
791
792 ::google::protobuf::UnknownFieldSet _unknown_fields_;
793
795 mutable int _cached_size_;
798 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
799 ::std::string* name_;
800 ::std::string* description_;
808 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_;
809 ::std::string* short_name_;
810 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
811 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
812 ::std::string* locale_;
813 ::std::string* timezone_;
818
821};
822// -------------------------------------------------------------------
823
824class TC_PROTO_API ClubDescription : public ::google::protobuf::Message {
825 public:
828
830
832 CopyFrom(from);
833 return *this;
834 }
835
836 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
837 return _unknown_fields_;
838 }
839
840 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
841 return &_unknown_fields_;
842 }
843
844 static const ::google::protobuf::Descriptor* descriptor();
846
847 void Swap(ClubDescription* other);
848
849 // implements Message ----------------------------------------------
850
852 int GetCachedSize() const { return _cached_size_; }
853 private:
856 void SetCachedSize(int size) const;
857 public:
858 ::google::protobuf::Metadata GetMetadata() const;
859
860 // nested types ----------------------------------------------------
861
862 // accessors -------------------------------------------------------
863
864 // optional uint64 id = 1;
865 inline bool has_id() const;
866 inline void clear_id();
867 static const int kIdFieldNumber = 1;
869 inline void set_id(::google::protobuf::uint64 value);
870
871 // optional .bgs.protocol.club.v1.UniqueClubType type = 2;
872 inline bool has_type() const;
873 inline void clear_type();
874 static const int kTypeFieldNumber = 2;
875 inline const ::bgs::protocol::club::v1::UniqueClubType& type() const;
876 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type();
877 inline ::bgs::protocol::club::v1::UniqueClubType* release_type();
878 inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type);
879
880 // optional string name = 3;
881 inline bool has_name() const;
882 inline void clear_name();
883 static const int kNameFieldNumber = 3;
884 inline const ::std::string& name() const;
885 inline void set_name(const ::std::string& value);
886 inline void set_name(const char* value);
887 inline void set_name(const char* value, size_t size);
888 inline ::std::string* mutable_name();
889 inline ::std::string* release_name();
890 inline void set_allocated_name(::std::string* name);
891
892 // optional string description = 4;
893 inline bool has_description() const;
894 inline void clear_description();
895 static const int kDescriptionFieldNumber = 4;
896 inline const ::std::string& description() const;
897 inline void set_description(const ::std::string& value);
898 inline void set_description(const char* value);
899 inline void set_description(const char* value, size_t size);
900 inline ::std::string* mutable_description();
901 inline ::std::string* release_description();
902 inline void set_allocated_description(::std::string* description);
903
904 // optional .bgs.protocol.club.v1.AvatarId avatar = 5;
905 inline bool has_avatar() const;
906 inline void clear_avatar();
907 static const int kAvatarFieldNumber = 5;
908 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
909 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
910 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
911 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
912
913 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
914 inline bool has_privacy_level() const;
915 inline void clear_privacy_level();
916 static const int kPrivacyLevelFieldNumber = 6;
918 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
919
920 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7;
921 inline bool has_visibility_level() const;
922 inline void clear_visibility_level();
923 static const int kVisibilityLevelFieldNumber = 7;
925 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
926
927 // optional uint32 member_count = 8;
928 inline bool has_member_count() const;
929 inline void clear_member_count();
930 static const int kMemberCountFieldNumber = 8;
931 inline ::google::protobuf::uint32 member_count() const;
932 inline void set_member_count(::google::protobuf::uint32 value);
933
934 // repeated .bgs.protocol.club.v1.MemberDescription leader = 9;
935 inline int leader_size() const;
936 inline void clear_leader();
937 static const int kLeaderFieldNumber = 9;
938 inline const ::bgs::protocol::club::v1::MemberDescription& leader(int index) const;
939 inline ::bgs::protocol::club::v1::MemberDescription* mutable_leader(int index);
940 inline ::bgs::protocol::club::v1::MemberDescription* add_leader();
941 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >&
942 leader() const;
943 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >*
944 mutable_leader();
945
946 // optional uint64 creation_time = 10;
947 inline bool has_creation_time() const;
948 inline void clear_creation_time();
949 static const int kCreationTimeFieldNumber = 10;
950 inline ::google::protobuf::uint64 creation_time() const;
951 inline void set_creation_time(::google::protobuf::uint64 value);
952
953 // optional string timezone = 11;
954 inline bool has_timezone() const;
955 inline void clear_timezone();
956 static const int kTimezoneFieldNumber = 11;
957 inline const ::std::string& timezone() const;
958 inline void set_timezone(const ::std::string& value);
959 inline void set_timezone(const char* value);
960 inline void set_timezone(const char* value, size_t size);
961 inline ::std::string* mutable_timezone();
962 inline ::std::string* release_timezone();
963 inline void set_allocated_timezone(::std::string* timezone);
964
965 // optional string locale = 12;
966 inline bool has_locale() const;
967 inline void clear_locale();
968 static const int kLocaleFieldNumber = 12;
969 inline const ::std::string& locale() const;
970 inline void set_locale(const ::std::string& value);
971 inline void set_locale(const char* value);
972 inline void set_locale(const char* value, size_t size);
973 inline ::std::string* mutable_locale();
974 inline ::std::string* release_locale();
975 inline void set_allocated_locale(::std::string* locale);
976
977 // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
978 inline int tag_size() const;
979 inline void clear_tag();
980 static const int kTagFieldNumber = 13;
981 inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
982 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
983 inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
984 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
985 tag() const;
986 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
987 mutable_tag();
988
989 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubDescription)
990 private:
991 inline void set_has_id();
992 inline void clear_has_id();
993 inline void set_has_type();
994 inline void clear_has_type();
995 inline void set_has_name();
996 inline void clear_has_name();
997 inline void set_has_description();
998 inline void clear_has_description();
999 inline void set_has_avatar();
1000 inline void clear_has_avatar();
1001 inline void set_has_privacy_level();
1002 inline void clear_has_privacy_level();
1003 inline void set_has_visibility_level();
1004 inline void clear_has_visibility_level();
1005 inline void set_has_member_count();
1006 inline void clear_has_member_count();
1007 inline void set_has_creation_time();
1008 inline void clear_has_creation_time();
1009 inline void set_has_timezone();
1010 inline void clear_has_timezone();
1011 inline void set_has_locale();
1012 inline void clear_has_locale();
1013
1014 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1015
1017 mutable int _cached_size_;
1020 ::std::string* name_;
1021 ::std::string* description_;
1025 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_;
1027 ::std::string* timezone_;
1028 ::std::string* locale_;
1029 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
1034
1037};
1038// -------------------------------------------------------------------
1039
1040class TC_PROTO_API ClubView : public ::google::protobuf::Message {
1041 public:
1043 virtual ~ClubView();
1044
1045 ClubView(const ClubView& from);
1046
1047 inline ClubView& operator=(const ClubView& from) {
1048 CopyFrom(from);
1049 return *this;
1050 }
1051
1052 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1053 return _unknown_fields_;
1054 }
1055
1056 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1057 return &_unknown_fields_;
1058 }
1059
1060 static const ::google::protobuf::Descriptor* descriptor();
1062
1063 void Swap(ClubView* other);
1064
1065 // implements Message ----------------------------------------------
1066
1067 ClubView* New() const;
1068 int GetCachedSize() const { return _cached_size_; }
1069 private:
1072 void SetCachedSize(int size) const;
1073 public:
1074 ::google::protobuf::Metadata GetMetadata() const;
1075
1076 // nested types ----------------------------------------------------
1077
1078 // accessors -------------------------------------------------------
1079
1080 // optional uint64 club_id = 1;
1081 inline bool has_club_id() const;
1082 inline void clear_club_id();
1083 static const int kClubIdFieldNumber = 1;
1084 inline ::google::protobuf::uint64 club_id() const;
1085 inline void set_club_id(::google::protobuf::uint64 value);
1086
1087 // optional .bgs.protocol.ViewMarker marker = 2;
1088 inline bool has_marker() const;
1089 inline void clear_marker();
1090 static const int kMarkerFieldNumber = 2;
1091 inline const ::bgs::protocol::ViewMarker& marker() const;
1092 inline ::bgs::protocol::ViewMarker* mutable_marker();
1093 inline ::bgs::protocol::ViewMarker* release_marker();
1094 inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker);
1095
1096 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubView)
1097 private:
1098 inline void set_has_club_id();
1099 inline void clear_has_club_id();
1100 inline void set_has_marker();
1101 inline void clear_has_marker();
1102
1103 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1104
1106 mutable int _cached_size_;
1112
1115};
1116// -------------------------------------------------------------------
1117
1118class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message {
1119 public:
1122
1124
1126 CopyFrom(from);
1127 return *this;
1128 }
1129
1130 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1131 return _unknown_fields_;
1132 }
1133
1134 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1135 return &_unknown_fields_;
1136 }
1137
1138 static const ::google::protobuf::Descriptor* descriptor();
1140
1142
1143 // implements Message ----------------------------------------------
1144
1146 int GetCachedSize() const { return _cached_size_; }
1147 private:
1150 void SetCachedSize(int size) const;
1151 public:
1152 ::google::protobuf::Metadata GetMetadata() const;
1153
1154 // nested types ----------------------------------------------------
1155
1156 // accessors -------------------------------------------------------
1157
1158 // repeated .bgs.protocol.v2.Attribute attribute = 1;
1159 inline int attribute_size() const;
1160 inline void clear_attribute();
1161 static const int kAttributeFieldNumber = 1;
1162 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1163 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1164 inline ::bgs::protocol::v2::Attribute* add_attribute();
1165 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1166 attribute() const;
1167 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1168 mutable_attribute();
1169
1170 // optional string name = 2;
1171 inline bool has_name() const;
1172 inline void clear_name();
1173 static const int kNameFieldNumber = 2;
1174 inline const ::std::string& name() const;
1175 inline void set_name(const ::std::string& value);
1176 inline void set_name(const char* value);
1177 inline void set_name(const char* value, size_t size);
1178 inline ::std::string* mutable_name();
1179 inline ::std::string* release_name();
1180 inline void set_allocated_name(::std::string* name);
1181
1182 // optional string description = 3;
1183 inline bool has_description() const;
1184 inline void clear_description();
1185 static const int kDescriptionFieldNumber = 3;
1186 inline const ::std::string& description() const;
1187 inline void set_description(const ::std::string& value);
1188 inline void set_description(const char* value);
1189 inline void set_description(const char* value, size_t size);
1190 inline ::std::string* mutable_description();
1191 inline ::std::string* release_description();
1192 inline void set_allocated_description(::std::string* description);
1193
1194 // optional .bgs.protocol.club.v1.SetBroadcastOptions broadcast = 4;
1195 inline bool has_broadcast() const;
1196 inline void clear_broadcast();
1197 static const int kBroadcastFieldNumber = 4;
1198 inline const ::bgs::protocol::club::v1::SetBroadcastOptions& broadcast() const;
1199 inline ::bgs::protocol::club::v1::SetBroadcastOptions* mutable_broadcast();
1200 inline ::bgs::protocol::club::v1::SetBroadcastOptions* release_broadcast();
1201 inline void set_allocated_broadcast(::bgs::protocol::club::v1::SetBroadcastOptions* broadcast);
1202
1203 // optional .bgs.protocol.club.v1.AvatarId avatar = 5;
1204 inline bool has_avatar() const;
1205 inline void clear_avatar();
1206 static const int kAvatarFieldNumber = 5;
1207 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
1208 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
1209 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
1210 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
1211
1212 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
1213 inline bool has_privacy_level() const;
1214 inline void clear_privacy_level();
1215 static const int kPrivacyLevelFieldNumber = 6;
1217 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
1218
1219 // optional .bgs.protocol.club.v1.StreamPosition stream_position = 7;
1220 inline bool has_stream_position() const;
1221 inline void clear_stream_position();
1222 static const int kStreamPositionFieldNumber = 7;
1223 inline const ::bgs::protocol::club::v1::StreamPosition& stream_position() const;
1224 inline ::bgs::protocol::club::v1::StreamPosition* mutable_stream_position();
1225 inline ::bgs::protocol::club::v1::StreamPosition* release_stream_position();
1226 inline void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position);
1227
1228 // optional string short_name = 8;
1229 inline bool has_short_name() const;
1230 inline void clear_short_name();
1231 static const int kShortNameFieldNumber = 8;
1232 inline const ::std::string& short_name() const;
1233 inline void set_short_name(const ::std::string& value);
1234 inline void set_short_name(const char* value);
1235 inline void set_short_name(const char* value, size_t size);
1236 inline ::std::string* mutable_short_name();
1237 inline ::std::string* release_short_name();
1238 inline void set_allocated_short_name(::std::string* short_name);
1239
1240 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
1241 inline bool has_visibility_level() const;
1242 inline void clear_visibility_level();
1243 static const int kVisibilityLevelFieldNumber = 9;
1245 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
1246
1247 // optional string locale = 10;
1248 inline bool has_locale() const;
1249 inline void clear_locale();
1250 static const int kLocaleFieldNumber = 10;
1251 inline const ::std::string& locale() const;
1252 inline void set_locale(const ::std::string& value);
1253 inline void set_locale(const char* value);
1254 inline void set_locale(const char* value, size_t size);
1255 inline ::std::string* mutable_locale();
1256 inline ::std::string* release_locale();
1257 inline void set_allocated_locale(::std::string* locale);
1258
1259 // optional string timezone = 11;
1260 inline bool has_timezone() const;
1261 inline void clear_timezone();
1262 static const int kTimezoneFieldNumber = 11;
1263 inline const ::std::string& timezone() const;
1264 inline void set_timezone(const ::std::string& value);
1265 inline void set_timezone(const char* value);
1266 inline void set_timezone(const char* value, size_t size);
1267 inline ::std::string* mutable_timezone();
1268 inline ::std::string* release_timezone();
1269 inline void set_allocated_timezone(::std::string* timezone);
1270
1271 // optional .bgs.protocol.club.v1.TagOptions tag_options = 12;
1272 inline bool has_tag_options() const;
1273 inline void clear_tag_options();
1274 static const int kTagOptionsFieldNumber = 12;
1275 inline const ::bgs::protocol::club::v1::TagOptions& tag_options() const;
1276 inline ::bgs::protocol::club::v1::TagOptions* mutable_tag_options();
1277 inline ::bgs::protocol::club::v1::TagOptions* release_tag_options();
1278 inline void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options);
1279
1280 // repeated .bgs.protocol.v2.Attribute search_attribute = 13;
1281 inline int search_attribute_size() const;
1282 inline void clear_search_attribute();
1283 static const int kSearchAttributeFieldNumber = 13;
1284 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
1285 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
1286 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
1287 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1288 search_attribute() const;
1289 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1290 mutable_search_attribute();
1291
1292 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateOptions)
1293 private:
1294 inline void set_has_name();
1295 inline void clear_has_name();
1296 inline void set_has_description();
1297 inline void clear_has_description();
1298 inline void set_has_broadcast();
1299 inline void clear_has_broadcast();
1300 inline void set_has_avatar();
1301 inline void clear_has_avatar();
1302 inline void set_has_privacy_level();
1303 inline void clear_has_privacy_level();
1304 inline void set_has_stream_position();
1305 inline void clear_has_stream_position();
1306 inline void set_has_short_name();
1307 inline void clear_has_short_name();
1308 inline void set_has_visibility_level();
1309 inline void clear_has_visibility_level();
1310 inline void set_has_locale();
1311 inline void clear_has_locale();
1312 inline void set_has_timezone();
1313 inline void clear_has_timezone();
1314 inline void set_has_tag_options();
1315 inline void clear_has_tag_options();
1316
1317 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1318
1320 mutable int _cached_size_;
1321 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1322 ::std::string* name_;
1323 ::std::string* description_;
1329 ::std::string* short_name_;
1330 ::std::string* locale_;
1331 ::std::string* timezone_;
1333 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
1337
1340};
1341// -------------------------------------------------------------------
1342
1343class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message {
1344 public:
1347
1349
1351 CopyFrom(from);
1352 return *this;
1353 }
1354
1355 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1356 return _unknown_fields_;
1357 }
1358
1359 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1360 return &_unknown_fields_;
1361 }
1362
1363 static const ::google::protobuf::Descriptor* descriptor();
1365
1367
1368 // implements Message ----------------------------------------------
1369
1371 int GetCachedSize() const { return _cached_size_; }
1372 private:
1375 void SetCachedSize(int size) const;
1376 public:
1377 ::google::protobuf::Metadata GetMetadata() const;
1378
1379 // nested types ----------------------------------------------------
1380
1381 // accessors -------------------------------------------------------
1382
1383 // optional uint64 club_id = 1;
1384 inline bool has_club_id() const;
1385 inline void clear_club_id();
1386 static const int kClubIdFieldNumber = 1;
1387 inline ::google::protobuf::uint64 club_id() const;
1388 inline void set_club_id(::google::protobuf::uint64 value);
1389
1390 // repeated .bgs.protocol.v2.Attribute attribute = 2;
1391 inline int attribute_size() const;
1392 inline void clear_attribute();
1393 static const int kAttributeFieldNumber = 2;
1394 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1395 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1396 inline ::bgs::protocol::v2::Attribute* add_attribute();
1397 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1398 attribute() const;
1399 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1400 mutable_attribute();
1401
1402 // optional string name = 3;
1403 inline bool has_name() const;
1404 inline void clear_name();
1405 static const int kNameFieldNumber = 3;
1406 inline const ::std::string& name() const;
1407 inline void set_name(const ::std::string& value);
1408 inline void set_name(const char* value);
1409 inline void set_name(const char* value, size_t size);
1410 inline ::std::string* mutable_name();
1411 inline ::std::string* release_name();
1412 inline void set_allocated_name(::std::string* name);
1413
1414 // optional string description = 4;
1415 inline bool has_description() const;
1416 inline void clear_description();
1417 static const int kDescriptionFieldNumber = 4;
1418 inline const ::std::string& description() const;
1419 inline void set_description(const ::std::string& value);
1420 inline void set_description(const char* value);
1421 inline void set_description(const char* value, size_t size);
1422 inline ::std::string* mutable_description();
1423 inline ::std::string* release_description();
1424 inline void set_allocated_description(::std::string* description);
1425
1426 // optional .bgs.protocol.club.v1.Broadcast broadcast = 5;
1427 inline bool has_broadcast() const;
1428 inline void clear_broadcast();
1429 static const int kBroadcastFieldNumber = 5;
1430 inline const ::bgs::protocol::club::v1::Broadcast& broadcast() const;
1431 inline ::bgs::protocol::club::v1::Broadcast* mutable_broadcast();
1432 inline ::bgs::protocol::club::v1::Broadcast* release_broadcast();
1433 inline void set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast* broadcast);
1434
1435 // optional .bgs.protocol.club.v1.AvatarId avatar = 6;
1436 inline bool has_avatar() const;
1437 inline void clear_avatar();
1438 static const int kAvatarFieldNumber = 6;
1439 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
1440 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
1441 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
1442 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
1443
1444 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7;
1445 inline bool has_privacy_level() const;
1446 inline void clear_privacy_level();
1447 static const int kPrivacyLevelFieldNumber = 7;
1449 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
1450
1451 // optional .bgs.protocol.club.v1.StreamPosition stream_position = 8;
1452 inline bool has_stream_position() const;
1453 inline void clear_stream_position();
1454 static const int kStreamPositionFieldNumber = 8;
1455 inline const ::bgs::protocol::club::v1::StreamPosition& stream_position() const;
1456 inline ::bgs::protocol::club::v1::StreamPosition* mutable_stream_position();
1457 inline ::bgs::protocol::club::v1::StreamPosition* release_stream_position();
1458 inline void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition* stream_position);
1459
1460 // optional string short_name = 9;
1461 inline bool has_short_name() const;
1462 inline void clear_short_name();
1463 static const int kShortNameFieldNumber = 9;
1464 inline const ::std::string& short_name() const;
1465 inline void set_short_name(const ::std::string& value);
1466 inline void set_short_name(const char* value);
1467 inline void set_short_name(const char* value, size_t size);
1468 inline ::std::string* mutable_short_name();
1469 inline ::std::string* release_short_name();
1470 inline void set_allocated_short_name(::std::string* short_name);
1471
1472 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10;
1473 inline bool has_visibility_level() const;
1474 inline void clear_visibility_level();
1475 static const int kVisibilityLevelFieldNumber = 10;
1477 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
1478
1479 // optional string locale = 11;
1480 inline bool has_locale() const;
1481 inline void clear_locale();
1482 static const int kLocaleFieldNumber = 11;
1483 inline const ::std::string& locale() const;
1484 inline void set_locale(const ::std::string& value);
1485 inline void set_locale(const char* value);
1486 inline void set_locale(const char* value, size_t size);
1487 inline ::std::string* mutable_locale();
1488 inline ::std::string* release_locale();
1489 inline void set_allocated_locale(::std::string* locale);
1490
1491 // optional string timezone = 12;
1492 inline bool has_timezone() const;
1493 inline void clear_timezone();
1494 static const int kTimezoneFieldNumber = 12;
1495 inline const ::std::string& timezone() const;
1496 inline void set_timezone(const ::std::string& value);
1497 inline void set_timezone(const char* value);
1498 inline void set_timezone(const char* value, size_t size);
1499 inline ::std::string* mutable_timezone();
1500 inline ::std::string* release_timezone();
1501 inline void set_allocated_timezone(::std::string* timezone);
1502
1503 // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
1504 inline int tag_size() const;
1505 inline void clear_tag();
1506 static const int kTagFieldNumber = 13;
1507 inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
1508 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
1509 inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
1510 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
1511 tag() const;
1512 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
1513 mutable_tag();
1514
1515 // repeated .bgs.protocol.v2.Attribute search_attribute = 14;
1516 inline int search_attribute_size() const;
1517 inline void clear_search_attribute();
1518 static const int kSearchAttributeFieldNumber = 14;
1519 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
1520 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
1521 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
1522 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1523 search_attribute() const;
1524 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1525 mutable_search_attribute();
1526
1527 // optional bool tag_cleared = 15;
1528 inline bool has_tag_cleared() const;
1529 inline void clear_tag_cleared();
1530 static const int kTagClearedFieldNumber = 15;
1531 inline bool tag_cleared() const;
1532 inline void set_tag_cleared(bool value);
1533
1534 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStateAssignment)
1535 private:
1536 inline void set_has_club_id();
1537 inline void clear_has_club_id();
1538 inline void set_has_name();
1539 inline void clear_has_name();
1540 inline void set_has_description();
1541 inline void clear_has_description();
1542 inline void set_has_broadcast();
1543 inline void clear_has_broadcast();
1544 inline void set_has_avatar();
1545 inline void clear_has_avatar();
1546 inline void set_has_privacy_level();
1547 inline void clear_has_privacy_level();
1548 inline void set_has_stream_position();
1549 inline void clear_has_stream_position();
1550 inline void set_has_short_name();
1551 inline void clear_has_short_name();
1552 inline void set_has_visibility_level();
1553 inline void clear_has_visibility_level();
1554 inline void set_has_locale();
1555 inline void clear_has_locale();
1556 inline void set_has_timezone();
1557 inline void clear_has_timezone();
1558 inline void set_has_tag_cleared();
1559 inline void clear_has_tag_cleared();
1560
1561 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1562
1564 mutable int _cached_size_;
1566 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1567 ::std::string* name_;
1568 ::std::string* description_;
1574 ::std::string* short_name_;
1575 ::std::string* locale_;
1576 ::std::string* timezone_;
1577 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
1578 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
1583
1586};
1587// -------------------------------------------------------------------
1588
1589class TC_PROTO_API StreamSettings : public ::google::protobuf::Message {
1590 public:
1593
1595
1597 CopyFrom(from);
1598 return *this;
1599 }
1600
1601 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1602 return _unknown_fields_;
1603 }
1604
1605 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1606 return &_unknown_fields_;
1607 }
1608
1609 static const ::google::protobuf::Descriptor* descriptor();
1611
1612 void Swap(StreamSettings* other);
1613
1614 // implements Message ----------------------------------------------
1615
1617 int GetCachedSize() const { return _cached_size_; }
1618 private:
1621 void SetCachedSize(int size) const;
1622 public:
1623 ::google::protobuf::Metadata GetMetadata() const;
1624
1625 // nested types ----------------------------------------------------
1626
1627 // accessors -------------------------------------------------------
1628
1629 // optional uint64 stream_id = 1;
1630 inline bool has_stream_id() const;
1631 inline void clear_stream_id();
1632 static const int kStreamIdFieldNumber = 1;
1633 inline ::google::protobuf::uint64 stream_id() const;
1634 inline void set_stream_id(::google::protobuf::uint64 value);
1635
1636 // optional .bgs.protocol.club.v1.StreamNotificationFilter filter = 2;
1637 inline bool has_filter() const;
1638 inline void clear_filter();
1639 static const int kFilterFieldNumber = 2;
1641 inline void set_filter(::bgs::protocol::club::v1::StreamNotificationFilter value);
1642
1643 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamSettings)
1644 private:
1645 inline void set_has_stream_id();
1646 inline void clear_has_stream_id();
1647 inline void set_has_filter();
1648 inline void clear_has_filter();
1649
1650 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1651
1653 mutable int _cached_size_;
1659
1662};
1663// -------------------------------------------------------------------
1664
1665class TC_PROTO_API ClubSettings : public ::google::protobuf::Message {
1666 public:
1668 virtual ~ClubSettings();
1669
1671
1672 inline ClubSettings& operator=(const ClubSettings& from) {
1673 CopyFrom(from);
1674 return *this;
1675 }
1676
1677 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1678 return _unknown_fields_;
1679 }
1680
1681 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1682 return &_unknown_fields_;
1683 }
1684
1685 static const ::google::protobuf::Descriptor* descriptor();
1687
1688 void Swap(ClubSettings* other);
1689
1690 // implements Message ----------------------------------------------
1691
1693 int GetCachedSize() const { return _cached_size_; }
1694 private:
1697 void SetCachedSize(int size) const;
1698 public:
1699 ::google::protobuf::Metadata GetMetadata() const;
1700
1701 // nested types ----------------------------------------------------
1702
1703 // accessors -------------------------------------------------------
1704
1705 // repeated .bgs.protocol.club.v1.StreamSettings stream = 1;
1706 inline int stream_size() const;
1707 inline void clear_stream();
1708 static const int kStreamFieldNumber = 1;
1709 inline const ::bgs::protocol::club::v1::StreamSettings& stream(int index) const;
1710 inline ::bgs::protocol::club::v1::StreamSettings* mutable_stream(int index);
1711 inline ::bgs::protocol::club::v1::StreamSettings* add_stream();
1712 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >&
1713 stream() const;
1714 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >*
1715 mutable_stream();
1716
1717 // optional bool stream_notification_filter_all = 2;
1718 inline bool has_stream_notification_filter_all() const;
1719 inline void clear_stream_notification_filter_all();
1720 static const int kStreamNotificationFilterAllFieldNumber = 2;
1721 inline bool stream_notification_filter_all() const;
1722 inline void set_stream_notification_filter_all(bool value);
1723
1724 // repeated .bgs.protocol.v2.Attribute attribute = 3;
1725 inline int attribute_size() const;
1726 inline void clear_attribute();
1727 static const int kAttributeFieldNumber = 3;
1728 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1729 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1730 inline ::bgs::protocol::v2::Attribute* add_attribute();
1731 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1732 attribute() const;
1733 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1734 mutable_attribute();
1735
1736 // optional bool push_notification_filter_all = 4;
1737 inline bool has_push_notification_filter_all() const;
1738 inline void clear_push_notification_filter_all();
1739 static const int kPushNotificationFilterAllFieldNumber = 4;
1740 inline bool push_notification_filter_all() const;
1741 inline void set_push_notification_filter_all(bool value);
1742
1743 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettings)
1744 private:
1745 inline void set_has_stream_notification_filter_all();
1746 inline void clear_has_stream_notification_filter_all();
1747 inline void set_has_push_notification_filter_all();
1748 inline void clear_has_push_notification_filter_all();
1749
1750 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1751
1753 mutable int _cached_size_;
1754 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_;
1755 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1761
1764};
1765// -------------------------------------------------------------------
1766
1767class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message {
1768 public:
1771
1773
1775 CopyFrom(from);
1776 return *this;
1777 }
1778
1779 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1780 return _unknown_fields_;
1781 }
1782
1783 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1784 return &_unknown_fields_;
1785 }
1786
1787 static const ::google::protobuf::Descriptor* descriptor();
1789
1791
1792 // implements Message ----------------------------------------------
1793
1795 int GetCachedSize() const { return _cached_size_; }
1796 private:
1799 void SetCachedSize(int size) const;
1800 public:
1801 ::google::protobuf::Metadata GetMetadata() const;
1802
1803 // nested types ----------------------------------------------------
1804
1805 // accessors -------------------------------------------------------
1806
1807 // repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true];
1808 inline int stream_size() const PROTOBUF_DEPRECATED;
1809 inline void clear_stream() PROTOBUF_DEPRECATED;
1810 static const int kStreamFieldNumber = 1;
1811 inline const ::bgs::protocol::club::v1::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED;
1812 inline ::bgs::protocol::club::v1::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED;
1813 inline ::bgs::protocol::club::v1::StreamSettings* add_stream() PROTOBUF_DEPRECATED;
1814 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >&
1815 stream() const PROTOBUF_DEPRECATED;
1816 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >*
1817 mutable_stream() PROTOBUF_DEPRECATED;
1818
1819 // optional .bgs.protocol.club.v1.ClubSettings settings = 2;
1820 inline bool has_settings() const;
1821 inline void clear_settings();
1822 static const int kSettingsFieldNumber = 2;
1823 inline const ::bgs::protocol::club::v1::ClubSettings& settings() const;
1824 inline ::bgs::protocol::club::v1::ClubSettings* mutable_settings();
1825 inline ::bgs::protocol::club::v1::ClubSettings* release_settings();
1826 inline void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings);
1827
1828 // optional uint32 version = 3;
1829 inline bool has_version() const;
1830 inline void clear_version();
1831 static const int kVersionFieldNumber = 3;
1832 inline ::google::protobuf::uint32 version() const;
1833 inline void set_version(::google::protobuf::uint32 value);
1834
1835 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettingsOptions)
1836 private:
1837 inline void set_has_settings();
1838 inline void clear_has_settings();
1839 inline void set_has_version();
1840 inline void clear_has_version();
1841
1842 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1843
1844 ::google::protobuf::uint32 _has_bits_[1];
1845 mutable int _cached_size_;
1846 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_;
1847 ::bgs::protocol::club::v1::ClubSettings* settings_;
1848 ::google::protobuf::uint32 version_;
1852
1853 void InitAsDefaultInstance();
1854 static ClubSettingsOptions* default_instance_;
1855};
1856// -------------------------------------------------------------------
1857
1858class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message {
1859 public:
1862
1864
1866 CopyFrom(from);
1867 return *this;
1868 }
1869
1870 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1871 return _unknown_fields_;
1872 }
1873
1874 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1875 return &_unknown_fields_;
1876 }
1877
1878 static const ::google::protobuf::Descriptor* descriptor();
1880
1882
1883 // implements Message ----------------------------------------------
1884
1886 int GetCachedSize() const { return _cached_size_; }
1887 private:
1890 void SetCachedSize(int size) const;
1891 public:
1892 ::google::protobuf::Metadata GetMetadata() const;
1893
1894 // nested types ----------------------------------------------------
1895
1896 // accessors -------------------------------------------------------
1897
1898 // repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true];
1899 inline int stream_size() const PROTOBUF_DEPRECATED;
1900 inline void clear_stream() PROTOBUF_DEPRECATED;
1901 static const int kStreamFieldNumber = 1;
1902 inline const ::bgs::protocol::club::v1::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED;
1903 inline ::bgs::protocol::club::v1::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED;
1904 inline ::bgs::protocol::club::v1::StreamSettings* add_stream() PROTOBUF_DEPRECATED;
1905 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >&
1906 stream() const PROTOBUF_DEPRECATED;
1907 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >*
1908 mutable_stream() PROTOBUF_DEPRECATED;
1909
1910 // optional .bgs.protocol.club.v1.ClubSettings settings = 2;
1911 inline bool has_settings() const;
1912 inline void clear_settings();
1913 static const int kSettingsFieldNumber = 2;
1914 inline const ::bgs::protocol::club::v1::ClubSettings& settings() const;
1915 inline ::bgs::protocol::club::v1::ClubSettings* mutable_settings();
1916 inline ::bgs::protocol::club::v1::ClubSettings* release_settings();
1917 inline void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings* settings);
1918
1919 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubSettingsAssignment)
1920 private:
1921 inline void set_has_settings();
1922 inline void clear_has_settings();
1923
1924 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1925
1926 ::google::protobuf::uint32 _has_bits_[1];
1927 mutable int _cached_size_;
1928 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_;
1929 ::bgs::protocol::club::v1::ClubSettings* settings_;
1933
1934 void InitAsDefaultInstance();
1935 static ClubSettingsAssignment* default_instance_;
1936};
1937// ===================================================================
1938
1939// ===================================================================
1940
1941// ===================================================================
1942
1943// AvatarId
1944
1945// optional uint32 id = 1;
1946inline bool AvatarId::has_id() const {
1947 return (_has_bits_[0] & 0x00000001u) != 0;
1948}
1950 _has_bits_[0] |= 0x00000001u;
1951}
1953 _has_bits_[0] &= ~0x00000001u;
1954}
1955inline void AvatarId::clear_id() {
1956 id_ = 0u;
1957 clear_has_id();
1958}
1960 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.AvatarId.id)
1961 return id_;
1962}
1964 set_has_id();
1965 id_ = value;
1966 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.AvatarId.id)
1967}
1968
1969// -------------------------------------------------------------------
1970
1971// SetBroadcastOptions
1972
1973// optional string content = 1;
1975 return (_has_bits_[0] & 0x00000001u) != 0;
1976}
1978 _has_bits_[0] |= 0x00000001u;
1979}
1981 _has_bits_[0] &= ~0x00000001u;
1982}
1984 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1985 content_->clear();
1986 }
1987 clear_has_content();
1988}
1989inline const ::std::string& SetBroadcastOptions::content() const {
1990 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.SetBroadcastOptions.content)
1991 return *content_;
1992}
1993inline void SetBroadcastOptions::set_content(const ::std::string& value) {
1994 set_has_content();
1995 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1996 content_ = new ::std::string;
1997 }
1998 content_->assign(value);
1999 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.SetBroadcastOptions.content)
2000}
2001inline void SetBroadcastOptions::set_content(const char* value) {
2002 set_has_content();
2003 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2004 content_ = new ::std::string;
2005 }
2006 content_->assign(value);
2007 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.SetBroadcastOptions.content)
2008}
2009inline void SetBroadcastOptions::set_content(const char* value, size_t size) {
2010 set_has_content();
2011 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2012 content_ = new ::std::string;
2013 }
2014 content_->assign(reinterpret_cast<const char*>(value), size);
2015 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.SetBroadcastOptions.content)
2016}
2018 set_has_content();
2019 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2020 content_ = new ::std::string;
2021 }
2022 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.SetBroadcastOptions.content)
2023 return content_;
2024}
2026 clear_has_content();
2027 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2028 return NULL;
2029 } else {
2030 ::std::string* temp = content_;
2031 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2032 return temp;
2033 }
2034}
2035inline void SetBroadcastOptions::set_allocated_content(::std::string* content) {
2036 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2037 delete content_;
2038 }
2039 if (content) {
2040 set_has_content();
2041 content_ = content;
2042 } else {
2043 clear_has_content();
2044 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2045 }
2046 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.SetBroadcastOptions.content)
2047}
2048
2049// -------------------------------------------------------------------
2050
2051// Broadcast
2052
2053// optional string content = 1;
2054inline bool Broadcast::has_content() const {
2055 return (_has_bits_[0] & 0x00000001u) != 0;
2056}
2058 _has_bits_[0] |= 0x00000001u;
2059}
2061 _has_bits_[0] &= ~0x00000001u;
2062}
2064 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2065 content_->clear();
2066 }
2067 clear_has_content();
2068}
2069inline const ::std::string& Broadcast::content() const {
2070 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.content)
2071 return *content_;
2072}
2073inline void Broadcast::set_content(const ::std::string& value) {
2074 set_has_content();
2075 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2076 content_ = new ::std::string;
2077 }
2078 content_->assign(value);
2079 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Broadcast.content)
2080}
2081inline void Broadcast::set_content(const char* value) {
2082 set_has_content();
2083 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2084 content_ = new ::std::string;
2085 }
2086 content_->assign(value);
2087 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Broadcast.content)
2088}
2089inline void Broadcast::set_content(const char* value, size_t size) {
2090 set_has_content();
2091 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2092 content_ = new ::std::string;
2093 }
2094 content_->assign(reinterpret_cast<const char*>(value), size);
2095 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Broadcast.content)
2096}
2097inline ::std::string* Broadcast::mutable_content() {
2098 set_has_content();
2099 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2100 content_ = new ::std::string;
2101 }
2102 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Broadcast.content)
2103 return content_;
2104}
2105inline ::std::string* Broadcast::release_content() {
2106 clear_has_content();
2107 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2108 return NULL;
2109 } else {
2110 ::std::string* temp = content_;
2111 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2112 return temp;
2113 }
2114}
2115inline void Broadcast::set_allocated_content(::std::string* content) {
2116 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2117 delete content_;
2118 }
2119 if (content) {
2120 set_has_content();
2121 content_ = content;
2122 } else {
2123 clear_has_content();
2124 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2125 }
2126 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Broadcast.content)
2127}
2128
2129// optional .bgs.protocol.club.v1.MemberDescription creator = 2;
2130inline bool Broadcast::has_creator() const {
2131 return (_has_bits_[0] & 0x00000002u) != 0;
2132}
2134 _has_bits_[0] |= 0x00000002u;
2135}
2137 _has_bits_[0] &= ~0x00000002u;
2138}
2140 if (creator_ != NULL) creator_->::bgs::protocol::club::v1::MemberDescription::Clear();
2141 clear_has_creator();
2142}
2143inline const ::bgs::protocol::club::v1::MemberDescription& Broadcast::creator() const {
2144 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.creator)
2145 return creator_ != NULL ? *creator_ : *default_instance_->creator_;
2146}
2147inline ::bgs::protocol::club::v1::MemberDescription* Broadcast::mutable_creator() {
2148 set_has_creator();
2149 if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::MemberDescription;
2150 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Broadcast.creator)
2151 return creator_;
2152}
2153inline ::bgs::protocol::club::v1::MemberDescription* Broadcast::release_creator() {
2154 clear_has_creator();
2156 creator_ = NULL;
2157 return temp;
2158}
2160 delete creator_;
2161 creator_ = creator;
2162 if (creator) {
2163 set_has_creator();
2164 } else {
2165 clear_has_creator();
2166 }
2167 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Broadcast.creator)
2168}
2169
2170// optional uint64 creation_time = 3;
2171inline bool Broadcast::has_creation_time() const {
2172 return (_has_bits_[0] & 0x00000004u) != 0;
2173}
2175 _has_bits_[0] |= 0x00000004u;
2176}
2178 _has_bits_[0] &= ~0x00000004u;
2179}
2181 creation_time_ = GOOGLE_ULONGLONG(0);
2182 clear_has_creation_time();
2183}
2185 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Broadcast.creation_time)
2186 return creation_time_;
2187}
2189 set_has_creation_time();
2190 creation_time_ = value;
2191 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Broadcast.creation_time)
2192}
2193
2194// -------------------------------------------------------------------
2195
2196// ClubCreateOptions
2197
2198// optional .bgs.protocol.club.v1.UniqueClubType type = 1;
2199inline bool ClubCreateOptions::has_type() const {
2200 return (_has_bits_[0] & 0x00000001u) != 0;
2201}
2203 _has_bits_[0] |= 0x00000001u;
2204}
2206 _has_bits_[0] &= ~0x00000001u;
2207}
2209 if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
2210 clear_has_type();
2211}
2212inline const ::bgs::protocol::club::v1::UniqueClubType& ClubCreateOptions::type() const {
2213 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.type)
2214 return type_ != NULL ? *type_ : *default_instance_->type_;
2215}
2216inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::mutable_type() {
2217 set_has_type();
2218 if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType;
2219 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.type)
2220 return type_;
2221}
2222inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::release_type() {
2223 clear_has_type();
2225 type_ = NULL;
2226 return temp;
2227}
2229 delete type_;
2230 type_ = type;
2231 if (type) {
2232 set_has_type();
2233 } else {
2234 clear_has_type();
2235 }
2236 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.type)
2237}
2238
2239// repeated .bgs.protocol.v2.Attribute attribute = 2;
2241 return attribute_.size();
2242}
2244 attribute_.Clear();
2245}
2246inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::attribute(int index) const {
2247 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.attribute)
2248 return attribute_.Get(index);
2249}
2250inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_attribute(int index) {
2251 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.attribute)
2252 return attribute_.Mutable(index);
2253}
2254inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_attribute() {
2255 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubCreateOptions.attribute)
2256 return attribute_.Add();
2257}
2258inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2260 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubCreateOptions.attribute)
2261 return attribute_;
2262}
2263inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2265 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubCreateOptions.attribute)
2266 return &attribute_;
2267}
2268
2269// optional string name = 3;
2270inline bool ClubCreateOptions::has_name() const {
2271 return (_has_bits_[0] & 0x00000004u) != 0;
2272}
2274 _has_bits_[0] |= 0x00000004u;
2275}
2277 _has_bits_[0] &= ~0x00000004u;
2278}
2280 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2281 name_->clear();
2282 }
2283 clear_has_name();
2284}
2285inline const ::std::string& ClubCreateOptions::name() const {
2286 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.name)
2287 return *name_;
2288}
2289inline void ClubCreateOptions::set_name(const ::std::string& value) {
2290 set_has_name();
2291 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2292 name_ = new ::std::string;
2293 }
2294 name_->assign(value);
2295 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.name)
2296}
2297inline void ClubCreateOptions::set_name(const char* value) {
2298 set_has_name();
2299 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2300 name_ = new ::std::string;
2301 }
2302 name_->assign(value);
2303 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.name)
2304}
2305inline void ClubCreateOptions::set_name(const char* value, size_t size) {
2306 set_has_name();
2307 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2308 name_ = new ::std::string;
2309 }
2310 name_->assign(reinterpret_cast<const char*>(value), size);
2311 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.name)
2312}
2313inline ::std::string* ClubCreateOptions::mutable_name() {
2314 set_has_name();
2315 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2316 name_ = new ::std::string;
2317 }
2318 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.name)
2319 return name_;
2320}
2321inline ::std::string* ClubCreateOptions::release_name() {
2322 clear_has_name();
2323 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2324 return NULL;
2325 } else {
2326 ::std::string* temp = name_;
2327 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2328 return temp;
2329 }
2330}
2331inline void ClubCreateOptions::set_allocated_name(::std::string* name) {
2332 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2333 delete name_;
2334 }
2335 if (name) {
2336 set_has_name();
2337 name_ = name;
2338 } else {
2339 clear_has_name();
2340 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2341 }
2342 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.name)
2343}
2344
2345// optional string description = 4;
2347 return (_has_bits_[0] & 0x00000008u) != 0;
2348}
2350 _has_bits_[0] |= 0x00000008u;
2351}
2353 _has_bits_[0] &= ~0x00000008u;
2354}
2356 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2357 description_->clear();
2358 }
2359 clear_has_description();
2360}
2361inline const ::std::string& ClubCreateOptions::description() const {
2362 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.description)
2363 return *description_;
2364}
2365inline void ClubCreateOptions::set_description(const ::std::string& value) {
2366 set_has_description();
2367 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2368 description_ = new ::std::string;
2369 }
2370 description_->assign(value);
2371 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.description)
2372}
2373inline void ClubCreateOptions::set_description(const char* value) {
2374 set_has_description();
2375 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2376 description_ = new ::std::string;
2377 }
2378 description_->assign(value);
2379 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.description)
2380}
2381inline void ClubCreateOptions::set_description(const char* value, size_t size) {
2382 set_has_description();
2383 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2384 description_ = new ::std::string;
2385 }
2386 description_->assign(reinterpret_cast<const char*>(value), size);
2387 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.description)
2388}
2390 set_has_description();
2391 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2392 description_ = new ::std::string;
2393 }
2394 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.description)
2395 return description_;
2396}
2398 clear_has_description();
2399 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2400 return NULL;
2401 } else {
2402 ::std::string* temp = description_;
2403 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2404 return temp;
2405 }
2406}
2407inline void ClubCreateOptions::set_allocated_description(::std::string* description) {
2408 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2409 delete description_;
2410 }
2411 if (description) {
2412 set_has_description();
2413 description_ = description;
2414 } else {
2415 clear_has_description();
2416 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2417 }
2418 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.description)
2419}
2420
2421// optional .bgs.protocol.club.v1.AvatarId avatar = 5;
2423 return (_has_bits_[0] & 0x00000010u) != 0;
2424}
2426 _has_bits_[0] |= 0x00000010u;
2427}
2429 _has_bits_[0] &= ~0x00000010u;
2430}
2432 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
2433 clear_has_avatar();
2434}
2435inline const ::bgs::protocol::club::v1::AvatarId& ClubCreateOptions::avatar() const {
2436 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.avatar)
2437 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
2438}
2439inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::mutable_avatar() {
2440 set_has_avatar();
2441 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
2442 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.avatar)
2443 return avatar_;
2444}
2445inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::release_avatar() {
2446 clear_has_avatar();
2448 avatar_ = NULL;
2449 return temp;
2450}
2452 delete avatar_;
2453 avatar_ = avatar;
2454 if (avatar) {
2455 set_has_avatar();
2456 } else {
2457 clear_has_avatar();
2458 }
2459 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.avatar)
2460}
2461
2462// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
2464 return (_has_bits_[0] & 0x00000020u) != 0;
2465}
2467 _has_bits_[0] |= 0x00000020u;
2468}
2470 _has_bits_[0] &= ~0x00000020u;
2471}
2473 privacy_level_ = 0;
2474 clear_has_privacy_level();
2475}
2477 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.privacy_level)
2478 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
2479}
2482 set_has_privacy_level();
2483 privacy_level_ = value;
2484 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.privacy_level)
2485}
2486
2487// optional string short_name = 7;
2489 return (_has_bits_[0] & 0x00000040u) != 0;
2490}
2492 _has_bits_[0] |= 0x00000040u;
2493}
2495 _has_bits_[0] &= ~0x00000040u;
2496}
2498 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2499 short_name_->clear();
2500 }
2501 clear_has_short_name();
2502}
2503inline const ::std::string& ClubCreateOptions::short_name() const {
2504 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.short_name)
2505 return *short_name_;
2506}
2507inline void ClubCreateOptions::set_short_name(const ::std::string& value) {
2508 set_has_short_name();
2509 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2510 short_name_ = new ::std::string;
2511 }
2512 short_name_->assign(value);
2513 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.short_name)
2514}
2515inline void ClubCreateOptions::set_short_name(const char* value) {
2516 set_has_short_name();
2517 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2518 short_name_ = new ::std::string;
2519 }
2520 short_name_->assign(value);
2521 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.short_name)
2522}
2523inline void ClubCreateOptions::set_short_name(const char* value, size_t size) {
2524 set_has_short_name();
2525 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2526 short_name_ = new ::std::string;
2527 }
2528 short_name_->assign(reinterpret_cast<const char*>(value), size);
2529 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.short_name)
2530}
2532 set_has_short_name();
2533 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2534 short_name_ = new ::std::string;
2535 }
2536 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.short_name)
2537 return short_name_;
2538}
2540 clear_has_short_name();
2541 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2542 return NULL;
2543 } else {
2544 ::std::string* temp = short_name_;
2545 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2546 return temp;
2547 }
2548}
2549inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_name) {
2550 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2551 delete short_name_;
2552 }
2553 if (short_name) {
2554 set_has_short_name();
2555 short_name_ = short_name;
2556 } else {
2557 clear_has_short_name();
2558 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2559 }
2560 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.short_name)
2561}
2562
2563// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8;
2565 return (_has_bits_[0] & 0x00000080u) != 0;
2566}
2568 _has_bits_[0] |= 0x00000080u;
2569}
2571 _has_bits_[0] &= ~0x00000080u;
2572}
2574 visibility_level_ = 0;
2575 clear_has_visibility_level();
2576}
2578 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.visibility_level)
2579 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
2580}
2583 set_has_visibility_level();
2584 visibility_level_ = value;
2585 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.visibility_level)
2586}
2587
2588// optional .bgs.protocol.club.v1.CreateMemberOptions member = 10;
2590 return (_has_bits_[0] & 0x00000100u) != 0;
2591}
2593 _has_bits_[0] |= 0x00000100u;
2594}
2596 _has_bits_[0] &= ~0x00000100u;
2597}
2599 if (member_ != NULL) member_->::bgs::protocol::club::v1::CreateMemberOptions::Clear();
2600 clear_has_member();
2601}
2602inline const ::bgs::protocol::club::v1::CreateMemberOptions& ClubCreateOptions::member() const {
2603 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.member)
2604 return member_ != NULL ? *member_ : *default_instance_->member_;
2605}
2606inline ::bgs::protocol::club::v1::CreateMemberOptions* ClubCreateOptions::mutable_member() {
2607 set_has_member();
2608 if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::CreateMemberOptions;
2609 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.member)
2610 return member_;
2611}
2612inline ::bgs::protocol::club::v1::CreateMemberOptions* ClubCreateOptions::release_member() {
2613 clear_has_member();
2615 member_ = NULL;
2616 return temp;
2617}
2619 delete member_;
2620 member_ = member;
2621 if (member) {
2622 set_has_member();
2623 } else {
2624 clear_has_member();
2625 }
2626 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.member)
2627}
2628
2629// optional .bgs.protocol.club.v1.CreateStreamOptions stream = 11;
2631 return (_has_bits_[0] & 0x00000200u) != 0;
2632}
2634 _has_bits_[0] |= 0x00000200u;
2635}
2637 _has_bits_[0] &= ~0x00000200u;
2638}
2640 if (stream_ != NULL) stream_->::bgs::protocol::club::v1::CreateStreamOptions::Clear();
2641 clear_has_stream();
2642}
2643inline const ::bgs::protocol::club::v1::CreateStreamOptions& ClubCreateOptions::stream() const {
2644 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.stream)
2645 return stream_ != NULL ? *stream_ : *default_instance_->stream_;
2646}
2647inline ::bgs::protocol::club::v1::CreateStreamOptions* ClubCreateOptions::mutable_stream() {
2648 set_has_stream();
2649 if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::CreateStreamOptions;
2650 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.stream)
2651 return stream_;
2652}
2653inline ::bgs::protocol::club::v1::CreateStreamOptions* ClubCreateOptions::release_stream() {
2654 clear_has_stream();
2656 stream_ = NULL;
2657 return temp;
2658}
2660 delete stream_;
2661 stream_ = stream;
2662 if (stream) {
2663 set_has_stream();
2664 } else {
2665 clear_has_stream();
2666 }
2667 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.stream)
2668}
2669
2670// optional .bgs.protocol.club.v1.TagOptions tag = 12;
2671inline bool ClubCreateOptions::has_tag() const {
2672 return (_has_bits_[0] & 0x00000400u) != 0;
2673}
2675 _has_bits_[0] |= 0x00000400u;
2676}
2678 _has_bits_[0] &= ~0x00000400u;
2679}
2681 if (tag_ != NULL) tag_->::bgs::protocol::club::v1::TagOptions::Clear();
2682 clear_has_tag();
2683}
2684inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const {
2685 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.tag)
2686 return tag_ != NULL ? *tag_ : *default_instance_->tag_;
2687}
2688inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::mutable_tag() {
2689 set_has_tag();
2690 if (tag_ == NULL) tag_ = new ::bgs::protocol::club::v1::TagOptions;
2691 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.tag)
2692 return tag_;
2693}
2694inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() {
2695 clear_has_tag();
2697 tag_ = NULL;
2698 return temp;
2699}
2701 delete tag_;
2702 tag_ = tag;
2703 if (tag) {
2704 set_has_tag();
2705 } else {
2706 clear_has_tag();
2707 }
2708 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.tag)
2709}
2710
2711// repeated .bgs.protocol.v2.Attribute search_attribute = 13;
2713 return search_attribute_.size();
2714}
2716 search_attribute_.Clear();
2717}
2718inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::search_attribute(int index) const {
2719 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
2720 return search_attribute_.Get(index);
2721}
2722inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_search_attribute(int index) {
2723 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
2724 return search_attribute_.Mutable(index);
2725}
2726inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_search_attribute() {
2727 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
2728 return search_attribute_.Add();
2729}
2730inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2732 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
2733 return search_attribute_;
2734}
2735inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2737 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubCreateOptions.search_attribute)
2738 return &search_attribute_;
2739}
2740
2741// optional string locale = 14;
2743 return (_has_bits_[0] & 0x00001000u) != 0;
2744}
2746 _has_bits_[0] |= 0x00001000u;
2747}
2749 _has_bits_[0] &= ~0x00001000u;
2750}
2752 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2753 locale_->clear();
2754 }
2755 clear_has_locale();
2756}
2757inline const ::std::string& ClubCreateOptions::locale() const {
2758 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.locale)
2759 return *locale_;
2760}
2761inline void ClubCreateOptions::set_locale(const ::std::string& value) {
2762 set_has_locale();
2763 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2764 locale_ = new ::std::string;
2765 }
2766 locale_->assign(value);
2767 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.locale)
2768}
2769inline void ClubCreateOptions::set_locale(const char* value) {
2770 set_has_locale();
2771 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2772 locale_ = new ::std::string;
2773 }
2774 locale_->assign(value);
2775 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.locale)
2776}
2777inline void ClubCreateOptions::set_locale(const char* value, size_t size) {
2778 set_has_locale();
2779 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2780 locale_ = new ::std::string;
2781 }
2782 locale_->assign(reinterpret_cast<const char*>(value), size);
2783 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.locale)
2784}
2785inline ::std::string* ClubCreateOptions::mutable_locale() {
2786 set_has_locale();
2787 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2788 locale_ = new ::std::string;
2789 }
2790 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.locale)
2791 return locale_;
2792}
2793inline ::std::string* ClubCreateOptions::release_locale() {
2794 clear_has_locale();
2795 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2796 return NULL;
2797 } else {
2798 ::std::string* temp = locale_;
2799 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2800 return temp;
2801 }
2802}
2803inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) {
2804 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2805 delete locale_;
2806 }
2807 if (locale) {
2808 set_has_locale();
2809 locale_ = locale;
2810 } else {
2811 clear_has_locale();
2812 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2813 }
2814 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.locale)
2815}
2816
2817// optional string timezone = 15;
2819 return (_has_bits_[0] & 0x00002000u) != 0;
2820}
2822 _has_bits_[0] |= 0x00002000u;
2823}
2825 _has_bits_[0] &= ~0x00002000u;
2826}
2828 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2829 timezone_->clear();
2830 }
2831 clear_has_timezone();
2832}
2833inline const ::std::string& ClubCreateOptions::timezone() const {
2834 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubCreateOptions.timezone)
2835 return *timezone_;
2836}
2837inline void ClubCreateOptions::set_timezone(const ::std::string& value) {
2838 set_has_timezone();
2839 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2840 timezone_ = new ::std::string;
2841 }
2842 timezone_->assign(value);
2843 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubCreateOptions.timezone)
2844}
2845inline void ClubCreateOptions::set_timezone(const char* value) {
2846 set_has_timezone();
2847 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2848 timezone_ = new ::std::string;
2849 }
2850 timezone_->assign(value);
2851 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubCreateOptions.timezone)
2852}
2853inline void ClubCreateOptions::set_timezone(const char* value, size_t size) {
2854 set_has_timezone();
2855 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2856 timezone_ = new ::std::string;
2857 }
2858 timezone_->assign(reinterpret_cast<const char*>(value), size);
2859 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubCreateOptions.timezone)
2860}
2862 set_has_timezone();
2863 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2864 timezone_ = new ::std::string;
2865 }
2866 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubCreateOptions.timezone)
2867 return timezone_;
2868}
2870 clear_has_timezone();
2871 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2872 return NULL;
2873 } else {
2874 ::std::string* temp = timezone_;
2875 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2876 return temp;
2877 }
2878}
2879inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) {
2880 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2881 delete timezone_;
2882 }
2883 if (timezone) {
2884 set_has_timezone();
2885 timezone_ = timezone;
2886 } else {
2887 clear_has_timezone();
2888 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2889 }
2890 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubCreateOptions.timezone)
2891}
2892
2893// -------------------------------------------------------------------
2894
2895// Club
2896
2897// optional uint64 id = 1;
2898inline bool Club::has_id() const {
2899 return (_has_bits_[0] & 0x00000001u) != 0;
2900}
2901inline void Club::set_has_id() {
2902 _has_bits_[0] |= 0x00000001u;
2903}
2904inline void Club::clear_has_id() {
2905 _has_bits_[0] &= ~0x00000001u;
2906}
2907inline void Club::clear_id() {
2908 id_ = GOOGLE_ULONGLONG(0);
2909 clear_has_id();
2910}
2912 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.id)
2913 return id_;
2914}
2916 set_has_id();
2917 id_ = value;
2918 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.id)
2919}
2920
2921// optional .bgs.protocol.club.v1.UniqueClubType type = 2;
2922inline bool Club::has_type() const {
2923 return (_has_bits_[0] & 0x00000002u) != 0;
2924}
2925inline void Club::set_has_type() {
2926 _has_bits_[0] |= 0x00000002u;
2927}
2929 _has_bits_[0] &= ~0x00000002u;
2930}
2931inline void Club::clear_type() {
2932 if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
2933 clear_has_type();
2934}
2935inline const ::bgs::protocol::club::v1::UniqueClubType& Club::type() const {
2936 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.type)
2937 return type_ != NULL ? *type_ : *default_instance_->type_;
2938}
2939inline ::bgs::protocol::club::v1::UniqueClubType* Club::mutable_type() {
2940 set_has_type();
2941 if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType;
2942 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.type)
2943 return type_;
2944}
2945inline ::bgs::protocol::club::v1::UniqueClubType* Club::release_type() {
2946 clear_has_type();
2948 type_ = NULL;
2949 return temp;
2950}
2952 delete type_;
2953 type_ = type;
2954 if (type) {
2955 set_has_type();
2956 } else {
2957 clear_has_type();
2958 }
2959 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.type)
2960}
2961
2962// repeated .bgs.protocol.v2.Attribute attribute = 3;
2963inline int Club::attribute_size() const {
2964 return attribute_.size();
2965}
2967 attribute_.Clear();
2968}
2969inline const ::bgs::protocol::v2::Attribute& Club::attribute(int index) const {
2970 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.attribute)
2971 return attribute_.Get(index);
2972}
2973inline ::bgs::protocol::v2::Attribute* Club::mutable_attribute(int index) {
2974 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.attribute)
2975 return attribute_.Mutable(index);
2976}
2977inline ::bgs::protocol::v2::Attribute* Club::add_attribute() {
2978 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.attribute)
2979 return attribute_.Add();
2980}
2981inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2983 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.attribute)
2984 return attribute_;
2985}
2986inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2988 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.attribute)
2989 return &attribute_;
2990}
2991
2992// optional string name = 4;
2993inline bool Club::has_name() const {
2994 return (_has_bits_[0] & 0x00000008u) != 0;
2995}
2996inline void Club::set_has_name() {
2997 _has_bits_[0] |= 0x00000008u;
2998}
3000 _has_bits_[0] &= ~0x00000008u;
3001}
3002inline void Club::clear_name() {
3003 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3004 name_->clear();
3005 }
3006 clear_has_name();
3007}
3008inline const ::std::string& Club::name() const {
3009 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.name)
3010 return *name_;
3011}
3012inline void Club::set_name(const ::std::string& value) {
3013 set_has_name();
3014 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3015 name_ = new ::std::string;
3016 }
3017 name_->assign(value);
3018 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.name)
3019}
3020inline void Club::set_name(const char* value) {
3021 set_has_name();
3022 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3023 name_ = new ::std::string;
3024 }
3025 name_->assign(value);
3026 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.name)
3027}
3028inline void Club::set_name(const char* value, size_t size) {
3029 set_has_name();
3030 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3031 name_ = new ::std::string;
3032 }
3033 name_->assign(reinterpret_cast<const char*>(value), size);
3034 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.name)
3035}
3036inline ::std::string* Club::mutable_name() {
3037 set_has_name();
3038 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3039 name_ = new ::std::string;
3040 }
3041 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.name)
3042 return name_;
3043}
3044inline ::std::string* Club::release_name() {
3045 clear_has_name();
3046 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3047 return NULL;
3048 } else {
3049 ::std::string* temp = name_;
3050 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3051 return temp;
3052 }
3053}
3054inline void Club::set_allocated_name(::std::string* name) {
3055 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3056 delete name_;
3057 }
3058 if (name) {
3059 set_has_name();
3060 name_ = name;
3061 } else {
3062 clear_has_name();
3063 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3064 }
3065 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.name)
3066}
3067
3068// optional string description = 5;
3069inline bool Club::has_description() const {
3070 return (_has_bits_[0] & 0x00000010u) != 0;
3071}
3073 _has_bits_[0] |= 0x00000010u;
3074}
3076 _has_bits_[0] &= ~0x00000010u;
3077}
3079 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3080 description_->clear();
3081 }
3082 clear_has_description();
3083}
3084inline const ::std::string& Club::description() const {
3085 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.description)
3086 return *description_;
3087}
3088inline void Club::set_description(const ::std::string& value) {
3089 set_has_description();
3090 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3091 description_ = new ::std::string;
3092 }
3093 description_->assign(value);
3094 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.description)
3095}
3096inline void Club::set_description(const char* value) {
3097 set_has_description();
3098 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3099 description_ = new ::std::string;
3100 }
3101 description_->assign(value);
3102 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.description)
3103}
3104inline void Club::set_description(const char* value, size_t size) {
3105 set_has_description();
3106 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3107 description_ = new ::std::string;
3108 }
3109 description_->assign(reinterpret_cast<const char*>(value), size);
3110 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.description)
3111}
3112inline ::std::string* Club::mutable_description() {
3113 set_has_description();
3114 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3115 description_ = new ::std::string;
3116 }
3117 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.description)
3118 return description_;
3119}
3120inline ::std::string* Club::release_description() {
3121 clear_has_description();
3122 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3123 return NULL;
3124 } else {
3125 ::std::string* temp = description_;
3126 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3127 return temp;
3128 }
3129}
3130inline void Club::set_allocated_description(::std::string* description) {
3131 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3132 delete description_;
3133 }
3134 if (description) {
3135 set_has_description();
3136 description_ = description;
3137 } else {
3138 clear_has_description();
3139 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3140 }
3141 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.description)
3142}
3143
3144// optional .bgs.protocol.club.v1.Broadcast broadcast = 6;
3145inline bool Club::has_broadcast() const {
3146 return (_has_bits_[0] & 0x00000020u) != 0;
3147}
3149 _has_bits_[0] |= 0x00000020u;
3150}
3152 _has_bits_[0] &= ~0x00000020u;
3153}
3155 if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::Broadcast::Clear();
3156 clear_has_broadcast();
3157}
3158inline const ::bgs::protocol::club::v1::Broadcast& Club::broadcast() const {
3159 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.broadcast)
3160 return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_;
3161}
3162inline ::bgs::protocol::club::v1::Broadcast* Club::mutable_broadcast() {
3163 set_has_broadcast();
3164 if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::Broadcast;
3165 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.broadcast)
3166 return broadcast_;
3167}
3168inline ::bgs::protocol::club::v1::Broadcast* Club::release_broadcast() {
3169 clear_has_broadcast();
3170 ::bgs::protocol::club::v1::Broadcast* temp = broadcast_;
3171 broadcast_ = NULL;
3172 return temp;
3173}
3175 delete broadcast_;
3176 broadcast_ = broadcast;
3177 if (broadcast) {
3178 set_has_broadcast();
3179 } else {
3180 clear_has_broadcast();
3181 }
3182 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.broadcast)
3183}
3184
3185// optional .bgs.protocol.club.v1.AvatarId avatar = 7;
3186inline bool Club::has_avatar() const {
3187 return (_has_bits_[0] & 0x00000040u) != 0;
3188}
3190 _has_bits_[0] |= 0x00000040u;
3191}
3193 _has_bits_[0] &= ~0x00000040u;
3194}
3195inline void Club::clear_avatar() {
3196 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
3197 clear_has_avatar();
3198}
3199inline const ::bgs::protocol::club::v1::AvatarId& Club::avatar() const {
3200 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.avatar)
3201 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
3202}
3203inline ::bgs::protocol::club::v1::AvatarId* Club::mutable_avatar() {
3204 set_has_avatar();
3205 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
3206 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.avatar)
3207 return avatar_;
3208}
3209inline ::bgs::protocol::club::v1::AvatarId* Club::release_avatar() {
3210 clear_has_avatar();
3212 avatar_ = NULL;
3213 return temp;
3214}
3216 delete avatar_;
3217 avatar_ = avatar;
3218 if (avatar) {
3219 set_has_avatar();
3220 } else {
3221 clear_has_avatar();
3222 }
3223 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.avatar)
3224}
3225
3226// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8;
3227inline bool Club::has_privacy_level() const {
3228 return (_has_bits_[0] & 0x00000080u) != 0;
3229}
3231 _has_bits_[0] |= 0x00000080u;
3232}
3234 _has_bits_[0] &= ~0x00000080u;
3235}
3237 privacy_level_ = 0;
3238 clear_has_privacy_level();
3239}
3241 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.privacy_level)
3242 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
3243}
3246 set_has_privacy_level();
3247 privacy_level_ = value;
3248 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.privacy_level)
3249}
3250
3251// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
3252inline bool Club::has_visibility_level() const {
3253 return (_has_bits_[0] & 0x00000100u) != 0;
3254}
3256 _has_bits_[0] |= 0x00000100u;
3257}
3259 _has_bits_[0] &= ~0x00000100u;
3260}
3262 visibility_level_ = 0;
3263 clear_has_visibility_level();
3264}
3266 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.visibility_level)
3267 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
3268}
3271 set_has_visibility_level();
3272 visibility_level_ = value;
3273 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.visibility_level)
3274}
3275
3276// optional uint32 member_count = 10;
3277inline bool Club::has_member_count() const {
3278 return (_has_bits_[0] & 0x00000200u) != 0;
3279}
3281 _has_bits_[0] |= 0x00000200u;
3282}
3284 _has_bits_[0] &= ~0x00000200u;
3285}
3287 member_count_ = 0u;
3288 clear_has_member_count();
3289}
3291 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.member_count)
3292 return member_count_;
3293}
3295 set_has_member_count();
3296 member_count_ = value;
3297 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.member_count)
3298}
3299
3300// optional uint64 creation_time = 11;
3301inline bool Club::has_creation_time() const {
3302 return (_has_bits_[0] & 0x00000400u) != 0;
3303}
3305 _has_bits_[0] |= 0x00000400u;
3306}
3308 _has_bits_[0] &= ~0x00000400u;
3309}
3311 creation_time_ = GOOGLE_ULONGLONG(0);
3312 clear_has_creation_time();
3313}
3315 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.creation_time)
3316 return creation_time_;
3317}
3319 set_has_creation_time();
3320 creation_time_ = value;
3321 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.creation_time)
3322}
3323
3324// optional .bgs.protocol.club.v1.StreamPosition stream_position = 12;
3325inline bool Club::has_stream_position() const {
3326 return (_has_bits_[0] & 0x00000800u) != 0;
3327}
3329 _has_bits_[0] |= 0x00000800u;
3330}
3332 _has_bits_[0] &= ~0x00000800u;
3333}
3335 if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::StreamPosition::Clear();
3336 clear_has_stream_position();
3337}
3338inline const ::bgs::protocol::club::v1::StreamPosition& Club::stream_position() const {
3339 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.stream_position)
3340 return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_;
3341}
3342inline ::bgs::protocol::club::v1::StreamPosition* Club::mutable_stream_position() {
3343 set_has_stream_position();
3344 if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::StreamPosition;
3345 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.stream_position)
3346 return stream_position_;
3347}
3348inline ::bgs::protocol::club::v1::StreamPosition* Club::release_stream_position() {
3349 clear_has_stream_position();
3350 ::bgs::protocol::club::v1::StreamPosition* temp = stream_position_;
3351 stream_position_ = NULL;
3352 return temp;
3353}
3355 delete stream_position_;
3356 stream_position_ = stream_position;
3357 if (stream_position) {
3358 set_has_stream_position();
3359 } else {
3360 clear_has_stream_position();
3361 }
3362 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.stream_position)
3363}
3364
3365// optional .bgs.protocol.club.v1.ClubRoleSet role_set = 13;
3366inline bool Club::has_role_set() const {
3367 return (_has_bits_[0] & 0x00001000u) != 0;
3368}
3370 _has_bits_[0] |= 0x00001000u;
3371}
3373 _has_bits_[0] &= ~0x00001000u;
3374}
3376 if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::ClubRoleSet::Clear();
3377 clear_has_role_set();
3378}
3379inline const ::bgs::protocol::club::v1::ClubRoleSet& Club::role_set() const {
3380 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.role_set)
3381 return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_;
3382}
3383inline ::bgs::protocol::club::v1::ClubRoleSet* Club::mutable_role_set() {
3384 set_has_role_set();
3385 if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::ClubRoleSet;
3386 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.role_set)
3387 return role_set_;
3388}
3389inline ::bgs::protocol::club::v1::ClubRoleSet* Club::release_role_set() {
3390 clear_has_role_set();
3392 role_set_ = NULL;
3393 return temp;
3394}
3396 delete role_set_;
3397 role_set_ = role_set;
3398 if (role_set) {
3399 set_has_role_set();
3400 } else {
3401 clear_has_role_set();
3402 }
3403 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.role_set)
3404}
3405
3406// repeated .bgs.protocol.club.v1.MemberDescription leader = 14;
3407inline int Club::leader_size() const {
3408 return leader_.size();
3409}
3410inline void Club::clear_leader() {
3411 leader_.Clear();
3412}
3413inline const ::bgs::protocol::club::v1::MemberDescription& Club::leader(int index) const {
3414 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.leader)
3415 return leader_.Get(index);
3416}
3417inline ::bgs::protocol::club::v1::MemberDescription* Club::mutable_leader(int index) {
3418 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.leader)
3419 return leader_.Mutable(index);
3420}
3421inline ::bgs::protocol::club::v1::MemberDescription* Club::add_leader() {
3422 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.leader)
3423 return leader_.Add();
3424}
3425inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >&
3427 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.leader)
3428 return leader_;
3429}
3430inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >*
3432 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.leader)
3433 return &leader_;
3434}
3435
3436// optional string short_name = 15;
3437inline bool Club::has_short_name() const {
3438 return (_has_bits_[0] & 0x00004000u) != 0;
3439}
3441 _has_bits_[0] |= 0x00004000u;
3442}
3444 _has_bits_[0] &= ~0x00004000u;
3445}
3447 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3448 short_name_->clear();
3449 }
3450 clear_has_short_name();
3451}
3452inline const ::std::string& Club::short_name() const {
3453 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.short_name)
3454 return *short_name_;
3455}
3456inline void Club::set_short_name(const ::std::string& value) {
3457 set_has_short_name();
3458 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3459 short_name_ = new ::std::string;
3460 }
3461 short_name_->assign(value);
3462 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.short_name)
3463}
3464inline void Club::set_short_name(const char* value) {
3465 set_has_short_name();
3466 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3467 short_name_ = new ::std::string;
3468 }
3469 short_name_->assign(value);
3470 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.short_name)
3471}
3472inline void Club::set_short_name(const char* value, size_t size) {
3473 set_has_short_name();
3474 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3475 short_name_ = new ::std::string;
3476 }
3477 short_name_->assign(reinterpret_cast<const char*>(value), size);
3478 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.short_name)
3479}
3480inline ::std::string* Club::mutable_short_name() {
3481 set_has_short_name();
3482 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3483 short_name_ = new ::std::string;
3484 }
3485 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.short_name)
3486 return short_name_;
3487}
3488inline ::std::string* Club::release_short_name() {
3489 clear_has_short_name();
3490 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3491 return NULL;
3492 } else {
3493 ::std::string* temp = short_name_;
3494 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3495 return temp;
3496 }
3497}
3498inline void Club::set_allocated_short_name(::std::string* short_name) {
3499 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3500 delete short_name_;
3501 }
3502 if (short_name) {
3503 set_has_short_name();
3504 short_name_ = short_name;
3505 } else {
3506 clear_has_short_name();
3507 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3508 }
3509 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.short_name)
3510}
3511
3512// repeated .bgs.protocol.v2.Attribute search_attribute = 16;
3514 return search_attribute_.size();
3515}
3517 search_attribute_.Clear();
3518}
3519inline const ::bgs::protocol::v2::Attribute& Club::search_attribute(int index) const {
3520 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.search_attribute)
3521 return search_attribute_.Get(index);
3522}
3523inline ::bgs::protocol::v2::Attribute* Club::mutable_search_attribute(int index) {
3524 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.search_attribute)
3525 return search_attribute_.Mutable(index);
3526}
3527inline ::bgs::protocol::v2::Attribute* Club::add_search_attribute() {
3528 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.search_attribute)
3529 return search_attribute_.Add();
3530}
3531inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3533 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.search_attribute)
3534 return search_attribute_;
3535}
3536inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3538 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.search_attribute)
3539 return &search_attribute_;
3540}
3541
3542// repeated .bgs.protocol.club.v1.TagIdentifier tag = 17;
3543inline int Club::tag_size() const {
3544 return tag_.size();
3545}
3546inline void Club::clear_tag() {
3547 tag_.Clear();
3548}
3549inline const ::bgs::protocol::club::v1::TagIdentifier& Club::tag(int index) const {
3550 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.tag)
3551 return tag_.Get(index);
3552}
3553inline ::bgs::protocol::club::v1::TagIdentifier* Club::mutable_tag(int index) {
3554 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.tag)
3555 return tag_.Mutable(index);
3556}
3557inline ::bgs::protocol::club::v1::TagIdentifier* Club::add_tag() {
3558 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Club.tag)
3559 return tag_.Add();
3560}
3561inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
3562Club::tag() const {
3563 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Club.tag)
3564 return tag_;
3565}
3566inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
3568 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Club.tag)
3569 return &tag_;
3570}
3571
3572// optional string locale = 18;
3573inline bool Club::has_locale() const {
3574 return (_has_bits_[0] & 0x00020000u) != 0;
3575}
3577 _has_bits_[0] |= 0x00020000u;
3578}
3580 _has_bits_[0] &= ~0x00020000u;
3581}
3582inline void Club::clear_locale() {
3583 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3584 locale_->clear();
3585 }
3586 clear_has_locale();
3587}
3588inline const ::std::string& Club::locale() const {
3589 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.locale)
3590 return *locale_;
3591}
3592inline void Club::set_locale(const ::std::string& value) {
3593 set_has_locale();
3594 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3595 locale_ = new ::std::string;
3596 }
3597 locale_->assign(value);
3598 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.locale)
3599}
3600inline void Club::set_locale(const char* value) {
3601 set_has_locale();
3602 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3603 locale_ = new ::std::string;
3604 }
3605 locale_->assign(value);
3606 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.locale)
3607}
3608inline void Club::set_locale(const char* value, size_t size) {
3609 set_has_locale();
3610 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3611 locale_ = new ::std::string;
3612 }
3613 locale_->assign(reinterpret_cast<const char*>(value), size);
3614 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.locale)
3615}
3616inline ::std::string* Club::mutable_locale() {
3617 set_has_locale();
3618 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3619 locale_ = new ::std::string;
3620 }
3621 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.locale)
3622 return locale_;
3623}
3624inline ::std::string* Club::release_locale() {
3625 clear_has_locale();
3626 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3627 return NULL;
3628 } else {
3629 ::std::string* temp = locale_;
3630 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3631 return temp;
3632 }
3633}
3634inline void Club::set_allocated_locale(::std::string* locale) {
3635 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3636 delete locale_;
3637 }
3638 if (locale) {
3639 set_has_locale();
3640 locale_ = locale;
3641 } else {
3642 clear_has_locale();
3643 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3644 }
3645 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.locale)
3646}
3647
3648// optional string timezone = 19;
3649inline bool Club::has_timezone() const {
3650 return (_has_bits_[0] & 0x00040000u) != 0;
3651}
3653 _has_bits_[0] |= 0x00040000u;
3654}
3656 _has_bits_[0] &= ~0x00040000u;
3657}
3659 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3660 timezone_->clear();
3661 }
3662 clear_has_timezone();
3663}
3664inline const ::std::string& Club::timezone() const {
3665 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Club.timezone)
3666 return *timezone_;
3667}
3668inline void Club::set_timezone(const ::std::string& value) {
3669 set_has_timezone();
3670 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3671 timezone_ = new ::std::string;
3672 }
3673 timezone_->assign(value);
3674 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Club.timezone)
3675}
3676inline void Club::set_timezone(const char* value) {
3677 set_has_timezone();
3678 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3679 timezone_ = new ::std::string;
3680 }
3681 timezone_->assign(value);
3682 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Club.timezone)
3683}
3684inline void Club::set_timezone(const char* value, size_t size) {
3685 set_has_timezone();
3686 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3687 timezone_ = new ::std::string;
3688 }
3689 timezone_->assign(reinterpret_cast<const char*>(value), size);
3690 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Club.timezone)
3691}
3692inline ::std::string* Club::mutable_timezone() {
3693 set_has_timezone();
3694 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3695 timezone_ = new ::std::string;
3696 }
3697 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Club.timezone)
3698 return timezone_;
3699}
3700inline ::std::string* Club::release_timezone() {
3701 clear_has_timezone();
3702 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3703 return NULL;
3704 } else {
3705 ::std::string* temp = timezone_;
3706 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3707 return temp;
3708 }
3709}
3710inline void Club::set_allocated_timezone(::std::string* timezone) {
3711 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3712 delete timezone_;
3713 }
3714 if (timezone) {
3715 set_has_timezone();
3716 timezone_ = timezone;
3717 } else {
3718 clear_has_timezone();
3719 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3720 }
3721 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Club.timezone)
3722}
3723
3724// -------------------------------------------------------------------
3725
3726// ClubDescription
3727
3728// optional uint64 id = 1;
3729inline bool ClubDescription::has_id() const {
3730 return (_has_bits_[0] & 0x00000001u) != 0;
3731}
3733 _has_bits_[0] |= 0x00000001u;
3734}
3736 _has_bits_[0] &= ~0x00000001u;
3737}
3739 id_ = GOOGLE_ULONGLONG(0);
3740 clear_has_id();
3741}
3743 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.id)
3744 return id_;
3745}
3747 set_has_id();
3748 id_ = value;
3749 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.id)
3750}
3751
3752// optional .bgs.protocol.club.v1.UniqueClubType type = 2;
3753inline bool ClubDescription::has_type() const {
3754 return (_has_bits_[0] & 0x00000002u) != 0;
3755}
3757 _has_bits_[0] |= 0x00000002u;
3758}
3760 _has_bits_[0] &= ~0x00000002u;
3761}
3763 if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
3764 clear_has_type();
3765}
3766inline const ::bgs::protocol::club::v1::UniqueClubType& ClubDescription::type() const {
3767 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.type)
3768 return type_ != NULL ? *type_ : *default_instance_->type_;
3769}
3770inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::mutable_type() {
3771 set_has_type();
3772 if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType;
3773 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.type)
3774 return type_;
3775}
3776inline ::bgs::protocol::club::v1::UniqueClubType* ClubDescription::release_type() {
3777 clear_has_type();
3779 type_ = NULL;
3780 return temp;
3781}
3783 delete type_;
3784 type_ = type;
3785 if (type) {
3786 set_has_type();
3787 } else {
3788 clear_has_type();
3789 }
3790 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.type)
3791}
3792
3793// optional string name = 3;
3794inline bool ClubDescription::has_name() const {
3795 return (_has_bits_[0] & 0x00000004u) != 0;
3796}
3798 _has_bits_[0] |= 0x00000004u;
3799}
3801 _has_bits_[0] &= ~0x00000004u;
3802}
3804 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3805 name_->clear();
3806 }
3807 clear_has_name();
3808}
3809inline const ::std::string& ClubDescription::name() const {
3810 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.name)
3811 return *name_;
3812}
3813inline void ClubDescription::set_name(const ::std::string& value) {
3814 set_has_name();
3815 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3816 name_ = new ::std::string;
3817 }
3818 name_->assign(value);
3819 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.name)
3820}
3821inline void ClubDescription::set_name(const char* value) {
3822 set_has_name();
3823 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3824 name_ = new ::std::string;
3825 }
3826 name_->assign(value);
3827 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.name)
3828}
3829inline void ClubDescription::set_name(const char* value, size_t size) {
3830 set_has_name();
3831 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3832 name_ = new ::std::string;
3833 }
3834 name_->assign(reinterpret_cast<const char*>(value), size);
3835 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.name)
3836}
3837inline ::std::string* ClubDescription::mutable_name() {
3838 set_has_name();
3839 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3840 name_ = new ::std::string;
3841 }
3842 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.name)
3843 return name_;
3844}
3845inline ::std::string* ClubDescription::release_name() {
3846 clear_has_name();
3847 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3848 return NULL;
3849 } else {
3850 ::std::string* temp = name_;
3851 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3852 return temp;
3853 }
3854}
3855inline void ClubDescription::set_allocated_name(::std::string* name) {
3856 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3857 delete name_;
3858 }
3859 if (name) {
3860 set_has_name();
3861 name_ = name;
3862 } else {
3863 clear_has_name();
3864 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3865 }
3866 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.name)
3867}
3868
3869// optional string description = 4;
3871 return (_has_bits_[0] & 0x00000008u) != 0;
3872}
3874 _has_bits_[0] |= 0x00000008u;
3875}
3877 _has_bits_[0] &= ~0x00000008u;
3878}
3880 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3881 description_->clear();
3882 }
3883 clear_has_description();
3884}
3885inline const ::std::string& ClubDescription::description() const {
3886 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.description)
3887 return *description_;
3888}
3889inline void ClubDescription::set_description(const ::std::string& value) {
3890 set_has_description();
3891 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3892 description_ = new ::std::string;
3893 }
3894 description_->assign(value);
3895 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.description)
3896}
3897inline void ClubDescription::set_description(const char* value) {
3898 set_has_description();
3899 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3900 description_ = new ::std::string;
3901 }
3902 description_->assign(value);
3903 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.description)
3904}
3905inline void ClubDescription::set_description(const char* value, size_t size) {
3906 set_has_description();
3907 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3908 description_ = new ::std::string;
3909 }
3910 description_->assign(reinterpret_cast<const char*>(value), size);
3911 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.description)
3912}
3914 set_has_description();
3915 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3916 description_ = new ::std::string;
3917 }
3918 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.description)
3919 return description_;
3920}
3922 clear_has_description();
3923 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3924 return NULL;
3925 } else {
3926 ::std::string* temp = description_;
3927 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3928 return temp;
3929 }
3930}
3931inline void ClubDescription::set_allocated_description(::std::string* description) {
3932 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3933 delete description_;
3934 }
3935 if (description) {
3936 set_has_description();
3937 description_ = description;
3938 } else {
3939 clear_has_description();
3940 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3941 }
3942 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.description)
3943}
3944
3945// optional .bgs.protocol.club.v1.AvatarId avatar = 5;
3946inline bool ClubDescription::has_avatar() const {
3947 return (_has_bits_[0] & 0x00000010u) != 0;
3948}
3950 _has_bits_[0] |= 0x00000010u;
3951}
3953 _has_bits_[0] &= ~0x00000010u;
3954}
3956 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
3957 clear_has_avatar();
3958}
3959inline const ::bgs::protocol::club::v1::AvatarId& ClubDescription::avatar() const {
3960 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.avatar)
3961 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
3962}
3963inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::mutable_avatar() {
3964 set_has_avatar();
3965 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
3966 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.avatar)
3967 return avatar_;
3968}
3969inline ::bgs::protocol::club::v1::AvatarId* ClubDescription::release_avatar() {
3970 clear_has_avatar();
3972 avatar_ = NULL;
3973 return temp;
3974}
3976 delete avatar_;
3977 avatar_ = avatar;
3978 if (avatar) {
3979 set_has_avatar();
3980 } else {
3981 clear_has_avatar();
3982 }
3983 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.avatar)
3984}
3985
3986// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
3988 return (_has_bits_[0] & 0x00000020u) != 0;
3989}
3991 _has_bits_[0] |= 0x00000020u;
3992}
3994 _has_bits_[0] &= ~0x00000020u;
3995}
3997 privacy_level_ = 0;
3998 clear_has_privacy_level();
3999}
4001 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.privacy_level)
4002 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
4003}
4006 set_has_privacy_level();
4007 privacy_level_ = value;
4008 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.privacy_level)
4009}
4010
4011// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 7;
4013 return (_has_bits_[0] & 0x00000040u) != 0;
4014}
4016 _has_bits_[0] |= 0x00000040u;
4017}
4019 _has_bits_[0] &= ~0x00000040u;
4020}
4022 visibility_level_ = 0;
4023 clear_has_visibility_level();
4024}
4026 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.visibility_level)
4027 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
4028}
4031 set_has_visibility_level();
4032 visibility_level_ = value;
4033 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.visibility_level)
4034}
4035
4036// optional uint32 member_count = 8;
4038 return (_has_bits_[0] & 0x00000080u) != 0;
4039}
4041 _has_bits_[0] |= 0x00000080u;
4042}
4044 _has_bits_[0] &= ~0x00000080u;
4045}
4047 member_count_ = 0u;
4048 clear_has_member_count();
4049}
4051 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.member_count)
4052 return member_count_;
4053}
4055 set_has_member_count();
4056 member_count_ = value;
4057 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.member_count)
4058}
4059
4060// repeated .bgs.protocol.club.v1.MemberDescription leader = 9;
4062 return leader_.size();
4063}
4065 leader_.Clear();
4066}
4067inline const ::bgs::protocol::club::v1::MemberDescription& ClubDescription::leader(int index) const {
4068 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.leader)
4069 return leader_.Get(index);
4070}
4071inline ::bgs::protocol::club::v1::MemberDescription* ClubDescription::mutable_leader(int index) {
4072 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.leader)
4073 return leader_.Mutable(index);
4074}
4075inline ::bgs::protocol::club::v1::MemberDescription* ClubDescription::add_leader() {
4076 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.leader)
4077 return leader_.Add();
4078}
4079inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >&
4081 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.leader)
4082 return leader_;
4083}
4084inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription >*
4086 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.leader)
4087 return &leader_;
4088}
4089
4090// optional uint64 creation_time = 10;
4092 return (_has_bits_[0] & 0x00000200u) != 0;
4093}
4095 _has_bits_[0] |= 0x00000200u;
4096}
4098 _has_bits_[0] &= ~0x00000200u;
4099}
4101 creation_time_ = GOOGLE_ULONGLONG(0);
4102 clear_has_creation_time();
4103}
4105 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.creation_time)
4106 return creation_time_;
4107}
4109 set_has_creation_time();
4110 creation_time_ = value;
4111 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.creation_time)
4112}
4113
4114// optional string timezone = 11;
4116 return (_has_bits_[0] & 0x00000400u) != 0;
4117}
4119 _has_bits_[0] |= 0x00000400u;
4120}
4122 _has_bits_[0] &= ~0x00000400u;
4123}
4125 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4126 timezone_->clear();
4127 }
4128 clear_has_timezone();
4129}
4130inline const ::std::string& ClubDescription::timezone() const {
4131 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.timezone)
4132 return *timezone_;
4133}
4134inline void ClubDescription::set_timezone(const ::std::string& value) {
4135 set_has_timezone();
4136 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4137 timezone_ = new ::std::string;
4138 }
4139 timezone_->assign(value);
4140 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.timezone)
4141}
4142inline void ClubDescription::set_timezone(const char* value) {
4143 set_has_timezone();
4144 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4145 timezone_ = new ::std::string;
4146 }
4147 timezone_->assign(value);
4148 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.timezone)
4149}
4150inline void ClubDescription::set_timezone(const char* value, size_t size) {
4151 set_has_timezone();
4152 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4153 timezone_ = new ::std::string;
4154 }
4155 timezone_->assign(reinterpret_cast<const char*>(value), size);
4156 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.timezone)
4157}
4158inline ::std::string* ClubDescription::mutable_timezone() {
4159 set_has_timezone();
4160 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4161 timezone_ = new ::std::string;
4162 }
4163 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.timezone)
4164 return timezone_;
4165}
4166inline ::std::string* ClubDescription::release_timezone() {
4167 clear_has_timezone();
4168 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4169 return NULL;
4170 } else {
4171 ::std::string* temp = timezone_;
4172 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4173 return temp;
4174 }
4175}
4176inline void ClubDescription::set_allocated_timezone(::std::string* timezone) {
4177 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4178 delete timezone_;
4179 }
4180 if (timezone) {
4181 set_has_timezone();
4182 timezone_ = timezone;
4183 } else {
4184 clear_has_timezone();
4185 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4186 }
4187 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.timezone)
4188}
4189
4190// optional string locale = 12;
4191inline bool ClubDescription::has_locale() const {
4192 return (_has_bits_[0] & 0x00000800u) != 0;
4193}
4195 _has_bits_[0] |= 0x00000800u;
4196}
4198 _has_bits_[0] &= ~0x00000800u;
4199}
4201 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4202 locale_->clear();
4203 }
4204 clear_has_locale();
4205}
4206inline const ::std::string& ClubDescription::locale() const {
4207 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.locale)
4208 return *locale_;
4209}
4210inline void ClubDescription::set_locale(const ::std::string& value) {
4211 set_has_locale();
4212 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4213 locale_ = new ::std::string;
4214 }
4215 locale_->assign(value);
4216 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubDescription.locale)
4217}
4218inline void ClubDescription::set_locale(const char* value) {
4219 set_has_locale();
4220 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4221 locale_ = new ::std::string;
4222 }
4223 locale_->assign(value);
4224 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubDescription.locale)
4225}
4226inline void ClubDescription::set_locale(const char* value, size_t size) {
4227 set_has_locale();
4228 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4229 locale_ = new ::std::string;
4230 }
4231 locale_->assign(reinterpret_cast<const char*>(value), size);
4232 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubDescription.locale)
4233}
4234inline ::std::string* ClubDescription::mutable_locale() {
4235 set_has_locale();
4236 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4237 locale_ = new ::std::string;
4238 }
4239 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.locale)
4240 return locale_;
4241}
4242inline ::std::string* ClubDescription::release_locale() {
4243 clear_has_locale();
4244 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4245 return NULL;
4246 } else {
4247 ::std::string* temp = locale_;
4248 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4249 return temp;
4250 }
4251}
4252inline void ClubDescription::set_allocated_locale(::std::string* locale) {
4253 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4254 delete locale_;
4255 }
4256 if (locale) {
4257 set_has_locale();
4258 locale_ = locale;
4259 } else {
4260 clear_has_locale();
4261 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4262 }
4263 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubDescription.locale)
4264}
4265
4266// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
4267inline int ClubDescription::tag_size() const {
4268 return tag_.size();
4269}
4271 tag_.Clear();
4272}
4273inline const ::bgs::protocol::club::v1::TagIdentifier& ClubDescription::tag(int index) const {
4274 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubDescription.tag)
4275 return tag_.Get(index);
4276}
4277inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::mutable_tag(int index) {
4278 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubDescription.tag)
4279 return tag_.Mutable(index);
4280}
4281inline ::bgs::protocol::club::v1::TagIdentifier* ClubDescription::add_tag() {
4282 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubDescription.tag)
4283 return tag_.Add();
4284}
4285inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
4287 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubDescription.tag)
4288 return tag_;
4289}
4290inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
4292 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubDescription.tag)
4293 return &tag_;
4294}
4295
4296// -------------------------------------------------------------------
4297
4298// ClubView
4299
4300// optional uint64 club_id = 1;
4301inline bool ClubView::has_club_id() const {
4302 return (_has_bits_[0] & 0x00000001u) != 0;
4303}
4305 _has_bits_[0] |= 0x00000001u;
4306}
4308 _has_bits_[0] &= ~0x00000001u;
4309}
4311 club_id_ = GOOGLE_ULONGLONG(0);
4312 clear_has_club_id();
4313}
4315 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubView.club_id)
4316 return club_id_;
4317}
4319 set_has_club_id();
4320 club_id_ = value;
4321 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubView.club_id)
4322}
4323
4324// optional .bgs.protocol.ViewMarker marker = 2;
4325inline bool ClubView::has_marker() const {
4326 return (_has_bits_[0] & 0x00000002u) != 0;
4327}
4329 _has_bits_[0] |= 0x00000002u;
4330}
4332 _has_bits_[0] &= ~0x00000002u;
4333}
4335 if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear();
4336 clear_has_marker();
4337}
4338inline const ::bgs::protocol::ViewMarker& ClubView::marker() const {
4339 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubView.marker)
4340 return marker_ != NULL ? *marker_ : *default_instance_->marker_;
4341}
4342inline ::bgs::protocol::ViewMarker* ClubView::mutable_marker() {
4343 set_has_marker();
4344 if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker;
4345 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubView.marker)
4346 return marker_;
4347}
4348inline ::bgs::protocol::ViewMarker* ClubView::release_marker() {
4349 clear_has_marker();
4350 ::bgs::protocol::ViewMarker* temp = marker_;
4351 marker_ = NULL;
4352 return temp;
4353}
4355 delete marker_;
4356 marker_ = marker;
4357 if (marker) {
4358 set_has_marker();
4359 } else {
4360 clear_has_marker();
4361 }
4362 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubView.marker)
4363}
4364
4365// -------------------------------------------------------------------
4366
4367// ClubStateOptions
4368
4369// repeated .bgs.protocol.v2.Attribute attribute = 1;
4371 return attribute_.size();
4372}
4374 attribute_.Clear();
4375}
4376inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::attribute(int index) const {
4377 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.attribute)
4378 return attribute_.Get(index);
4379}
4380inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_attribute(int index) {
4381 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.attribute)
4382 return attribute_.Mutable(index);
4383}
4384inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_attribute() {
4385 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateOptions.attribute)
4386 return attribute_.Add();
4387}
4388inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4390 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateOptions.attribute)
4391 return attribute_;
4392}
4393inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4395 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateOptions.attribute)
4396 return &attribute_;
4397}
4398
4399// optional string name = 2;
4400inline bool ClubStateOptions::has_name() const {
4401 return (_has_bits_[0] & 0x00000002u) != 0;
4402}
4404 _has_bits_[0] |= 0x00000002u;
4405}
4407 _has_bits_[0] &= ~0x00000002u;
4408}
4410 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4411 name_->clear();
4412 }
4413 clear_has_name();
4414}
4415inline const ::std::string& ClubStateOptions::name() const {
4416 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.name)
4417 return *name_;
4418}
4419inline void ClubStateOptions::set_name(const ::std::string& value) {
4420 set_has_name();
4421 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4422 name_ = new ::std::string;
4423 }
4424 name_->assign(value);
4425 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.name)
4426}
4427inline void ClubStateOptions::set_name(const char* value) {
4428 set_has_name();
4429 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4430 name_ = new ::std::string;
4431 }
4432 name_->assign(value);
4433 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.name)
4434}
4435inline void ClubStateOptions::set_name(const char* value, size_t size) {
4436 set_has_name();
4437 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4438 name_ = new ::std::string;
4439 }
4440 name_->assign(reinterpret_cast<const char*>(value), size);
4441 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.name)
4442}
4443inline ::std::string* ClubStateOptions::mutable_name() {
4444 set_has_name();
4445 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4446 name_ = new ::std::string;
4447 }
4448 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.name)
4449 return name_;
4450}
4451inline ::std::string* ClubStateOptions::release_name() {
4452 clear_has_name();
4453 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4454 return NULL;
4455 } else {
4456 ::std::string* temp = name_;
4457 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4458 return temp;
4459 }
4460}
4461inline void ClubStateOptions::set_allocated_name(::std::string* name) {
4462 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4463 delete name_;
4464 }
4465 if (name) {
4466 set_has_name();
4467 name_ = name;
4468 } else {
4469 clear_has_name();
4470 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4471 }
4472 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.name)
4473}
4474
4475// optional string description = 3;
4477 return (_has_bits_[0] & 0x00000004u) != 0;
4478}
4480 _has_bits_[0] |= 0x00000004u;
4481}
4483 _has_bits_[0] &= ~0x00000004u;
4484}
4486 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4487 description_->clear();
4488 }
4489 clear_has_description();
4490}
4491inline const ::std::string& ClubStateOptions::description() const {
4492 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.description)
4493 return *description_;
4494}
4495inline void ClubStateOptions::set_description(const ::std::string& value) {
4496 set_has_description();
4497 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4498 description_ = new ::std::string;
4499 }
4500 description_->assign(value);
4501 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.description)
4502}
4503inline void ClubStateOptions::set_description(const char* value) {
4504 set_has_description();
4505 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4506 description_ = new ::std::string;
4507 }
4508 description_->assign(value);
4509 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.description)
4510}
4511inline void ClubStateOptions::set_description(const char* value, size_t size) {
4512 set_has_description();
4513 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4514 description_ = new ::std::string;
4515 }
4516 description_->assign(reinterpret_cast<const char*>(value), size);
4517 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.description)
4518}
4520 set_has_description();
4521 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4522 description_ = new ::std::string;
4523 }
4524 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.description)
4525 return description_;
4526}
4528 clear_has_description();
4529 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4530 return NULL;
4531 } else {
4532 ::std::string* temp = description_;
4533 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4534 return temp;
4535 }
4536}
4537inline void ClubStateOptions::set_allocated_description(::std::string* description) {
4538 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4539 delete description_;
4540 }
4541 if (description) {
4542 set_has_description();
4543 description_ = description;
4544 } else {
4545 clear_has_description();
4546 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4547 }
4548 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.description)
4549}
4550
4551// optional .bgs.protocol.club.v1.SetBroadcastOptions broadcast = 4;
4553 return (_has_bits_[0] & 0x00000008u) != 0;
4554}
4556 _has_bits_[0] |= 0x00000008u;
4557}
4559 _has_bits_[0] &= ~0x00000008u;
4560}
4562 if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::SetBroadcastOptions::Clear();
4563 clear_has_broadcast();
4564}
4565inline const ::bgs::protocol::club::v1::SetBroadcastOptions& ClubStateOptions::broadcast() const {
4566 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.broadcast)
4567 return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_;
4568}
4569inline ::bgs::protocol::club::v1::SetBroadcastOptions* ClubStateOptions::mutable_broadcast() {
4570 set_has_broadcast();
4571 if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::SetBroadcastOptions;
4572 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.broadcast)
4573 return broadcast_;
4574}
4575inline ::bgs::protocol::club::v1::SetBroadcastOptions* ClubStateOptions::release_broadcast() {
4576 clear_has_broadcast();
4578 broadcast_ = NULL;
4579 return temp;
4580}
4582 delete broadcast_;
4583 broadcast_ = broadcast;
4584 if (broadcast) {
4585 set_has_broadcast();
4586 } else {
4587 clear_has_broadcast();
4588 }
4589 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.broadcast)
4590}
4591
4592// optional .bgs.protocol.club.v1.AvatarId avatar = 5;
4593inline bool ClubStateOptions::has_avatar() const {
4594 return (_has_bits_[0] & 0x00000010u) != 0;
4595}
4597 _has_bits_[0] |= 0x00000010u;
4598}
4600 _has_bits_[0] &= ~0x00000010u;
4601}
4603 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
4604 clear_has_avatar();
4605}
4606inline const ::bgs::protocol::club::v1::AvatarId& ClubStateOptions::avatar() const {
4607 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.avatar)
4608 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
4609}
4610inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::mutable_avatar() {
4611 set_has_avatar();
4612 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
4613 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.avatar)
4614 return avatar_;
4615}
4616inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::release_avatar() {
4617 clear_has_avatar();
4619 avatar_ = NULL;
4620 return temp;
4621}
4623 delete avatar_;
4624 avatar_ = avatar;
4625 if (avatar) {
4626 set_has_avatar();
4627 } else {
4628 clear_has_avatar();
4629 }
4630 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.avatar)
4631}
4632
4633// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
4635 return (_has_bits_[0] & 0x00000020u) != 0;
4636}
4638 _has_bits_[0] |= 0x00000020u;
4639}
4641 _has_bits_[0] &= ~0x00000020u;
4642}
4644 privacy_level_ = 0;
4645 clear_has_privacy_level();
4646}
4648 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.privacy_level)
4649 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
4650}
4653 set_has_privacy_level();
4654 privacy_level_ = value;
4655 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.privacy_level)
4656}
4657
4658// optional .bgs.protocol.club.v1.StreamPosition stream_position = 7;
4660 return (_has_bits_[0] & 0x00000040u) != 0;
4661}
4663 _has_bits_[0] |= 0x00000040u;
4664}
4666 _has_bits_[0] &= ~0x00000040u;
4667}
4669 if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::StreamPosition::Clear();
4670 clear_has_stream_position();
4671}
4672inline const ::bgs::protocol::club::v1::StreamPosition& ClubStateOptions::stream_position() const {
4673 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.stream_position)
4674 return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_;
4675}
4676inline ::bgs::protocol::club::v1::StreamPosition* ClubStateOptions::mutable_stream_position() {
4677 set_has_stream_position();
4678 if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::StreamPosition;
4679 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.stream_position)
4680 return stream_position_;
4681}
4682inline ::bgs::protocol::club::v1::StreamPosition* ClubStateOptions::release_stream_position() {
4683 clear_has_stream_position();
4684 ::bgs::protocol::club::v1::StreamPosition* temp = stream_position_;
4685 stream_position_ = NULL;
4686 return temp;
4687}
4689 delete stream_position_;
4690 stream_position_ = stream_position;
4691 if (stream_position) {
4692 set_has_stream_position();
4693 } else {
4694 clear_has_stream_position();
4695 }
4696 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.stream_position)
4697}
4698
4699// optional string short_name = 8;
4701 return (_has_bits_[0] & 0x00000080u) != 0;
4702}
4704 _has_bits_[0] |= 0x00000080u;
4705}
4707 _has_bits_[0] &= ~0x00000080u;
4708}
4710 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4711 short_name_->clear();
4712 }
4713 clear_has_short_name();
4714}
4715inline const ::std::string& ClubStateOptions::short_name() const {
4716 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.short_name)
4717 return *short_name_;
4718}
4719inline void ClubStateOptions::set_short_name(const ::std::string& value) {
4720 set_has_short_name();
4721 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4722 short_name_ = new ::std::string;
4723 }
4724 short_name_->assign(value);
4725 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.short_name)
4726}
4727inline void ClubStateOptions::set_short_name(const char* value) {
4728 set_has_short_name();
4729 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4730 short_name_ = new ::std::string;
4731 }
4732 short_name_->assign(value);
4733 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.short_name)
4734}
4735inline void ClubStateOptions::set_short_name(const char* value, size_t size) {
4736 set_has_short_name();
4737 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4738 short_name_ = new ::std::string;
4739 }
4740 short_name_->assign(reinterpret_cast<const char*>(value), size);
4741 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.short_name)
4742}
4744 set_has_short_name();
4745 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4746 short_name_ = new ::std::string;
4747 }
4748 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.short_name)
4749 return short_name_;
4750}
4752 clear_has_short_name();
4753 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4754 return NULL;
4755 } else {
4756 ::std::string* temp = short_name_;
4757 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4758 return temp;
4759 }
4760}
4761inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name) {
4762 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4763 delete short_name_;
4764 }
4765 if (short_name) {
4766 set_has_short_name();
4767 short_name_ = short_name;
4768 } else {
4769 clear_has_short_name();
4770 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4771 }
4772 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.short_name)
4773}
4774
4775// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
4777 return (_has_bits_[0] & 0x00000100u) != 0;
4778}
4780 _has_bits_[0] |= 0x00000100u;
4781}
4783 _has_bits_[0] &= ~0x00000100u;
4784}
4786 visibility_level_ = 0;
4787 clear_has_visibility_level();
4788}
4790 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.visibility_level)
4791 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
4792}
4795 set_has_visibility_level();
4796 visibility_level_ = value;
4797 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.visibility_level)
4798}
4799
4800// optional string locale = 10;
4801inline bool ClubStateOptions::has_locale() const {
4802 return (_has_bits_[0] & 0x00000200u) != 0;
4803}
4805 _has_bits_[0] |= 0x00000200u;
4806}
4808 _has_bits_[0] &= ~0x00000200u;
4809}
4811 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4812 locale_->clear();
4813 }
4814 clear_has_locale();
4815}
4816inline const ::std::string& ClubStateOptions::locale() const {
4817 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.locale)
4818 return *locale_;
4819}
4820inline void ClubStateOptions::set_locale(const ::std::string& value) {
4821 set_has_locale();
4822 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4823 locale_ = new ::std::string;
4824 }
4825 locale_->assign(value);
4826 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.locale)
4827}
4828inline void ClubStateOptions::set_locale(const char* value) {
4829 set_has_locale();
4830 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4831 locale_ = new ::std::string;
4832 }
4833 locale_->assign(value);
4834 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.locale)
4835}
4836inline void ClubStateOptions::set_locale(const char* value, size_t size) {
4837 set_has_locale();
4838 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4839 locale_ = new ::std::string;
4840 }
4841 locale_->assign(reinterpret_cast<const char*>(value), size);
4842 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.locale)
4843}
4844inline ::std::string* ClubStateOptions::mutable_locale() {
4845 set_has_locale();
4846 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4847 locale_ = new ::std::string;
4848 }
4849 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.locale)
4850 return locale_;
4851}
4852inline ::std::string* ClubStateOptions::release_locale() {
4853 clear_has_locale();
4854 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4855 return NULL;
4856 } else {
4857 ::std::string* temp = locale_;
4858 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4859 return temp;
4860 }
4861}
4862inline void ClubStateOptions::set_allocated_locale(::std::string* locale) {
4863 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4864 delete locale_;
4865 }
4866 if (locale) {
4867 set_has_locale();
4868 locale_ = locale;
4869 } else {
4870 clear_has_locale();
4871 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4872 }
4873 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.locale)
4874}
4875
4876// optional string timezone = 11;
4878 return (_has_bits_[0] & 0x00000400u) != 0;
4879}
4881 _has_bits_[0] |= 0x00000400u;
4882}
4884 _has_bits_[0] &= ~0x00000400u;
4885}
4887 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4888 timezone_->clear();
4889 }
4890 clear_has_timezone();
4891}
4892inline const ::std::string& ClubStateOptions::timezone() const {
4893 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.timezone)
4894 return *timezone_;
4895}
4896inline void ClubStateOptions::set_timezone(const ::std::string& value) {
4897 set_has_timezone();
4898 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4899 timezone_ = new ::std::string;
4900 }
4901 timezone_->assign(value);
4902 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateOptions.timezone)
4903}
4904inline void ClubStateOptions::set_timezone(const char* value) {
4905 set_has_timezone();
4906 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4907 timezone_ = new ::std::string;
4908 }
4909 timezone_->assign(value);
4910 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateOptions.timezone)
4911}
4912inline void ClubStateOptions::set_timezone(const char* value, size_t size) {
4913 set_has_timezone();
4914 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4915 timezone_ = new ::std::string;
4916 }
4917 timezone_->assign(reinterpret_cast<const char*>(value), size);
4918 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateOptions.timezone)
4919}
4920inline ::std::string* ClubStateOptions::mutable_timezone() {
4921 set_has_timezone();
4922 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4923 timezone_ = new ::std::string;
4924 }
4925 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.timezone)
4926 return timezone_;
4927}
4928inline ::std::string* ClubStateOptions::release_timezone() {
4929 clear_has_timezone();
4930 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4931 return NULL;
4932 } else {
4933 ::std::string* temp = timezone_;
4934 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4935 return temp;
4936 }
4937}
4938inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) {
4939 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4940 delete timezone_;
4941 }
4942 if (timezone) {
4943 set_has_timezone();
4944 timezone_ = timezone;
4945 } else {
4946 clear_has_timezone();
4947 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4948 }
4949 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.timezone)
4950}
4951
4952// optional .bgs.protocol.club.v1.TagOptions tag_options = 12;
4954 return (_has_bits_[0] & 0x00000800u) != 0;
4955}
4957 _has_bits_[0] |= 0x00000800u;
4958}
4960 _has_bits_[0] &= ~0x00000800u;
4961}
4963 if (tag_options_ != NULL) tag_options_->::bgs::protocol::club::v1::TagOptions::Clear();
4964 clear_has_tag_options();
4965}
4966inline const ::bgs::protocol::club::v1::TagOptions& ClubStateOptions::tag_options() const {
4967 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.tag_options)
4968 return tag_options_ != NULL ? *tag_options_ : *default_instance_->tag_options_;
4969}
4970inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::mutable_tag_options() {
4971 set_has_tag_options();
4972 if (tag_options_ == NULL) tag_options_ = new ::bgs::protocol::club::v1::TagOptions;
4973 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.tag_options)
4974 return tag_options_;
4975}
4976inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::release_tag_options() {
4977 clear_has_tag_options();
4978 ::bgs::protocol::club::v1::TagOptions* temp = tag_options_;
4979 tag_options_ = NULL;
4980 return temp;
4981}
4983 delete tag_options_;
4984 tag_options_ = tag_options;
4985 if (tag_options) {
4986 set_has_tag_options();
4987 } else {
4988 clear_has_tag_options();
4989 }
4990 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateOptions.tag_options)
4991}
4992
4993// repeated .bgs.protocol.v2.Attribute search_attribute = 13;
4995 return search_attribute_.size();
4996}
4998 search_attribute_.Clear();
4999}
5000inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::search_attribute(int index) const {
5001 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
5002 return search_attribute_.Get(index);
5003}
5004inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_search_attribute(int index) {
5005 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
5006 return search_attribute_.Mutable(index);
5007}
5008inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_search_attribute() {
5009 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
5010 return search_attribute_.Add();
5011}
5012inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
5014 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
5015 return search_attribute_;
5016}
5017inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
5019 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateOptions.search_attribute)
5020 return &search_attribute_;
5021}
5022
5023// -------------------------------------------------------------------
5024
5025// ClubStateAssignment
5026
5027// optional uint64 club_id = 1;
5029 return (_has_bits_[0] & 0x00000001u) != 0;
5030}
5032 _has_bits_[0] |= 0x00000001u;
5033}
5035 _has_bits_[0] &= ~0x00000001u;
5036}
5038 club_id_ = GOOGLE_ULONGLONG(0);
5039 clear_has_club_id();
5040}
5042 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.club_id)
5043 return club_id_;
5044}
5046 set_has_club_id();
5047 club_id_ = value;
5048 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.club_id)
5049}
5050
5051// repeated .bgs.protocol.v2.Attribute attribute = 2;
5053 return attribute_.size();
5054}
5056 attribute_.Clear();
5057}
5058inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::attribute(int index) const {
5059 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.attribute)
5060 return attribute_.Get(index);
5061}
5062inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_attribute(int index) {
5063 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.attribute)
5064 return attribute_.Mutable(index);
5065}
5066inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_attribute() {
5067 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.attribute)
5068 return attribute_.Add();
5069}
5070inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
5072 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.attribute)
5073 return attribute_;
5074}
5075inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
5077 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.attribute)
5078 return &attribute_;
5079}
5080
5081// optional string name = 3;
5083 return (_has_bits_[0] & 0x00000004u) != 0;
5084}
5086 _has_bits_[0] |= 0x00000004u;
5087}
5089 _has_bits_[0] &= ~0x00000004u;
5090}
5092 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5093 name_->clear();
5094 }
5095 clear_has_name();
5096}
5097inline const ::std::string& ClubStateAssignment::name() const {
5098 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.name)
5099 return *name_;
5100}
5101inline void ClubStateAssignment::set_name(const ::std::string& value) {
5102 set_has_name();
5103 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5104 name_ = new ::std::string;
5105 }
5106 name_->assign(value);
5107 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.name)
5108}
5109inline void ClubStateAssignment::set_name(const char* value) {
5110 set_has_name();
5111 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5112 name_ = new ::std::string;
5113 }
5114 name_->assign(value);
5115 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.name)
5116}
5117inline void ClubStateAssignment::set_name(const char* value, size_t size) {
5118 set_has_name();
5119 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5120 name_ = new ::std::string;
5121 }
5122 name_->assign(reinterpret_cast<const char*>(value), size);
5123 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.name)
5124}
5125inline ::std::string* ClubStateAssignment::mutable_name() {
5126 set_has_name();
5127 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5128 name_ = new ::std::string;
5129 }
5130 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.name)
5131 return name_;
5132}
5133inline ::std::string* ClubStateAssignment::release_name() {
5134 clear_has_name();
5135 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5136 return NULL;
5137 } else {
5138 ::std::string* temp = name_;
5139 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5140 return temp;
5141 }
5142}
5143inline void ClubStateAssignment::set_allocated_name(::std::string* name) {
5144 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5145 delete name_;
5146 }
5147 if (name) {
5148 set_has_name();
5149 name_ = name;
5150 } else {
5151 clear_has_name();
5152 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5153 }
5154 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.name)
5155}
5156
5157// optional string description = 4;
5159 return (_has_bits_[0] & 0x00000008u) != 0;
5160}
5162 _has_bits_[0] |= 0x00000008u;
5163}
5165 _has_bits_[0] &= ~0x00000008u;
5166}
5168 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5169 description_->clear();
5170 }
5171 clear_has_description();
5172}
5173inline const ::std::string& ClubStateAssignment::description() const {
5174 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.description)
5175 return *description_;
5176}
5177inline void ClubStateAssignment::set_description(const ::std::string& value) {
5178 set_has_description();
5179 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5180 description_ = new ::std::string;
5181 }
5182 description_->assign(value);
5183 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.description)
5184}
5185inline void ClubStateAssignment::set_description(const char* value) {
5186 set_has_description();
5187 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5188 description_ = new ::std::string;
5189 }
5190 description_->assign(value);
5191 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.description)
5192}
5193inline void ClubStateAssignment::set_description(const char* value, size_t size) {
5194 set_has_description();
5195 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5196 description_ = new ::std::string;
5197 }
5198 description_->assign(reinterpret_cast<const char*>(value), size);
5199 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.description)
5200}
5202 set_has_description();
5203 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5204 description_ = new ::std::string;
5205 }
5206 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.description)
5207 return description_;
5208}
5210 clear_has_description();
5211 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5212 return NULL;
5213 } else {
5214 ::std::string* temp = description_;
5215 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5216 return temp;
5217 }
5218}
5219inline void ClubStateAssignment::set_allocated_description(::std::string* description) {
5220 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5221 delete description_;
5222 }
5223 if (description) {
5224 set_has_description();
5225 description_ = description;
5226 } else {
5227 clear_has_description();
5228 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5229 }
5230 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.description)
5231}
5232
5233// optional .bgs.protocol.club.v1.Broadcast broadcast = 5;
5235 return (_has_bits_[0] & 0x00000010u) != 0;
5236}
5238 _has_bits_[0] |= 0x00000010u;
5239}
5241 _has_bits_[0] &= ~0x00000010u;
5242}
5244 if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::Broadcast::Clear();
5245 clear_has_broadcast();
5246}
5247inline const ::bgs::protocol::club::v1::Broadcast& ClubStateAssignment::broadcast() const {
5248 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.broadcast)
5249 return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_;
5250}
5251inline ::bgs::protocol::club::v1::Broadcast* ClubStateAssignment::mutable_broadcast() {
5252 set_has_broadcast();
5253 if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::Broadcast;
5254 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.broadcast)
5255 return broadcast_;
5256}
5257inline ::bgs::protocol::club::v1::Broadcast* ClubStateAssignment::release_broadcast() {
5258 clear_has_broadcast();
5259 ::bgs::protocol::club::v1::Broadcast* temp = broadcast_;
5260 broadcast_ = NULL;
5261 return temp;
5262}
5264 delete broadcast_;
5265 broadcast_ = broadcast;
5266 if (broadcast) {
5267 set_has_broadcast();
5268 } else {
5269 clear_has_broadcast();
5270 }
5271 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.broadcast)
5272}
5273
5274// optional .bgs.protocol.club.v1.AvatarId avatar = 6;
5276 return (_has_bits_[0] & 0x00000020u) != 0;
5277}
5279 _has_bits_[0] |= 0x00000020u;
5280}
5282 _has_bits_[0] &= ~0x00000020u;
5283}
5285 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
5286 clear_has_avatar();
5287}
5288inline const ::bgs::protocol::club::v1::AvatarId& ClubStateAssignment::avatar() const {
5289 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.avatar)
5290 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
5291}
5292inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::mutable_avatar() {
5293 set_has_avatar();
5294 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
5295 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.avatar)
5296 return avatar_;
5297}
5298inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::release_avatar() {
5299 clear_has_avatar();
5301 avatar_ = NULL;
5302 return temp;
5303}
5305 delete avatar_;
5306 avatar_ = avatar;
5307 if (avatar) {
5308 set_has_avatar();
5309 } else {
5310 clear_has_avatar();
5311 }
5312 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.avatar)
5313}
5314
5315// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7;
5317 return (_has_bits_[0] & 0x00000040u) != 0;
5318}
5320 _has_bits_[0] |= 0x00000040u;
5321}
5323 _has_bits_[0] &= ~0x00000040u;
5324}
5326 privacy_level_ = 0;
5327 clear_has_privacy_level();
5328}
5330 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.privacy_level)
5331 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
5332}
5335 set_has_privacy_level();
5336 privacy_level_ = value;
5337 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.privacy_level)
5338}
5339
5340// optional .bgs.protocol.club.v1.StreamPosition stream_position = 8;
5342 return (_has_bits_[0] & 0x00000080u) != 0;
5343}
5345 _has_bits_[0] |= 0x00000080u;
5346}
5348 _has_bits_[0] &= ~0x00000080u;
5349}
5351 if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::StreamPosition::Clear();
5352 clear_has_stream_position();
5353}
5354inline const ::bgs::protocol::club::v1::StreamPosition& ClubStateAssignment::stream_position() const {
5355 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.stream_position)
5356 return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_;
5357}
5358inline ::bgs::protocol::club::v1::StreamPosition* ClubStateAssignment::mutable_stream_position() {
5359 set_has_stream_position();
5360 if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::StreamPosition;
5361 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.stream_position)
5362 return stream_position_;
5363}
5364inline ::bgs::protocol::club::v1::StreamPosition* ClubStateAssignment::release_stream_position() {
5365 clear_has_stream_position();
5366 ::bgs::protocol::club::v1::StreamPosition* temp = stream_position_;
5367 stream_position_ = NULL;
5368 return temp;
5369}
5371 delete stream_position_;
5372 stream_position_ = stream_position;
5373 if (stream_position) {
5374 set_has_stream_position();
5375 } else {
5376 clear_has_stream_position();
5377 }
5378 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.stream_position)
5379}
5380
5381// optional string short_name = 9;
5383 return (_has_bits_[0] & 0x00000100u) != 0;
5384}
5386 _has_bits_[0] |= 0x00000100u;
5387}
5389 _has_bits_[0] &= ~0x00000100u;
5390}
5392 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5393 short_name_->clear();
5394 }
5395 clear_has_short_name();
5396}
5397inline const ::std::string& ClubStateAssignment::short_name() const {
5398 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.short_name)
5399 return *short_name_;
5400}
5401inline void ClubStateAssignment::set_short_name(const ::std::string& value) {
5402 set_has_short_name();
5403 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5404 short_name_ = new ::std::string;
5405 }
5406 short_name_->assign(value);
5407 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.short_name)
5408}
5409inline void ClubStateAssignment::set_short_name(const char* value) {
5410 set_has_short_name();
5411 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5412 short_name_ = new ::std::string;
5413 }
5414 short_name_->assign(value);
5415 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.short_name)
5416}
5417inline void ClubStateAssignment::set_short_name(const char* value, size_t size) {
5418 set_has_short_name();
5419 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5420 short_name_ = new ::std::string;
5421 }
5422 short_name_->assign(reinterpret_cast<const char*>(value), size);
5423 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.short_name)
5424}
5426 set_has_short_name();
5427 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5428 short_name_ = new ::std::string;
5429 }
5430 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.short_name)
5431 return short_name_;
5432}
5434 clear_has_short_name();
5435 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5436 return NULL;
5437 } else {
5438 ::std::string* temp = short_name_;
5439 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5440 return temp;
5441 }
5442}
5443inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_name) {
5444 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5445 delete short_name_;
5446 }
5447 if (short_name) {
5448 set_has_short_name();
5449 short_name_ = short_name;
5450 } else {
5451 clear_has_short_name();
5452 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5453 }
5454 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.short_name)
5455}
5456
5457// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10;
5459 return (_has_bits_[0] & 0x00000200u) != 0;
5460}
5462 _has_bits_[0] |= 0x00000200u;
5463}
5465 _has_bits_[0] &= ~0x00000200u;
5466}
5468 visibility_level_ = 0;
5469 clear_has_visibility_level();
5470}
5472 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.visibility_level)
5473 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
5474}
5477 set_has_visibility_level();
5478 visibility_level_ = value;
5479 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.visibility_level)
5480}
5481
5482// optional string locale = 11;
5484 return (_has_bits_[0] & 0x00000400u) != 0;
5485}
5487 _has_bits_[0] |= 0x00000400u;
5488}
5490 _has_bits_[0] &= ~0x00000400u;
5491}
5493 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5494 locale_->clear();
5495 }
5496 clear_has_locale();
5497}
5498inline const ::std::string& ClubStateAssignment::locale() const {
5499 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.locale)
5500 return *locale_;
5501}
5502inline void ClubStateAssignment::set_locale(const ::std::string& value) {
5503 set_has_locale();
5504 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5505 locale_ = new ::std::string;
5506 }
5507 locale_->assign(value);
5508 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.locale)
5509}
5510inline void ClubStateAssignment::set_locale(const char* value) {
5511 set_has_locale();
5512 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5513 locale_ = new ::std::string;
5514 }
5515 locale_->assign(value);
5516 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.locale)
5517}
5518inline void ClubStateAssignment::set_locale(const char* value, size_t size) {
5519 set_has_locale();
5520 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5521 locale_ = new ::std::string;
5522 }
5523 locale_->assign(reinterpret_cast<const char*>(value), size);
5524 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.locale)
5525}
5527 set_has_locale();
5528 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5529 locale_ = new ::std::string;
5530 }
5531 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.locale)
5532 return locale_;
5533}
5535 clear_has_locale();
5536 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5537 return NULL;
5538 } else {
5539 ::std::string* temp = locale_;
5540 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5541 return temp;
5542 }
5543}
5544inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) {
5545 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5546 delete locale_;
5547 }
5548 if (locale) {
5549 set_has_locale();
5550 locale_ = locale;
5551 } else {
5552 clear_has_locale();
5553 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5554 }
5555 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.locale)
5556}
5557
5558// optional string timezone = 12;
5560 return (_has_bits_[0] & 0x00000800u) != 0;
5561}
5563 _has_bits_[0] |= 0x00000800u;
5564}
5566 _has_bits_[0] &= ~0x00000800u;
5567}
5569 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5570 timezone_->clear();
5571 }
5572 clear_has_timezone();
5573}
5574inline const ::std::string& ClubStateAssignment::timezone() const {
5575 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.timezone)
5576 return *timezone_;
5577}
5578inline void ClubStateAssignment::set_timezone(const ::std::string& value) {
5579 set_has_timezone();
5580 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5581 timezone_ = new ::std::string;
5582 }
5583 timezone_->assign(value);
5584 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.timezone)
5585}
5586inline void ClubStateAssignment::set_timezone(const char* value) {
5587 set_has_timezone();
5588 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5589 timezone_ = new ::std::string;
5590 }
5591 timezone_->assign(value);
5592 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ClubStateAssignment.timezone)
5593}
5594inline void ClubStateAssignment::set_timezone(const char* value, size_t size) {
5595 set_has_timezone();
5596 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5597 timezone_ = new ::std::string;
5598 }
5599 timezone_->assign(reinterpret_cast<const char*>(value), size);
5600 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ClubStateAssignment.timezone)
5601}
5603 set_has_timezone();
5604 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5605 timezone_ = new ::std::string;
5606 }
5607 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.timezone)
5608 return timezone_;
5609}
5611 clear_has_timezone();
5612 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5613 return NULL;
5614 } else {
5615 ::std::string* temp = timezone_;
5616 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5617 return temp;
5618 }
5619}
5620inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) {
5621 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
5622 delete timezone_;
5623 }
5624 if (timezone) {
5625 set_has_timezone();
5626 timezone_ = timezone;
5627 } else {
5628 clear_has_timezone();
5629 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5630 }
5631 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubStateAssignment.timezone)
5632}
5633
5634// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
5636 return tag_.size();
5637}
5639 tag_.Clear();
5640}
5641inline const ::bgs::protocol::club::v1::TagIdentifier& ClubStateAssignment::tag(int index) const {
5642 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag)
5643 return tag_.Get(index);
5644}
5645inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::mutable_tag(int index) {
5646 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.tag)
5647 return tag_.Mutable(index);
5648}
5649inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::add_tag() {
5650 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.tag)
5651 return tag_.Add();
5652}
5653inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
5655 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.tag)
5656 return tag_;
5657}
5658inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
5660 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.tag)
5661 return &tag_;
5662}
5663
5664// repeated .bgs.protocol.v2.Attribute search_attribute = 14;
5666 return search_attribute_.size();
5667}
5669 search_attribute_.Clear();
5670}
5671inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::search_attribute(int index) const {
5672 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
5673 return search_attribute_.Get(index);
5674}
5675inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_search_attribute(int index) {
5676 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
5677 return search_attribute_.Mutable(index);
5678}
5679inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_search_attribute() {
5680 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
5681 return search_attribute_.Add();
5682}
5683inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
5685 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
5686 return search_attribute_;
5687}
5688inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
5690 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStateAssignment.search_attribute)
5691 return &search_attribute_;
5692}
5693
5694// optional bool tag_cleared = 15;
5696 return (_has_bits_[0] & 0x00004000u) != 0;
5697}
5699 _has_bits_[0] |= 0x00004000u;
5700}
5702 _has_bits_[0] &= ~0x00004000u;
5703}
5705 tag_cleared_ = false;
5706 clear_has_tag_cleared();
5707}
5709 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared)
5710 return tag_cleared_;
5711}
5713 set_has_tag_cleared();
5714 tag_cleared_ = value;
5715 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubStateAssignment.tag_cleared)
5716}
5717
5718// -------------------------------------------------------------------
5719
5720// StreamSettings
5721
5722// optional uint64 stream_id = 1;
5724 return (_has_bits_[0] & 0x00000001u) != 0;
5725}
5727 _has_bits_[0] |= 0x00000001u;
5728}
5730 _has_bits_[0] &= ~0x00000001u;
5731}
5733 stream_id_ = GOOGLE_ULONGLONG(0);
5734 clear_has_stream_id();
5735}
5737 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamSettings.stream_id)
5738 return stream_id_;
5739}
5741 set_has_stream_id();
5742 stream_id_ = value;
5743 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamSettings.stream_id)
5744}
5745
5746// optional .bgs.protocol.club.v1.StreamNotificationFilter filter = 2;
5747inline bool StreamSettings::has_filter() const {
5748 return (_has_bits_[0] & 0x00000002u) != 0;
5749}
5751 _has_bits_[0] |= 0x00000002u;
5752}
5754 _has_bits_[0] &= ~0x00000002u;
5755}
5757 filter_ = 0;
5758 clear_has_filter();
5759}
5761 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamSettings.filter)
5762 return static_cast< ::bgs::protocol::club::v1::StreamNotificationFilter >(filter_);
5763}
5766 set_has_filter();
5767 filter_ = value;
5768 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamSettings.filter)
5769}
5770
5771// -------------------------------------------------------------------
5772
5773// ClubSettings
5774
5775// repeated .bgs.protocol.club.v1.StreamSettings stream = 1;
5776inline int ClubSettings::stream_size() const {
5777 return stream_.size();
5778}
5780 stream_.Clear();
5781}
5782inline const ::bgs::protocol::club::v1::StreamSettings& ClubSettings::stream(int index) const {
5783 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.stream)
5784 return stream_.Get(index);
5785}
5786inline ::bgs::protocol::club::v1::StreamSettings* ClubSettings::mutable_stream(int index) {
5787 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettings.stream)
5788 return stream_.Mutable(index);
5789}
5790inline ::bgs::protocol::club::v1::StreamSettings* ClubSettings::add_stream() {
5791 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettings.stream)
5792 return stream_.Add();
5793}
5794inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >&
5796 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettings.stream)
5797 return stream_;
5798}
5799inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >*
5801 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettings.stream)
5802 return &stream_;
5803}
5804
5805// optional bool stream_notification_filter_all = 2;
5807 return (_has_bits_[0] & 0x00000002u) != 0;
5808}
5810 _has_bits_[0] |= 0x00000002u;
5811}
5813 _has_bits_[0] &= ~0x00000002u;
5814}
5816 stream_notification_filter_all_ = false;
5817 clear_has_stream_notification_filter_all();
5818}
5820 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.stream_notification_filter_all)
5821 return stream_notification_filter_all_;
5822}
5824 set_has_stream_notification_filter_all();
5825 stream_notification_filter_all_ = value;
5826 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSettings.stream_notification_filter_all)
5827}
5828
5829// repeated .bgs.protocol.v2.Attribute attribute = 3;
5831 return attribute_.size();
5832}
5834 attribute_.Clear();
5835}
5836inline const ::bgs::protocol::v2::Attribute& ClubSettings::attribute(int index) const {
5837 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.attribute)
5838 return attribute_.Get(index);
5839}
5840inline ::bgs::protocol::v2::Attribute* ClubSettings::mutable_attribute(int index) {
5841 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettings.attribute)
5842 return attribute_.Mutable(index);
5843}
5844inline ::bgs::protocol::v2::Attribute* ClubSettings::add_attribute() {
5845 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettings.attribute)
5846 return attribute_.Add();
5847}
5848inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
5850 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettings.attribute)
5851 return attribute_;
5852}
5853inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
5855 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettings.attribute)
5856 return &attribute_;
5857}
5858
5859// optional bool push_notification_filter_all = 4;
5861 return (_has_bits_[0] & 0x00000008u) != 0;
5862}
5864 _has_bits_[0] |= 0x00000008u;
5865}
5867 _has_bits_[0] &= ~0x00000008u;
5868}
5870 push_notification_filter_all_ = false;
5871 clear_has_push_notification_filter_all();
5872}
5874 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettings.push_notification_filter_all)
5875 return push_notification_filter_all_;
5876}
5878 set_has_push_notification_filter_all();
5879 push_notification_filter_all_ = value;
5880 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSettings.push_notification_filter_all)
5881}
5882
5883// -------------------------------------------------------------------
5884
5885// ClubSettingsOptions
5886
5887// repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true];
5889 return stream_.size();
5890}
5892 stream_.Clear();
5893}
5894inline const ::bgs::protocol::club::v1::StreamSettings& ClubSettingsOptions::stream(int index) const {
5895 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.stream)
5896 return stream_.Get(index);
5897}
5898inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsOptions::mutable_stream(int index) {
5899 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsOptions.stream)
5900 return stream_.Mutable(index);
5901}
5902inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsOptions::add_stream() {
5903 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettingsOptions.stream)
5904 return stream_.Add();
5905}
5906inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >&
5908 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettingsOptions.stream)
5909 return stream_;
5910}
5911inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >*
5913 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettingsOptions.stream)
5914 return &stream_;
5915}
5916
5917// optional .bgs.protocol.club.v1.ClubSettings settings = 2;
5919 return (_has_bits_[0] & 0x00000002u) != 0;
5920}
5922 _has_bits_[0] |= 0x00000002u;
5923}
5925 _has_bits_[0] &= ~0x00000002u;
5926}
5928 if (settings_ != NULL) settings_->::bgs::protocol::club::v1::ClubSettings::Clear();
5929 clear_has_settings();
5930}
5931inline const ::bgs::protocol::club::v1::ClubSettings& ClubSettingsOptions::settings() const {
5932 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.settings)
5933 return settings_ != NULL ? *settings_ : *default_instance_->settings_;
5934}
5935inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsOptions::mutable_settings() {
5936 set_has_settings();
5937 if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::ClubSettings;
5938 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsOptions.settings)
5939 return settings_;
5940}
5941inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsOptions::release_settings() {
5942 clear_has_settings();
5944 settings_ = NULL;
5945 return temp;
5946}
5948 delete settings_;
5949 settings_ = settings;
5950 if (settings) {
5951 set_has_settings();
5952 } else {
5953 clear_has_settings();
5954 }
5955 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSettingsOptions.settings)
5956}
5957
5958// optional uint32 version = 3;
5960 return (_has_bits_[0] & 0x00000004u) != 0;
5961}
5963 _has_bits_[0] |= 0x00000004u;
5964}
5966 _has_bits_[0] &= ~0x00000004u;
5967}
5969 version_ = 0u;
5970 clear_has_version();
5971}
5973 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsOptions.version)
5974 return version_;
5975}
5977 set_has_version();
5978 version_ = value;
5979 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ClubSettingsOptions.version)
5980}
5981
5982// -------------------------------------------------------------------
5983
5984// ClubSettingsAssignment
5985
5986// repeated .bgs.protocol.club.v1.StreamSettings stream = 1 [deprecated = true];
5988 return stream_.size();
5989}
5991 stream_.Clear();
5992}
5993inline const ::bgs::protocol::club::v1::StreamSettings& ClubSettingsAssignment::stream(int index) const {
5994 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsAssignment.stream)
5995 return stream_.Get(index);
5996}
5997inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsAssignment::mutable_stream(int index) {
5998 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsAssignment.stream)
5999 return stream_.Mutable(index);
6000}
6001inline ::bgs::protocol::club::v1::StreamSettings* ClubSettingsAssignment::add_stream() {
6002 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubSettingsAssignment.stream)
6003 return stream_.Add();
6004}
6005inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >&
6007 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubSettingsAssignment.stream)
6008 return stream_;
6009}
6010inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings >*
6012 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubSettingsAssignment.stream)
6013 return &stream_;
6014}
6015
6016// optional .bgs.protocol.club.v1.ClubSettings settings = 2;
6018 return (_has_bits_[0] & 0x00000002u) != 0;
6019}
6021 _has_bits_[0] |= 0x00000002u;
6022}
6024 _has_bits_[0] &= ~0x00000002u;
6025}
6027 if (settings_ != NULL) settings_->::bgs::protocol::club::v1::ClubSettings::Clear();
6028 clear_has_settings();
6029}
6030inline const ::bgs::protocol::club::v1::ClubSettings& ClubSettingsAssignment::settings() const {
6031 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubSettingsAssignment.settings)
6032 return settings_ != NULL ? *settings_ : *default_instance_->settings_;
6033}
6034inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsAssignment::mutable_settings() {
6035 set_has_settings();
6036 if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::ClubSettings;
6037 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubSettingsAssignment.settings)
6038 return settings_;
6039}
6040inline ::bgs::protocol::club::v1::ClubSettings* ClubSettingsAssignment::release_settings() {
6041 clear_has_settings();
6043 settings_ = NULL;
6044 return temp;
6045}
6047 delete settings_;
6048 settings_ = settings;
6049 if (settings) {
6050 set_has_settings();
6051 } else {
6052 clear_has_settings();
6053 }
6054 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ClubSettingsAssignment.settings)
6055}
6056
6057// @@protoc_insertion_point(namespace_scope)
6058
6059} // namespace v1
6060} // namespace club
6061} // namespace protocol
6062} // namespace bgs
6063
6064#ifndef SWIG
6065namespace google {
6066namespace protobuf {
6067} // namespace google
6068} // namespace protobuf
6069#endif // SWIG
6070
6071// @@protoc_insertion_point(global_scope)
6072
6073#endif // PROTOBUF_club_5fcore_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
AvatarId(const AvatarId &from)
friend void protobuf_ShutdownFile_club_5fcore_2eproto()
static AvatarId * default_instance_
Definition: club_core.pb.h:126
static const AvatarId & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_core.pb.h:116
void set_id(::google::protobuf::uint32 value)
AvatarId & operator=(const AvatarId &from)
Definition: club_core.pb.h:71
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_core.pb.h:80
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint32 id() const
void Swap(AvatarId *other)
::google::protobuf::uint32 id_
Definition: club_core.pb.h:120
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_core.pb.h:76
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_club_5fcore_2eproto()
void Swap(Broadcast *other)
static const ::google::protobuf::Descriptor * descriptor()
Broadcast(const Broadcast &from)
inline ::bgs::protocol::club::v1::MemberDescription * release_creator()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_core.pb.h:217
friend void protobuf_ShutdownFile_club_5fcore_2eproto()
const ::bgs::protocol::club::v1::MemberDescription & creator() const
Broadcast & operator=(const Broadcast &from)
Definition: club_core.pb.h:208
static Broadcast * default_instance_
Definition: club_core.pb.h:290
inline ::google::protobuf::uint64 creation_time() const
::google::protobuf::Metadata GetMetadata() const
void SetCachedSize(int size) const
void set_allocated_creator(::bgs::protocol::club::v1::MemberDescription *creator)
inline ::bgs::protocol::club::v1::MemberDescription * mutable_creator()
inline ::std::string * release_content()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_core.pb.h:213
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
::google::protobuf::uint64 creation_time_
Definition: club_core.pb.h:284
::bgs::protocol::club::v1::MemberDescription * creator_
Definition: club_core.pb.h:283
const ::std::string & content() const
static const Broadcast & default_instance()
void set_creation_time(::google::protobuf::uint64 value)
void set_content(const ::std::string &value)
inline ::std::string * mutable_content()
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_core.pb.h:278
void set_allocated_content(::std::string *content)
friend void protobuf_AssignDesc_club_5fcore_2eproto()
void set_allocated_tag(::bgs::protocol::club::v1::TagOptions *tag)
const ::bgs::protocol::club::v1::AvatarId & avatar() const
inline ::bgs::protocol::club::v1::CreateMemberOptions * release_member()
const ::std::string & short_name() const
void set_allocated_member(::bgs::protocol::club::v1::CreateMemberOptions *member)
::bgs::protocol::club::v1::AvatarId * avatar_
Definition: club_core.pb.h:512
void set_name(const ::std::string &value)
inline ::bgs::protocol::club::v1::CreateMemberOptions * mutable_member()
::bgs::protocol::club::v1::CreateMemberOptions * member_
Definition: club_core.pb.h:516
inline ::bgs::protocol::v2::Attribute * add_search_attribute()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
Definition: club_core.pb.h:519
void set_description(const ::std::string &value)
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_core.pb.h:504
static const ::google::protobuf::Descriptor * descriptor()
void set_timezone(const ::std::string &value)
ClubCreateOptions & operator=(const ClubCreateOptions &from)
Definition: club_core.pb.h:301
inline ::std::string * mutable_timezone()
void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType *type)
void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId *avatar)
inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const
inline ::bgs::protocol::club::v1::CreateStreamOptions * release_stream()
const ::std::string & timezone() const
inline ::std::string * release_description()
const ::std::string & description() const
inline ::bgs::protocol::club::v1::AvatarId * mutable_avatar()
inline ::bgs::protocol::club::v1::CreateStreamOptions * mutable_stream()
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
const ::bgs::protocol::club::v1::UniqueClubType & type() const
inline ::bgs::protocol::club::v1::TagOptions * mutable_tag()
::bgs::protocol::club::v1::UniqueClubType * type_
Definition: club_core.pb.h:508
void Swap(ClubCreateOptions *other)
void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_core.pb.h:306
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & search_attribute() const
static const ClubCreateOptions & default_instance()
inline ::bgs::protocol::v2::Attribute * add_attribute()
inline ::bgs::protocol::club::v1::UniqueClubType * release_type()
static ClubCreateOptions * default_instance_
Definition: club_core.pb.h:527
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_search_attribute()
inline ::std::string * mutable_short_name()
inline ::std::string * release_short_name()
const ::bgs::protocol::club::v1::TagOptions & tag() const
inline ::std::string * release_timezone()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_core.pb.h:310
inline ::std::string * mutable_description()
ClubCreateOptions(const ClubCreateOptions &from)
inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const
const ::std::string & name() const
::google::protobuf::Metadata GetMetadata() const
void set_allocated_description(::std::string *description)
::bgs::protocol::club::v1::CreateStreamOptions * stream_
Definition: club_core.pb.h:517
inline ::bgs::protocol::club::v1::UniqueClubType * mutable_type()
::bgs::protocol::club::v1::TagOptions * tag_
Definition: club_core.pb.h:518
void set_allocated_locale(::std::string *locale)
void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value)
inline ::bgs::protocol::club::v1::TagOptions * release_tag()
const ::bgs::protocol::club::v1::CreateStreamOptions & stream() const
const ::bgs::protocol::club::v1::CreateMemberOptions & member() const
void set_short_name(const ::std::string &value)
void set_locale(const ::std::string &value)
void set_allocated_timezone(::std::string *timezone)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
void set_allocated_stream(::bgs::protocol::club::v1::CreateStreamOptions *stream)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
Definition: club_core.pb.h:509
inline ::bgs::protocol::club::v1::AvatarId * release_avatar()
void set_allocated_short_name(::std::string *short_name)
void set_allocated_name(::std::string *name)
const ::std::string & locale() const
inline ::std::string * mutable_description()
static ClubDescription * default_instance_
::google::protobuf::Metadata GetMetadata() const
inline ::std::string * release_timezone()
::google::protobuf::uint64 creation_time_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_
const ::bgs::protocol::club::v1::UniqueClubType & type() const
void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value)
void set_timezone(const ::std::string &value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > * mutable_leader()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_core.pb.h:840
void set_name(const ::std::string &value)
const ::std::string & locale() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > * mutable_tag()
inline ::bgs::protocol::club::v1::UniqueClubType * release_type()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > & leader() const
inline ::bgs::protocol::club::v1::TagIdentifier * add_tag()
void set_member_count(::google::protobuf::uint32 value)
void Swap(ClubDescription *other)
const ::std::string & description() const
inline ::google::protobuf::uint64 id() const
void set_allocated_timezone(::std::string *timezone)
void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType *type)
const ::std::string & name() const
ClubDescription & operator=(const ClubDescription &from)
Definition: club_core.pb.h:831
inline ::std::string * release_name()
void set_allocated_locale(::std::string *locale)
void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId *avatar)
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
::google::protobuf::uint32 member_count_
inline ::std::string * mutable_locale()
inline ::std::string * release_description()
inline ::bgs::protocol::club::v1::MemberDescription * add_leader()
const ::std::string & timezone() const
void set_locale(const ::std::string &value)
inline ::std::string * release_locale()
void set_allocated_name(::std::string *name)
::bgs::protocol::club::v1::UniqueClubType * type_
void set_allocated_description(::std::string *description)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const
inline ::bgs::protocol::club::v1::UniqueClubType * mutable_type()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_core.pb.h:836
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > & tag() const
ClubDescription(const ClubDescription &from)
inline ::bgs::protocol::club::v1::AvatarId * mutable_avatar()
static const ClubDescription & default_instance()
void set_description(const ::std::string &value)
void set_creation_time(::google::protobuf::uint64 value)
inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const
void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value)
const ::bgs::protocol::club::v1::AvatarId & avatar() const
inline ::google::protobuf::uint64 creation_time() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
inline ::google::protobuf::uint32 member_count() const
::bgs::protocol::club::v1::AvatarId * avatar_
inline ::bgs::protocol::club::v1::AvatarId * release_avatar()
inline ::std::string * mutable_timezone()
inline ::std::string * mutable_name()
void set_id(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::club::v1::StreamSettings * add_stream() PROTOBUF_DEPRECATED
::google::protobuf::Metadata GetMetadata() const
void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings *settings)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > * mutable_stream() PROTOBUF_DEPRECATED
ClubSettingsAssignment * New() const
ClubSettingsAssignment(const ClubSettingsAssignment &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > & stream() const PROTOBUF_DEPRECATED
static const ClubSettingsAssignment & default_instance()
int stream_size() const PROTOBUF_DEPRECATED
inline ::bgs::protocol::club::v1::ClubSettings * release_settings()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::club::v1::ClubSettings * mutable_settings()
ClubSettingsAssignment & operator=(const ClubSettingsAssignment &from)
void Swap(ClubSettingsAssignment *other)
const ::bgs::protocol::club::v1::ClubSettings & settings() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
ClubSettingsOptions * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > & stream() const PROTOBUF_DEPRECATED
const ::bgs::protocol::club::v1::ClubSettings & settings() const
static const ClubSettingsOptions & default_instance()
void set_version(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
ClubSettingsOptions & operator=(const ClubSettingsOptions &from)
inline ::bgs::protocol::club::v1::StreamSettings * add_stream() PROTOBUF_DEPRECATED
ClubSettingsOptions(const ClubSettingsOptions &from)
int stream_size() const PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > * mutable_stream() PROTOBUF_DEPRECATED
void Swap(ClubSettingsOptions *other)
inline ::bgs::protocol::club::v1::ClubSettings * release_settings()
inline ::google::protobuf::uint32 version() const
::google::protobuf::Metadata GetMetadata() const
void set_allocated_settings(::bgs::protocol::club::v1::ClubSettings *settings)
inline ::bgs::protocol::club::v1::ClubSettings * mutable_settings()
ClubSettings & operator=(const ClubSettings &from)
static const ClubSettings & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::v2::Attribute * add_attribute()
friend void protobuf_ShutdownFile_club_5fcore_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > stream_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
void set_stream_notification_filter_all(bool value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > & stream() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
ClubSettings(const ClubSettings &from)
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
void Swap(ClubSettings *other)
inline ::bgs::protocol::club::v1::StreamSettings * add_stream()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static ClubSettings * default_instance_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamSettings > * mutable_stream()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_push_notification_filter_all(bool value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
friend void protobuf_AssignDesc_club_5fcore_2eproto()
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::club::v1::AvatarId * avatar_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_search_attribute()
void set_club_id(::google::protobuf::uint64 value)
inline ::google::protobuf::uint64 club_id() const
void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId *avatar)
inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const
static const ::google::protobuf::Descriptor * descriptor()
void set_allocated_description(::std::string *description)
inline ::std::string * release_description()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const
const ::bgs::protocol::club::v1::AvatarId & avatar() const
::bgs::protocol::club::v1::StreamPosition * stream_position_
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_locale(::std::string *locale)
void set_allocated_timezone(::std::string *timezone)
const ::std::string & description() const
static ClubStateAssignment * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_name(const ::std::string &value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > * mutable_tag()
const ::std::string & short_name() const
inline ::std::string * mutable_description()
static const ClubStateAssignment & default_instance()
const ::std::string & name() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
void set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast *broadcast)
::bgs::protocol::club::v1::Broadcast * broadcast_
::google::protobuf::Metadata GetMetadata() const
void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition *stream_position)
void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value)
inline ::bgs::protocol::club::v1::TagIdentifier * add_tag()
void set_description(const ::std::string &value)
void set_timezone(const ::std::string &value)
void set_allocated_name(::std::string *name)
inline ::bgs::protocol::club::v1::StreamPosition * release_stream_position()
const ::std::string & locale() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::bgs::protocol::v2::Attribute * add_search_attribute()
void set_short_name(const ::std::string &value)
inline ::bgs::protocol::club::v1::Broadcast * mutable_broadcast()
const ::bgs::protocol::club::v1::Broadcast & broadcast() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
const ::bgs::protocol::club::v1::StreamPosition & stream_position() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > & tag() const
inline ::bgs::protocol::club::v1::AvatarId * release_avatar()
ClubStateAssignment * New() const
void set_allocated_short_name(::std::string *short_name)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & search_attribute() const
void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value)
const ::std::string & timezone() const
inline ::bgs::protocol::v2::Attribute * add_attribute()
ClubStateAssignment(const ClubStateAssignment &from)
inline ::bgs::protocol::club::v1::AvatarId * mutable_avatar()
ClubStateAssignment & operator=(const ClubStateAssignment &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_locale(const ::std::string &value)
inline ::bgs::protocol::club::v1::Broadcast * release_broadcast()
void Swap(ClubStateAssignment *other)
inline ::bgs::protocol::club::v1::StreamPosition * mutable_stream_position()
const ::bgs::protocol::club::v1::StreamPosition & stream_position() const
void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value)
inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
const ::std::string & name() const
const ::bgs::protocol::club::v1::TagOptions & tag_options() const
void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition *stream_position)
inline ::bgs::protocol::club::v1::StreamPosition * release_stream_position()
inline ::bgs::protocol::club::v1::SetBroadcastOptions * release_broadcast()
ClubStateOptions(const ClubStateOptions &from)
void set_name(const ::std::string &value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & search_attribute() const
void set_short_name(const ::std::string &value)
inline ::std::string * mutable_timezone()
inline ::std::string * release_timezone()
inline ::std::string * mutable_short_name()
inline ::bgs::protocol::club::v1::SetBroadcastOptions * mutable_broadcast()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_timezone(const ::std::string &value)
::bgs::protocol::club::v1::StreamPosition * stream_position_
inline ::bgs::protocol::club::v1::TagOptions * release_tag_options()
const ::bgs::protocol::club::v1::AvatarId & avatar() const
::bgs::protocol::club::v1::AvatarId * avatar_
const ::std::string & description() const
inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const
ClubStateOptions & operator=(const ClubStateOptions &from)
void set_allocated_name(::std::string *name)
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
const ::std::string & locale() const
inline ::bgs::protocol::club::v1::AvatarId * release_avatar()
static const ::google::protobuf::Descriptor * descriptor()
inline ::std::string * mutable_locale()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
inline ::std::string * mutable_description()
void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId *avatar)
const ::std::string & short_name() const
void set_locale(const ::std::string &value)
void set_allocated_locale(::std::string *locale)
inline ::bgs::protocol::club::v1::StreamPosition * mutable_stream_position()
static ClubStateOptions * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::club::v1::SetBroadcastOptions & broadcast() const
static const ClubStateOptions & default_instance()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_search_attribute()
inline ::std::string * release_short_name()
void set_allocated_description(::std::string *description)
void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value)
inline ::bgs::protocol::v2::Attribute * add_search_attribute()
void set_allocated_timezone(::std::string *timezone)
inline ::bgs::protocol::v2::Attribute * add_attribute()
::bgs::protocol::club::v1::SetBroadcastOptions * broadcast_
void set_allocated_broadcast(::bgs::protocol::club::v1::SetBroadcastOptions *broadcast)
inline ::bgs::protocol::club::v1::TagOptions * mutable_tag_options()
::bgs::protocol::club::v1::TagOptions * tag_options_
void set_allocated_short_name(::std::string *short_name)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
::google::protobuf::Metadata GetMetadata() const
void Swap(ClubStateOptions *other)
inline ::std::string * release_locale()
inline ::std::string * release_description()
inline ::bgs::protocol::club::v1::AvatarId * mutable_avatar()
void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions *tag_options)
void set_description(const ::std::string &value)
const ::std::string & timezone() const
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_club_5fcore_2eproto()
void SetCachedSize(int size) const
ClubView(const ClubView &from)
void set_club_id(::google::protobuf::uint64 value)
inline ::bgs::protocol::ViewMarker * release_marker()
::google::protobuf::uint64 club_id_
inline ::bgs::protocol::ViewMarker * mutable_marker()
ClubView & operator=(const ClubView &from)
::bgs::protocol::ViewMarker * marker_
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
inline ::google::protobuf::uint64 club_id() const
void set_allocated_marker(::bgs::protocol::ViewMarker *marker)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ClubView & default_instance()
void Swap(ClubView *other)
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_AssignDesc_club_5fcore_2eproto()
const ::bgs::protocol::ViewMarker & marker() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > * mutable_tag()
Club & operator=(const Club &from)
Definition: club_core.pb.h:538
inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const
inline ::std::string * mutable_description()
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_core.pb.h:792
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_search_attribute()
void set_allocated_broadcast(::bgs::protocol::club::v1::Broadcast *broadcast)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
Definition: club_core.pb.h:811
static const Club & default_instance()
inline ::bgs::protocol::v2::Attribute * add_attribute()
void set_member_count(::google::protobuf::uint32 value)
void SetCachedSize(int size) const
inline ::bgs::protocol::v2::Attribute * add_search_attribute()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
Definition: club_core.pb.h:798
inline ::std::string * mutable_short_name()
void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value)
friend void protobuf_ShutdownFile_club_5fcore_2eproto()
const ::std::string & timezone() const
const ::std::string & description() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const
::bgs::protocol::club::v1::Broadcast * broadcast_
Definition: club_core.pb.h:801
void set_allocated_timezone(::std::string *timezone)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > & tag() const
inline ::std::string * release_timezone()
const ::std::string & locale() const
::google::protobuf::uint32 member_count_
Definition: club_core.pb.h:814
::bgs::protocol::club::v1::UniqueClubType * type_
Definition: club_core.pb.h:797
const ::bgs::protocol::club::v1::StreamPosition & stream_position() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
Definition: club_core.pb.h:810
const ::std::string & short_name() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & search_attribute() const
void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType *type)
const ::bgs::protocol::club::v1::ClubRoleSet & role_set() const
inline ::std::string * release_name()
inline ::bgs::protocol::club::v1::Broadcast * mutable_broadcast()
inline ::bgs::protocol::club::v1::AvatarId * mutable_avatar()
inline ::bgs::protocol::club::v1::AvatarId * release_avatar()
::bgs::protocol::club::v1::ClubRoleSet * role_set_
Definition: club_core.pb.h:807
void set_short_name(const ::std::string &value)
inline ::bgs::protocol::club::v1::UniqueClubType * release_type()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > * mutable_leader()
::google::protobuf::uint64 creation_time_
Definition: club_core.pb.h:805
::google::protobuf::Metadata GetMetadata() const
inline ::std::string * release_short_name()
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
void set_allocated_description(::std::string *description)
inline ::bgs::protocol::club::v1::ClubRoleSet * mutable_role_set()
void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value)
::bgs::protocol::club::v1::StreamPosition * stream_position_
Definition: club_core.pb.h:806
void set_timezone(const ::std::string &value)
inline ::google::protobuf::uint64 id() const
inline ::std::string * mutable_name()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_allocated_stream_position(::bgs::protocol::club::v1::StreamPosition *stream_position)
void set_creation_time(::google::protobuf::uint64 value)
inline ::std::string * release_locale()
void set_name(const ::std::string &value)
inline ::bgs::protocol::club::v1::StreamPosition * release_stream_position()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_core.pb.h:543
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > & leader() const
inline ::bgs::protocol::club::v1::Broadcast * release_broadcast()
inline ::std::string * release_description()
const ::bgs::protocol::club::v1::Broadcast & broadcast() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_core.pb.h:547
inline ::std::string * mutable_locale()
inline ::bgs::protocol::club::v1::StreamPosition * mutable_stream_position()
void set_allocated_short_name(::std::string *short_name)
inline ::google::protobuf::uint64 creation_time() const
void set_id(::google::protobuf::uint64 value)
inline ::bgs::protocol::club::v1::TagIdentifier * add_tag()
void set_allocated_name(::std::string *name)
::google::protobuf::uint64 id_
Definition: club_core.pb.h:796
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberDescription > leader_
Definition: club_core.pb.h:808
::bgs::protocol::club::v1::AvatarId * avatar_
Definition: club_core.pb.h:802
const ::bgs::protocol::club::v1::UniqueClubType & type() const
inline ::google::protobuf::uint32 member_count() const
inline ::std::string * mutable_timezone()
void set_locale(const ::std::string &value)
void set_description(const ::std::string &value)
const ::std::string & name() const
const ::bgs::protocol::club::v1::AvatarId & avatar() const
inline ::bgs::protocol::club::v1::MemberDescription * add_leader()
inline ::bgs::protocol::club::v1::ClubRoleSet * release_role_set()
friend void protobuf_AssignDesc_club_5fcore_2eproto()
void set_allocated_role_set(::bgs::protocol::club::v1::ClubRoleSet *role_set)
inline ::bgs::protocol::club::v1::UniqueClubType * mutable_type()
void set_allocated_locale(::std::string *locale)
void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId *avatar)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: club_core.pb.h:142
void Swap(SetBroadcastOptions *other)
void set_content(const ::std::string &value)
const ::std::string & content() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_content(::std::string *content)
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: club_core.pb.h:146
SetBroadcastOptions * New() const
static const SetBroadcastOptions & default_instance()
SetBroadcastOptions & operator=(const SetBroadcastOptions &from)
Definition: club_core.pb.h:137
static SetBroadcastOptions * default_instance_
Definition: club_core.pb.h:197
SetBroadcastOptions(const SetBroadcastOptions &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: club_core.pb.h:187
void set_stream_id(::google::protobuf::uint64 value)
::google::protobuf::uint64 stream_id_
friend void protobuf_ShutdownFile_club_5fcore_2eproto()
inline ::google::protobuf::uint64 stream_id() const
static const StreamSettings & default_instance()
StreamSettings & operator=(const StreamSettings &from)
friend void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
inline ::bgs::protocol::club::v1::StreamNotificationFilter filter() const
void Swap(StreamSettings *other)
static const ::google::protobuf::Descriptor * descriptor()
StreamSettings(const StreamSettings &from)
static StreamSettings * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_filter(::bgs::protocol::club::v1::StreamNotificationFilter value)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
Definition: club_tag.pb.h:156
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_AssignDesc_club_5fcore_2eproto()
TC_PROTO_API bool VisibilityLevel_IsValid(int value)
void TC_PROTO_API protobuf_AddDesc_club_5fcore_2eproto()
void protobuf_ShutdownFile_club_5fcore_2eproto()
TC_PROTO_API bool PrivacyLevel_IsValid(int value)
TC_PROTO_API bool StreamNotificationFilter_IsValid(int value)
Definition: Session.h:36