TrinityCore
Loading...
Searching...
No Matches
club_core.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: api/client/v1/club_core.proto
3
4#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fclub_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>
36#include "event_view_types.pb.h"
37#include "Define.h" // for TC_PROTO_API
38// @@protoc_insertion_point(includes)
39
40namespace bgs {
41namespace protocol {
42namespace club {
43namespace v1 {
44namespace client {
45
46// Internal implementation detail -- do not call these.
50
52class Broadcast;
54class Club;
55class ClubView;
58class StreamSettings;
59class ClubSettings;
62
63// ===================================================================
64
65class TC_PROTO_API SetBroadcastOptions : public ::google::protobuf::Message {
66 public:
69
71
73 CopyFrom(from);
74 return *this;
75 }
76
77 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
78 return _unknown_fields_;
79 }
80
81 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
82 return &_unknown_fields_;
83 }
84
85 static const ::google::protobuf::Descriptor* descriptor();
87
89
90 // implements Message ----------------------------------------------
91
93 int GetCachedSize() const { return _cached_size_; }
94 private:
95 void SharedCtor();
96 void SharedDtor();
97 void SetCachedSize(int size) const;
98 public:
99 ::google::protobuf::Metadata GetMetadata() const;
100
101 // nested types ----------------------------------------------------
102
103 // accessors -------------------------------------------------------
104
105 // optional string content = 1;
106 inline bool has_content() const;
107 inline void clear_content();
108 static const int kContentFieldNumber = 1;
109 inline const ::std::string& content() const;
110 inline void set_content(const ::std::string& value);
111 inline void set_content(const char* value);
112 inline void set_content(const char* value, size_t size);
113 inline ::std::string* mutable_content();
114 inline ::std::string* release_content();
115 inline void set_allocated_content(::std::string* content);
116
117 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.SetBroadcastOptions)
118 private:
119 inline void set_has_content();
120 inline void clear_has_content();
121
122 ::google::protobuf::UnknownFieldSet _unknown_fields_;
123
124 ::google::protobuf::uint32 _has_bits_[1];
125 mutable int _cached_size_;
126 ::std::string* content_;
130
133};
134// -------------------------------------------------------------------
135
136class TC_PROTO_API Broadcast : public ::google::protobuf::Message {
137 public:
139 virtual ~Broadcast();
140
141 Broadcast(const Broadcast& from);
142
143 inline Broadcast& operator=(const Broadcast& from) {
144 CopyFrom(from);
145 return *this;
146 }
147
148 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
149 return _unknown_fields_;
150 }
151
152 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
153 return &_unknown_fields_;
154 }
155
156 static const ::google::protobuf::Descriptor* descriptor();
158
159 void Swap(Broadcast* other);
160
161 // implements Message ----------------------------------------------
162
163 Broadcast* New() const;
164 int GetCachedSize() const { return _cached_size_; }
165 private:
168 void SetCachedSize(int size) const;
169 public:
170 ::google::protobuf::Metadata GetMetadata() const;
171
172 // nested types ----------------------------------------------------
173
174 // accessors -------------------------------------------------------
175
176 // optional string content = 1;
177 inline bool has_content() const;
178 inline void clear_content();
179 static const int kContentFieldNumber = 1;
180 inline const ::std::string& content() const;
181 inline void set_content(const ::std::string& value);
182 inline void set_content(const char* value);
183 inline void set_content(const char* value, size_t size);
184 inline ::std::string* mutable_content();
185 inline ::std::string* release_content();
186 inline void set_allocated_content(::std::string* content);
187
188 // optional .bgs.protocol.club.v1.client.MemberDescription creator = 2;
189 inline bool has_creator() const;
190 inline void clear_creator();
191 static const int kCreatorFieldNumber = 2;
192 inline const ::bgs::protocol::club::v1::client::MemberDescription& creator() const;
193 inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_creator();
194 inline ::bgs::protocol::club::v1::client::MemberDescription* release_creator();
195 inline void set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator);
196
197 // optional uint64 creation_time = 3;
198 inline bool has_creation_time() const;
199 inline void clear_creation_time();
200 static const int kCreationTimeFieldNumber = 3;
201 inline ::google::protobuf::uint64 creation_time() const;
202 inline void set_creation_time(::google::protobuf::uint64 value);
203
204 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Broadcast)
205 private:
206 inline void set_has_content();
207 inline void clear_has_content();
208 inline void set_has_creator();
209 inline void clear_has_creator();
210 inline void set_has_creation_time();
211 inline void clear_has_creation_time();
212
213 ::google::protobuf::UnknownFieldSet _unknown_fields_;
214
215 ::google::protobuf::uint32 _has_bits_[1];
216 mutable int _cached_size_;
217 ::std::string* content_;
219 ::google::protobuf::uint64 creation_time_;
223
226};
227// -------------------------------------------------------------------
228
229class TC_PROTO_API ClubCreateOptions : public ::google::protobuf::Message {
230 public:
233
235
237 CopyFrom(from);
238 return *this;
239 }
240
241 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
242 return _unknown_fields_;
243 }
244
245 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
246 return &_unknown_fields_;
247 }
248
249 static const ::google::protobuf::Descriptor* descriptor();
251
253
254 // implements Message ----------------------------------------------
255
257 int GetCachedSize() const { return _cached_size_; }
258 private:
261 void SetCachedSize(int size) const;
262 public:
263 ::google::protobuf::Metadata GetMetadata() const;
264
265 // nested types ----------------------------------------------------
266
267 // accessors -------------------------------------------------------
268
269 // optional .bgs.protocol.club.v1.UniqueClubType type = 1;
270 inline bool has_type() const;
271 inline void clear_type();
272 static const int kTypeFieldNumber = 1;
273 inline const ::bgs::protocol::club::v1::UniqueClubType& type() const;
274 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type();
275 inline ::bgs::protocol::club::v1::UniqueClubType* release_type();
276 inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type);
277
278 // repeated .bgs.protocol.v2.Attribute attribute = 2;
279 inline int attribute_size() const;
280 inline void clear_attribute();
281 static const int kAttributeFieldNumber = 2;
282 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
283 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
284 inline ::bgs::protocol::v2::Attribute* add_attribute();
285 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
286 attribute() const;
287 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
288 mutable_attribute();
289
290 // optional string name = 3;
291 inline bool has_name() const;
292 inline void clear_name();
293 static const int kNameFieldNumber = 3;
294 inline const ::std::string& name() const;
295 inline void set_name(const ::std::string& value);
296 inline void set_name(const char* value);
297 inline void set_name(const char* value, size_t size);
298 inline ::std::string* mutable_name();
299 inline ::std::string* release_name();
300 inline void set_allocated_name(::std::string* name);
301
302 // optional string description = 4;
303 inline bool has_description() const;
304 inline void clear_description();
305 static const int kDescriptionFieldNumber = 4;
306 inline const ::std::string& description() const;
307 inline void set_description(const ::std::string& value);
308 inline void set_description(const char* value);
309 inline void set_description(const char* value, size_t size);
310 inline ::std::string* mutable_description();
311 inline ::std::string* release_description();
312 inline void set_allocated_description(::std::string* description);
313
314 // optional .bgs.protocol.club.v1.AvatarId avatar = 5;
315 inline bool has_avatar() const;
316 inline void clear_avatar();
317 static const int kAvatarFieldNumber = 5;
318 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
319 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
320 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
321 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
322
323 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
324 inline bool has_privacy_level() const;
325 inline void clear_privacy_level();
326 static const int kPrivacyLevelFieldNumber = 6;
327 inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const;
328 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
329
330 // optional string short_name = 7;
331 inline bool has_short_name() const;
332 inline void clear_short_name();
333 static const int kShortNameFieldNumber = 7;
334 inline const ::std::string& short_name() const;
335 inline void set_short_name(const ::std::string& value);
336 inline void set_short_name(const char* value);
337 inline void set_short_name(const char* value, size_t size);
338 inline ::std::string* mutable_short_name();
339 inline ::std::string* release_short_name();
340 inline void set_allocated_short_name(::std::string* short_name);
341
342 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8;
343 inline bool has_visibility_level() const;
344 inline void clear_visibility_level();
345 static const int kVisibilityLevelFieldNumber = 8;
346 inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
347 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
348
349 // optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10;
350 inline bool has_member() const;
351 inline void clear_member();
352 static const int kMemberFieldNumber = 10;
353 inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& member() const;
354 inline ::bgs::protocol::club::v1::client::CreateMemberOptions* mutable_member();
355 inline ::bgs::protocol::club::v1::client::CreateMemberOptions* release_member();
356 inline void set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member);
357
358 // optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11;
359 inline bool has_stream() const;
360 inline void clear_stream();
361 static const int kStreamFieldNumber = 11;
362 inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& stream() const;
363 inline ::bgs::protocol::club::v1::client::CreateStreamOptions* mutable_stream();
364 inline ::bgs::protocol::club::v1::client::CreateStreamOptions* release_stream();
365 inline void set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream);
366
367 // optional .bgs.protocol.club.v1.TagOptions tag = 12;
368 inline bool has_tag() const;
369 inline void clear_tag();
370 static const int kTagFieldNumber = 12;
371 inline const ::bgs::protocol::club::v1::TagOptions& tag() const;
372 inline ::bgs::protocol::club::v1::TagOptions* mutable_tag();
373 inline ::bgs::protocol::club::v1::TagOptions* release_tag();
374 inline void set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag);
375
376 // repeated .bgs.protocol.v2.Attribute search_attribute = 13;
377 inline int search_attribute_size() const;
378 inline void clear_search_attribute();
379 static const int kSearchAttributeFieldNumber = 13;
380 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
381 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
382 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
383 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
384 search_attribute() const;
385 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
386 mutable_search_attribute();
387
388 // optional string locale = 14;
389 inline bool has_locale() const;
390 inline void clear_locale();
391 static const int kLocaleFieldNumber = 14;
392 inline const ::std::string& locale() const;
393 inline void set_locale(const ::std::string& value);
394 inline void set_locale(const char* value);
395 inline void set_locale(const char* value, size_t size);
396 inline ::std::string* mutable_locale();
397 inline ::std::string* release_locale();
398 inline void set_allocated_locale(::std::string* locale);
399
400 // optional string timezone = 15;
401 inline bool has_timezone() const;
402 inline void clear_timezone();
403 static const int kTimezoneFieldNumber = 15;
404 inline const ::std::string& timezone() const;
405 inline void set_timezone(const ::std::string& value);
406 inline void set_timezone(const char* value);
407 inline void set_timezone(const char* value, size_t size);
408 inline ::std::string* mutable_timezone();
409 inline ::std::string* release_timezone();
410 inline void set_allocated_timezone(::std::string* timezone);
411
412 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubCreateOptions)
413 private:
414 inline void set_has_type();
415 inline void clear_has_type();
416 inline void set_has_name();
417 inline void clear_has_name();
418 inline void set_has_description();
419 inline void clear_has_description();
420 inline void set_has_avatar();
421 inline void clear_has_avatar();
422 inline void set_has_privacy_level();
423 inline void clear_has_privacy_level();
424 inline void set_has_short_name();
425 inline void clear_has_short_name();
426 inline void set_has_visibility_level();
427 inline void clear_has_visibility_level();
428 inline void set_has_member();
429 inline void clear_has_member();
430 inline void set_has_stream();
431 inline void clear_has_stream();
432 inline void set_has_tag();
433 inline void clear_has_tag();
434 inline void set_has_locale();
435 inline void clear_has_locale();
436 inline void set_has_timezone();
437 inline void clear_has_timezone();
438
439 ::google::protobuf::UnknownFieldSet _unknown_fields_;
440
441 ::google::protobuf::uint32 _has_bits_[1];
442 mutable int _cached_size_;
444 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
445 ::std::string* name_;
446 ::std::string* description_;
448 ::std::string* short_name_;
454 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
455 ::std::string* locale_;
456 ::std::string* timezone_;
460
463};
464// -------------------------------------------------------------------
465
466class TC_PROTO_API Club : public ::google::protobuf::Message {
467 public:
469 virtual ~Club();
470
471 Club(const Club& from);
472
473 inline Club& operator=(const Club& from) {
474 CopyFrom(from);
475 return *this;
476 }
477
478 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
479 return _unknown_fields_;
480 }
481
482 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
483 return &_unknown_fields_;
484 }
485
486 static const ::google::protobuf::Descriptor* descriptor();
487 static const Club& default_instance();
488
489 void Swap(Club* other);
490
491 // implements Message ----------------------------------------------
492
493 Club* New() const;
494 int GetCachedSize() const { return _cached_size_; }
495 private:
498 void SetCachedSize(int size) const;
499 public:
500 ::google::protobuf::Metadata GetMetadata() const;
501
502 // nested types ----------------------------------------------------
503
504 // accessors -------------------------------------------------------
505
506 // optional uint64 id = 1;
507 inline bool has_id() const;
508 inline void clear_id();
509 static const int kIdFieldNumber = 1;
510 inline ::google::protobuf::uint64 id() const;
511 inline void set_id(::google::protobuf::uint64 value);
512
513 // optional .bgs.protocol.club.v1.UniqueClubType type = 2;
514 inline bool has_type() const;
515 inline void clear_type();
516 static const int kTypeFieldNumber = 2;
517 inline const ::bgs::protocol::club::v1::UniqueClubType& type() const;
518 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_type();
519 inline ::bgs::protocol::club::v1::UniqueClubType* release_type();
520 inline void set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type);
521
522 // repeated .bgs.protocol.v2.Attribute attribute = 3;
523 inline int attribute_size() const;
524 inline void clear_attribute();
525 static const int kAttributeFieldNumber = 3;
526 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
527 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
528 inline ::bgs::protocol::v2::Attribute* add_attribute();
529 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
530 attribute() const;
531 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
532 mutable_attribute();
533
534 // optional string name = 4;
535 inline bool has_name() const;
536 inline void clear_name();
537 static const int kNameFieldNumber = 4;
538 inline const ::std::string& name() const;
539 inline void set_name(const ::std::string& value);
540 inline void set_name(const char* value);
541 inline void set_name(const char* value, size_t size);
542 inline ::std::string* mutable_name();
543 inline ::std::string* release_name();
544 inline void set_allocated_name(::std::string* name);
545
546 // optional string description = 5;
547 inline bool has_description() const;
548 inline void clear_description();
549 static const int kDescriptionFieldNumber = 5;
550 inline const ::std::string& description() const;
551 inline void set_description(const ::std::string& value);
552 inline void set_description(const char* value);
553 inline void set_description(const char* value, size_t size);
554 inline ::std::string* mutable_description();
555 inline ::std::string* release_description();
556 inline void set_allocated_description(::std::string* description);
557
558 // optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6;
559 inline bool has_broadcast() const;
560 inline void clear_broadcast();
561 static const int kBroadcastFieldNumber = 6;
562 inline const ::bgs::protocol::club::v1::client::Broadcast& broadcast() const;
563 inline ::bgs::protocol::club::v1::client::Broadcast* mutable_broadcast();
564 inline ::bgs::protocol::club::v1::client::Broadcast* release_broadcast();
565 inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast);
566
567 // optional .bgs.protocol.club.v1.AvatarId avatar = 7;
568 inline bool has_avatar() const;
569 inline void clear_avatar();
570 static const int kAvatarFieldNumber = 7;
571 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
572 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
573 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
574 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
575
576 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8;
577 inline bool has_privacy_level() const;
578 inline void clear_privacy_level();
579 static const int kPrivacyLevelFieldNumber = 8;
580 inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const;
581 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
582
583 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
584 inline bool has_visibility_level() const;
585 inline void clear_visibility_level();
586 static const int kVisibilityLevelFieldNumber = 9;
587 inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
588 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
589
590 // optional uint32 member_count = 10;
591 inline bool has_member_count() const;
592 inline void clear_member_count();
593 static const int kMemberCountFieldNumber = 10;
594 inline ::google::protobuf::uint32 member_count() const;
595 inline void set_member_count(::google::protobuf::uint32 value);
596
597 // optional uint64 creation_time = 11;
598 inline bool has_creation_time() const;
599 inline void clear_creation_time();
600 static const int kCreationTimeFieldNumber = 11;
601 inline ::google::protobuf::uint64 creation_time() const;
602 inline void set_creation_time(::google::protobuf::uint64 value);
603
604 // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12;
605 inline bool has_stream_position() const;
606 inline void clear_stream_position();
607 static const int kStreamPositionFieldNumber = 12;
608 inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const;
609 inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position();
610 inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position();
611 inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position);
612
613 // optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13;
614 inline bool has_role_set() const;
615 inline void clear_role_set();
616 static const int kRoleSetFieldNumber = 13;
617 inline const ::bgs::protocol::club::v1::client::ClubRoleSet& role_set() const;
618 inline ::bgs::protocol::club::v1::client::ClubRoleSet* mutable_role_set();
619 inline ::bgs::protocol::club::v1::client::ClubRoleSet* release_role_set();
620 inline void set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set);
621
622 // repeated .bgs.protocol.club.v1.client.MemberDescription leader = 14;
623 inline int leader_size() const;
624 inline void clear_leader();
625 static const int kLeaderFieldNumber = 14;
626 inline const ::bgs::protocol::club::v1::client::MemberDescription& leader(int index) const;
627 inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_leader(int index);
628 inline ::bgs::protocol::club::v1::client::MemberDescription* add_leader();
629 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >&
630 leader() const;
631 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >*
632 mutable_leader();
633
634 // optional string short_name = 15;
635 inline bool has_short_name() const;
636 inline void clear_short_name();
637 static const int kShortNameFieldNumber = 15;
638 inline const ::std::string& short_name() const;
639 inline void set_short_name(const ::std::string& value);
640 inline void set_short_name(const char* value);
641 inline void set_short_name(const char* value, size_t size);
642 inline ::std::string* mutable_short_name();
643 inline ::std::string* release_short_name();
644 inline void set_allocated_short_name(::std::string* short_name);
645
646 // repeated .bgs.protocol.v2.Attribute search_attribute = 16;
647 inline int search_attribute_size() const;
648 inline void clear_search_attribute();
649 static const int kSearchAttributeFieldNumber = 16;
650 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
651 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
652 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
653 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
654 search_attribute() const;
655 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
656 mutable_search_attribute();
657
658 // repeated .bgs.protocol.club.v1.TagIdentifier tag = 17;
659 inline int tag_size() const;
660 inline void clear_tag();
661 static const int kTagFieldNumber = 17;
662 inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
663 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
664 inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
665 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
666 tag() const;
667 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
668 mutable_tag();
669
670 // optional string locale = 18;
671 inline bool has_locale() const;
672 inline void clear_locale();
673 static const int kLocaleFieldNumber = 18;
674 inline const ::std::string& locale() const;
675 inline void set_locale(const ::std::string& value);
676 inline void set_locale(const char* value);
677 inline void set_locale(const char* value, size_t size);
678 inline ::std::string* mutable_locale();
679 inline ::std::string* release_locale();
680 inline void set_allocated_locale(::std::string* locale);
681
682 // optional string timezone = 19;
683 inline bool has_timezone() const;
684 inline void clear_timezone();
685 static const int kTimezoneFieldNumber = 19;
686 inline const ::std::string& timezone() const;
687 inline void set_timezone(const ::std::string& value);
688 inline void set_timezone(const char* value);
689 inline void set_timezone(const char* value, size_t size);
690 inline ::std::string* mutable_timezone();
691 inline ::std::string* release_timezone();
692 inline void set_allocated_timezone(::std::string* timezone);
693
694 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Club)
695 private:
696 inline void set_has_id();
697 inline void clear_has_id();
698 inline void set_has_type();
699 inline void clear_has_type();
700 inline void set_has_name();
701 inline void clear_has_name();
702 inline void set_has_description();
703 inline void clear_has_description();
704 inline void set_has_broadcast();
705 inline void clear_has_broadcast();
706 inline void set_has_avatar();
707 inline void clear_has_avatar();
708 inline void set_has_privacy_level();
709 inline void clear_has_privacy_level();
710 inline void set_has_visibility_level();
711 inline void clear_has_visibility_level();
712 inline void set_has_member_count();
713 inline void clear_has_member_count();
714 inline void set_has_creation_time();
715 inline void clear_has_creation_time();
716 inline void set_has_stream_position();
717 inline void clear_has_stream_position();
718 inline void set_has_role_set();
719 inline void clear_has_role_set();
720 inline void set_has_short_name();
721 inline void clear_has_short_name();
722 inline void set_has_locale();
723 inline void clear_has_locale();
724 inline void set_has_timezone();
725 inline void clear_has_timezone();
726
727 ::google::protobuf::UnknownFieldSet _unknown_fields_;
728
729 ::google::protobuf::uint32 _has_bits_[1];
730 mutable int _cached_size_;
731 ::google::protobuf::uint64 id_;
733 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
734 ::std::string* name_;
735 ::std::string* description_;
740 ::google::protobuf::uint64 creation_time_;
743 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription > leader_;
744 ::std::string* short_name_;
745 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
746 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
747 ::std::string* locale_;
748 ::std::string* timezone_;
749 ::google::protobuf::uint32 member_count_;
753
756};
757// -------------------------------------------------------------------
758
759class TC_PROTO_API ClubView : public ::google::protobuf::Message {
760 public:
762 virtual ~ClubView();
763
764 ClubView(const ClubView& from);
765
766 inline ClubView& operator=(const ClubView& from) {
767 CopyFrom(from);
768 return *this;
769 }
770
771 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
772 return _unknown_fields_;
773 }
774
775 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
776 return &_unknown_fields_;
777 }
778
779 static const ::google::protobuf::Descriptor* descriptor();
780 static const ClubView& default_instance();
781
782 void Swap(ClubView* other);
783
784 // implements Message ----------------------------------------------
785
786 ClubView* New() const;
787 int GetCachedSize() const { return _cached_size_; }
788 private:
791 void SetCachedSize(int size) const;
792 public:
793 ::google::protobuf::Metadata GetMetadata() const;
794
795 // nested types ----------------------------------------------------
796
797 // accessors -------------------------------------------------------
798
799 // optional uint64 club_id = 1;
800 inline bool has_club_id() const;
801 inline void clear_club_id();
802 static const int kClubIdFieldNumber = 1;
803 inline ::google::protobuf::uint64 club_id() const;
804 inline void set_club_id(::google::protobuf::uint64 value);
805
806 // optional .bgs.protocol.ViewMarker marker = 2;
807 inline bool has_marker() const;
808 inline void clear_marker();
809 static const int kMarkerFieldNumber = 2;
810 inline const ::bgs::protocol::ViewMarker& marker() const;
811 inline ::bgs::protocol::ViewMarker* mutable_marker();
812 inline ::bgs::protocol::ViewMarker* release_marker();
813 inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker);
814
815 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubView)
816 private:
817 inline void set_has_club_id();
818 inline void clear_has_club_id();
819 inline void set_has_marker();
820 inline void clear_has_marker();
821
822 ::google::protobuf::UnknownFieldSet _unknown_fields_;
823
824 ::google::protobuf::uint32 _has_bits_[1];
825 mutable int _cached_size_;
826 ::google::protobuf::uint64 club_id_;
831
834};
835// -------------------------------------------------------------------
836
837class TC_PROTO_API ClubStateOptions : public ::google::protobuf::Message {
838 public:
841
843
845 CopyFrom(from);
846 return *this;
847 }
848
849 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
850 return _unknown_fields_;
851 }
852
853 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
854 return &_unknown_fields_;
855 }
856
857 static const ::google::protobuf::Descriptor* descriptor();
859
860 void Swap(ClubStateOptions* other);
861
862 // implements Message ----------------------------------------------
863
865 int GetCachedSize() const { return _cached_size_; }
866 private:
869 void SetCachedSize(int size) const;
870 public:
871 ::google::protobuf::Metadata GetMetadata() const;
872
873 // nested types ----------------------------------------------------
874
875 // accessors -------------------------------------------------------
876
877 // repeated .bgs.protocol.v2.Attribute attribute = 1;
878 inline int attribute_size() const;
879 inline void clear_attribute();
880 static const int kAttributeFieldNumber = 1;
881 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
882 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
883 inline ::bgs::protocol::v2::Attribute* add_attribute();
884 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
885 attribute() const;
886 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
887 mutable_attribute();
888
889 // optional string name = 2;
890 inline bool has_name() const;
891 inline void clear_name();
892 static const int kNameFieldNumber = 2;
893 inline const ::std::string& name() const;
894 inline void set_name(const ::std::string& value);
895 inline void set_name(const char* value);
896 inline void set_name(const char* value, size_t size);
897 inline ::std::string* mutable_name();
898 inline ::std::string* release_name();
899 inline void set_allocated_name(::std::string* name);
900
901 // optional string description = 3;
902 inline bool has_description() const;
903 inline void clear_description();
904 static const int kDescriptionFieldNumber = 3;
905 inline const ::std::string& description() const;
906 inline void set_description(const ::std::string& value);
907 inline void set_description(const char* value);
908 inline void set_description(const char* value, size_t size);
909 inline ::std::string* mutable_description();
910 inline ::std::string* release_description();
911 inline void set_allocated_description(::std::string* description);
912
913 // optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4;
914 inline bool has_broadcast() const;
915 inline void clear_broadcast();
916 static const int kBroadcastFieldNumber = 4;
917 inline const ::bgs::protocol::club::v1::client::SetBroadcastOptions& broadcast() const;
918 inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* mutable_broadcast();
919 inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* release_broadcast();
920 inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast);
921
922 // optional .bgs.protocol.club.v1.AvatarId avatar = 5;
923 inline bool has_avatar() const;
924 inline void clear_avatar();
925 static const int kAvatarFieldNumber = 5;
926 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
927 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
928 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
929 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
930
931 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
932 inline bool has_privacy_level() const;
933 inline void clear_privacy_level();
934 static const int kPrivacyLevelFieldNumber = 6;
935 inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const;
936 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
937
938 // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7;
939 inline bool has_stream_position() const;
940 inline void clear_stream_position();
941 static const int kStreamPositionFieldNumber = 7;
942 inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const;
943 inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position();
944 inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position();
945 inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position);
946
947 // optional string short_name = 8;
948 inline bool has_short_name() const;
949 inline void clear_short_name();
950 static const int kShortNameFieldNumber = 8;
951 inline const ::std::string& short_name() const;
952 inline void set_short_name(const ::std::string& value);
953 inline void set_short_name(const char* value);
954 inline void set_short_name(const char* value, size_t size);
955 inline ::std::string* mutable_short_name();
956 inline ::std::string* release_short_name();
957 inline void set_allocated_short_name(::std::string* short_name);
958
959 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
960 inline bool has_visibility_level() const;
961 inline void clear_visibility_level();
962 static const int kVisibilityLevelFieldNumber = 9;
963 inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
964 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
965
966 // optional string locale = 10;
967 inline bool has_locale() const;
968 inline void clear_locale();
969 static const int kLocaleFieldNumber = 10;
970 inline const ::std::string& locale() const;
971 inline void set_locale(const ::std::string& value);
972 inline void set_locale(const char* value);
973 inline void set_locale(const char* value, size_t size);
974 inline ::std::string* mutable_locale();
975 inline ::std::string* release_locale();
976 inline void set_allocated_locale(::std::string* locale);
977
978 // optional string timezone = 11;
979 inline bool has_timezone() const;
980 inline void clear_timezone();
981 static const int kTimezoneFieldNumber = 11;
982 inline const ::std::string& timezone() const;
983 inline void set_timezone(const ::std::string& value);
984 inline void set_timezone(const char* value);
985 inline void set_timezone(const char* value, size_t size);
986 inline ::std::string* mutable_timezone();
987 inline ::std::string* release_timezone();
988 inline void set_allocated_timezone(::std::string* timezone);
989
990 // optional .bgs.protocol.club.v1.TagOptions tag_options = 12;
991 inline bool has_tag_options() const;
992 inline void clear_tag_options();
993 static const int kTagOptionsFieldNumber = 12;
994 inline const ::bgs::protocol::club::v1::TagOptions& tag_options() const;
995 inline ::bgs::protocol::club::v1::TagOptions* mutable_tag_options();
996 inline ::bgs::protocol::club::v1::TagOptions* release_tag_options();
997 inline void set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options);
998
999 // repeated .bgs.protocol.v2.Attribute search_attribute = 13;
1000 inline int search_attribute_size() const;
1001 inline void clear_search_attribute();
1002 static const int kSearchAttributeFieldNumber = 13;
1003 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
1004 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
1005 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
1006 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1007 search_attribute() const;
1008 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1009 mutable_search_attribute();
1010
1011 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateOptions)
1012 private:
1013 inline void set_has_name();
1014 inline void clear_has_name();
1015 inline void set_has_description();
1016 inline void clear_has_description();
1017 inline void set_has_broadcast();
1018 inline void clear_has_broadcast();
1019 inline void set_has_avatar();
1020 inline void clear_has_avatar();
1021 inline void set_has_privacy_level();
1022 inline void clear_has_privacy_level();
1023 inline void set_has_stream_position();
1024 inline void clear_has_stream_position();
1025 inline void set_has_short_name();
1026 inline void clear_has_short_name();
1027 inline void set_has_visibility_level();
1028 inline void clear_has_visibility_level();
1029 inline void set_has_locale();
1030 inline void clear_has_locale();
1031 inline void set_has_timezone();
1032 inline void clear_has_timezone();
1033 inline void set_has_tag_options();
1034 inline void clear_has_tag_options();
1035
1036 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1037
1038 ::google::protobuf::uint32 _has_bits_[1];
1039 mutable int _cached_size_;
1040 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1041 ::std::string* name_;
1042 ::std::string* description_;
1048 ::std::string* short_name_;
1049 ::std::string* locale_;
1050 ::std::string* timezone_;
1052 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
1056
1059};
1060// -------------------------------------------------------------------
1061
1062class TC_PROTO_API ClubStateAssignment : public ::google::protobuf::Message {
1063 public:
1066
1068
1070 CopyFrom(from);
1071 return *this;
1072 }
1073
1074 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1075 return _unknown_fields_;
1076 }
1077
1078 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1079 return &_unknown_fields_;
1080 }
1081
1082 static const ::google::protobuf::Descriptor* descriptor();
1084
1086
1087 // implements Message ----------------------------------------------
1088
1090 int GetCachedSize() const { return _cached_size_; }
1091 private:
1094 void SetCachedSize(int size) const;
1095 public:
1096 ::google::protobuf::Metadata GetMetadata() const;
1097
1098 // nested types ----------------------------------------------------
1099
1100 // accessors -------------------------------------------------------
1101
1102 // optional uint64 club_id = 1;
1103 inline bool has_club_id() const;
1104 inline void clear_club_id();
1105 static const int kClubIdFieldNumber = 1;
1106 inline ::google::protobuf::uint64 club_id() const;
1107 inline void set_club_id(::google::protobuf::uint64 value);
1108
1109 // repeated .bgs.protocol.v2.Attribute attribute = 2;
1110 inline int attribute_size() const;
1111 inline void clear_attribute();
1112 static const int kAttributeFieldNumber = 2;
1113 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1114 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1115 inline ::bgs::protocol::v2::Attribute* add_attribute();
1116 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1117 attribute() const;
1118 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1119 mutable_attribute();
1120
1121 // optional string name = 3;
1122 inline bool has_name() const;
1123 inline void clear_name();
1124 static const int kNameFieldNumber = 3;
1125 inline const ::std::string& name() const;
1126 inline void set_name(const ::std::string& value);
1127 inline void set_name(const char* value);
1128 inline void set_name(const char* value, size_t size);
1129 inline ::std::string* mutable_name();
1130 inline ::std::string* release_name();
1131 inline void set_allocated_name(::std::string* name);
1132
1133 // optional string description = 4;
1134 inline bool has_description() const;
1135 inline void clear_description();
1136 static const int kDescriptionFieldNumber = 4;
1137 inline const ::std::string& description() const;
1138 inline void set_description(const ::std::string& value);
1139 inline void set_description(const char* value);
1140 inline void set_description(const char* value, size_t size);
1141 inline ::std::string* mutable_description();
1142 inline ::std::string* release_description();
1143 inline void set_allocated_description(::std::string* description);
1144
1145 // optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5;
1146 inline bool has_broadcast() const;
1147 inline void clear_broadcast();
1148 static const int kBroadcastFieldNumber = 5;
1149 inline const ::bgs::protocol::club::v1::client::Broadcast& broadcast() const;
1150 inline ::bgs::protocol::club::v1::client::Broadcast* mutable_broadcast();
1151 inline ::bgs::protocol::club::v1::client::Broadcast* release_broadcast();
1152 inline void set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast);
1153
1154 // optional .bgs.protocol.club.v1.AvatarId avatar = 6;
1155 inline bool has_avatar() const;
1156 inline void clear_avatar();
1157 static const int kAvatarFieldNumber = 6;
1158 inline const ::bgs::protocol::club::v1::AvatarId& avatar() const;
1159 inline ::bgs::protocol::club::v1::AvatarId* mutable_avatar();
1160 inline ::bgs::protocol::club::v1::AvatarId* release_avatar();
1161 inline void set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar);
1162
1163 // optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7;
1164 inline bool has_privacy_level() const;
1165 inline void clear_privacy_level();
1166 static const int kPrivacyLevelFieldNumber = 7;
1167 inline ::bgs::protocol::club::v1::PrivacyLevel privacy_level() const;
1168 inline void set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value);
1169
1170 // optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8;
1171 inline bool has_stream_position() const;
1172 inline void clear_stream_position();
1173 static const int kStreamPositionFieldNumber = 8;
1174 inline const ::bgs::protocol::club::v1::client::StreamPosition& stream_position() const;
1175 inline ::bgs::protocol::club::v1::client::StreamPosition* mutable_stream_position();
1176 inline ::bgs::protocol::club::v1::client::StreamPosition* release_stream_position();
1177 inline void set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position);
1178
1179 // optional string short_name = 9;
1180 inline bool has_short_name() const;
1181 inline void clear_short_name();
1182 static const int kShortNameFieldNumber = 9;
1183 inline const ::std::string& short_name() const;
1184 inline void set_short_name(const ::std::string& value);
1185 inline void set_short_name(const char* value);
1186 inline void set_short_name(const char* value, size_t size);
1187 inline ::std::string* mutable_short_name();
1188 inline ::std::string* release_short_name();
1189 inline void set_allocated_short_name(::std::string* short_name);
1190
1191 // optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10;
1192 inline bool has_visibility_level() const;
1193 inline void clear_visibility_level();
1194 static const int kVisibilityLevelFieldNumber = 10;
1195 inline ::bgs::protocol::club::v1::VisibilityLevel visibility_level() const;
1196 inline void set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value);
1197
1198 // optional string locale = 11;
1199 inline bool has_locale() const;
1200 inline void clear_locale();
1201 static const int kLocaleFieldNumber = 11;
1202 inline const ::std::string& locale() const;
1203 inline void set_locale(const ::std::string& value);
1204 inline void set_locale(const char* value);
1205 inline void set_locale(const char* value, size_t size);
1206 inline ::std::string* mutable_locale();
1207 inline ::std::string* release_locale();
1208 inline void set_allocated_locale(::std::string* locale);
1209
1210 // optional string timezone = 12;
1211 inline bool has_timezone() const;
1212 inline void clear_timezone();
1213 static const int kTimezoneFieldNumber = 12;
1214 inline const ::std::string& timezone() const;
1215 inline void set_timezone(const ::std::string& value);
1216 inline void set_timezone(const char* value);
1217 inline void set_timezone(const char* value, size_t size);
1218 inline ::std::string* mutable_timezone();
1219 inline ::std::string* release_timezone();
1220 inline void set_allocated_timezone(::std::string* timezone);
1221
1222 // repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
1223 inline int tag_size() const;
1224 inline void clear_tag();
1225 static const int kTagFieldNumber = 13;
1226 inline const ::bgs::protocol::club::v1::TagIdentifier& tag(int index) const;
1227 inline ::bgs::protocol::club::v1::TagIdentifier* mutable_tag(int index);
1228 inline ::bgs::protocol::club::v1::TagIdentifier* add_tag();
1229 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
1230 tag() const;
1231 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
1232 mutable_tag();
1233
1234 // repeated .bgs.protocol.v2.Attribute search_attribute = 14;
1235 inline int search_attribute_size() const;
1236 inline void clear_search_attribute();
1237 static const int kSearchAttributeFieldNumber = 14;
1238 inline const ::bgs::protocol::v2::Attribute& search_attribute(int index) const;
1239 inline ::bgs::protocol::v2::Attribute* mutable_search_attribute(int index);
1240 inline ::bgs::protocol::v2::Attribute* add_search_attribute();
1241 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1242 search_attribute() const;
1243 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1244 mutable_search_attribute();
1245
1246 // optional bool tag_cleared = 15;
1247 inline bool has_tag_cleared() const;
1248 inline void clear_tag_cleared();
1249 static const int kTagClearedFieldNumber = 15;
1250 inline bool tag_cleared() const;
1251 inline void set_tag_cleared(bool value);
1252
1253 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStateAssignment)
1254 private:
1255 inline void set_has_club_id();
1256 inline void clear_has_club_id();
1257 inline void set_has_name();
1258 inline void clear_has_name();
1259 inline void set_has_description();
1260 inline void clear_has_description();
1261 inline void set_has_broadcast();
1262 inline void clear_has_broadcast();
1263 inline void set_has_avatar();
1264 inline void clear_has_avatar();
1265 inline void set_has_privacy_level();
1266 inline void clear_has_privacy_level();
1267 inline void set_has_stream_position();
1268 inline void clear_has_stream_position();
1269 inline void set_has_short_name();
1270 inline void clear_has_short_name();
1271 inline void set_has_visibility_level();
1272 inline void clear_has_visibility_level();
1273 inline void set_has_locale();
1274 inline void clear_has_locale();
1275 inline void set_has_timezone();
1276 inline void clear_has_timezone();
1277 inline void set_has_tag_cleared();
1278 inline void clear_has_tag_cleared();
1279
1280 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1281
1282 ::google::protobuf::uint32 _has_bits_[1];
1283 mutable int _cached_size_;
1284 ::google::protobuf::uint64 club_id_;
1285 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1286 ::std::string* name_;
1287 ::std::string* description_;
1293 ::std::string* short_name_;
1294 ::std::string* locale_;
1295 ::std::string* timezone_;
1296 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_;
1297 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_;
1302
1305};
1306// -------------------------------------------------------------------
1307
1308class TC_PROTO_API StreamSettings : public ::google::protobuf::Message {
1309 public:
1312
1314
1316 CopyFrom(from);
1317 return *this;
1318 }
1319
1320 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1321 return _unknown_fields_;
1322 }
1323
1324 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1325 return &_unknown_fields_;
1326 }
1327
1328 static const ::google::protobuf::Descriptor* descriptor();
1330
1331 void Swap(StreamSettings* other);
1332
1333 // implements Message ----------------------------------------------
1334
1336 int GetCachedSize() const { return _cached_size_; }
1337 private:
1340 void SetCachedSize(int size) const;
1341 public:
1342 ::google::protobuf::Metadata GetMetadata() const;
1343
1344 // nested types ----------------------------------------------------
1345
1346 // accessors -------------------------------------------------------
1347
1348 // optional uint64 stream_id = 1;
1349 inline bool has_stream_id() const;
1350 inline void clear_stream_id();
1351 static const int kStreamIdFieldNumber = 1;
1352 inline ::google::protobuf::uint64 stream_id() const;
1353 inline void set_stream_id(::google::protobuf::uint64 value);
1354
1355 // optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2;
1356 inline bool has_filter() const;
1357 inline void clear_filter();
1358 static const int kFilterFieldNumber = 2;
1359 inline ::bgs::protocol::club::v1::client::StreamNotificationFilter filter() const;
1361
1362 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamSettings)
1363 private:
1364 inline void set_has_stream_id();
1365 inline void clear_has_stream_id();
1366 inline void set_has_filter();
1367 inline void clear_has_filter();
1368
1369 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1370
1371 ::google::protobuf::uint32 _has_bits_[1];
1372 mutable int _cached_size_;
1373 ::google::protobuf::uint64 stream_id_;
1378
1381};
1382// -------------------------------------------------------------------
1383
1384class TC_PROTO_API ClubSettings : public ::google::protobuf::Message {
1385 public:
1387 virtual ~ClubSettings();
1388
1390
1391 inline ClubSettings& operator=(const ClubSettings& from) {
1392 CopyFrom(from);
1393 return *this;
1394 }
1395
1396 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1397 return _unknown_fields_;
1398 }
1399
1400 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1401 return &_unknown_fields_;
1402 }
1403
1404 static const ::google::protobuf::Descriptor* descriptor();
1406
1407 void Swap(ClubSettings* other);
1408
1409 // implements Message ----------------------------------------------
1410
1412 int GetCachedSize() const { return _cached_size_; }
1413 private:
1416 void SetCachedSize(int size) const;
1417 public:
1418 ::google::protobuf::Metadata GetMetadata() const;
1419
1420 // nested types ----------------------------------------------------
1421
1422 // accessors -------------------------------------------------------
1423
1424 // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1;
1425 inline int stream_size() const;
1426 inline void clear_stream();
1427 static const int kStreamFieldNumber = 1;
1428 inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const;
1429 inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index);
1430 inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream();
1431 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >&
1432 stream() const;
1433 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >*
1434 mutable_stream();
1435
1436 // optional bool stream_notification_filter_all = 2;
1437 inline bool has_stream_notification_filter_all() const;
1438 inline void clear_stream_notification_filter_all();
1439 static const int kStreamNotificationFilterAllFieldNumber = 2;
1440 inline bool stream_notification_filter_all() const;
1441 inline void set_stream_notification_filter_all(bool value);
1442
1443 // repeated .bgs.protocol.v2.Attribute attribute = 3;
1444 inline int attribute_size() const;
1445 inline void clear_attribute();
1446 static const int kAttributeFieldNumber = 3;
1447 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1448 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1449 inline ::bgs::protocol::v2::Attribute* add_attribute();
1450 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1451 attribute() const;
1452 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1453 mutable_attribute();
1454
1455 // optional bool push_notification_filter_all = 4;
1456 inline bool has_push_notification_filter_all() const;
1457 inline void clear_push_notification_filter_all();
1458 static const int kPushNotificationFilterAllFieldNumber = 4;
1459 inline bool push_notification_filter_all() const;
1460 inline void set_push_notification_filter_all(bool value);
1461
1462 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettings)
1463 private:
1464 inline void set_has_stream_notification_filter_all();
1465 inline void clear_has_stream_notification_filter_all();
1466 inline void set_has_push_notification_filter_all();
1467 inline void clear_has_push_notification_filter_all();
1468
1469 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1470
1471 ::google::protobuf::uint32 _has_bits_[1];
1472 mutable int _cached_size_;
1473 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_;
1474 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1480
1483};
1484// -------------------------------------------------------------------
1485
1486class TC_PROTO_API ClubSettingsOptions : public ::google::protobuf::Message {
1487 public:
1490
1492
1494 CopyFrom(from);
1495 return *this;
1496 }
1497
1498 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1499 return _unknown_fields_;
1500 }
1501
1502 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1503 return &_unknown_fields_;
1504 }
1505
1506 static const ::google::protobuf::Descriptor* descriptor();
1508
1510
1511 // implements Message ----------------------------------------------
1512
1514 int GetCachedSize() const { return _cached_size_; }
1515 private:
1518 void SetCachedSize(int size) const;
1519 public:
1520 ::google::protobuf::Metadata GetMetadata() const;
1521
1522 // nested types ----------------------------------------------------
1523
1524 // accessors -------------------------------------------------------
1525
1526 // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true];
1527 inline int stream_size() const PROTOBUF_DEPRECATED;
1528 inline void clear_stream() PROTOBUF_DEPRECATED;
1529 static const int kStreamFieldNumber = 1;
1530 inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED;
1531 inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED;
1532 inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream() PROTOBUF_DEPRECATED;
1533 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >&
1534 stream() const PROTOBUF_DEPRECATED;
1535 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >*
1536 mutable_stream() PROTOBUF_DEPRECATED;
1537
1538 // optional .bgs.protocol.club.v1.client.ClubSettings settings = 2;
1539 inline bool has_settings() const;
1540 inline void clear_settings();
1541 static const int kSettingsFieldNumber = 2;
1542 inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const;
1543 inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings();
1544 inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings();
1545 inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings);
1546
1547 // optional uint32 version = 3;
1548 inline bool has_version() const;
1549 inline void clear_version();
1550 static const int kVersionFieldNumber = 3;
1551 inline ::google::protobuf::uint32 version() const;
1552 inline void set_version(::google::protobuf::uint32 value);
1553
1554 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsOptions)
1555 private:
1556 inline void set_has_settings();
1557 inline void clear_has_settings();
1558 inline void set_has_version();
1559 inline void clear_has_version();
1560
1561 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1562
1563 ::google::protobuf::uint32 _has_bits_[1];
1564 mutable int _cached_size_;
1565 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_;
1566 ::bgs::protocol::club::v1::client::ClubSettings* settings_;
1567 ::google::protobuf::uint32 version_;
1568 friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto();
1569 friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto();
1570 friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto();
1571
1572 void InitAsDefaultInstance();
1573 static ClubSettingsOptions* default_instance_;
1574};
1575// -------------------------------------------------------------------
1576
1577class TC_PROTO_API ClubSettingsAssignment : public ::google::protobuf::Message {
1578 public:
1581
1583
1585 CopyFrom(from);
1586 return *this;
1587 }
1588
1589 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1590 return _unknown_fields_;
1591 }
1592
1593 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1594 return &_unknown_fields_;
1595 }
1596
1597 static const ::google::protobuf::Descriptor* descriptor();
1599
1601
1602 // implements Message ----------------------------------------------
1603
1605 int GetCachedSize() const { return _cached_size_; }
1606 private:
1609 void SetCachedSize(int size) const;
1610 public:
1611 ::google::protobuf::Metadata GetMetadata() const;
1612
1613 // nested types ----------------------------------------------------
1614
1615 // accessors -------------------------------------------------------
1616
1617 // repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true];
1618 inline int stream_size() const PROTOBUF_DEPRECATED;
1619 inline void clear_stream() PROTOBUF_DEPRECATED;
1620 static const int kStreamFieldNumber = 1;
1621 inline const ::bgs::protocol::club::v1::client::StreamSettings& stream(int index) const PROTOBUF_DEPRECATED;
1622 inline ::bgs::protocol::club::v1::client::StreamSettings* mutable_stream(int index) PROTOBUF_DEPRECATED;
1623 inline ::bgs::protocol::club::v1::client::StreamSettings* add_stream() PROTOBUF_DEPRECATED;
1624 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >&
1625 stream() const PROTOBUF_DEPRECATED;
1626 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >*
1627 mutable_stream() PROTOBUF_DEPRECATED;
1628
1629 // optional .bgs.protocol.club.v1.client.ClubSettings settings = 2;
1630 inline bool has_settings() const;
1631 inline void clear_settings();
1632 static const int kSettingsFieldNumber = 2;
1633 inline const ::bgs::protocol::club::v1::client::ClubSettings& settings() const;
1634 inline ::bgs::protocol::club::v1::client::ClubSettings* mutable_settings();
1635 inline ::bgs::protocol::club::v1::client::ClubSettings* release_settings();
1636 inline void set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings);
1637
1638 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubSettingsAssignment)
1639 private:
1640 inline void set_has_settings();
1641 inline void clear_has_settings();
1642
1643 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1644
1645 ::google::protobuf::uint32 _has_bits_[1];
1646 mutable int _cached_size_;
1647 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_;
1648 ::bgs::protocol::club::v1::client::ClubSettings* settings_;
1649 friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto();
1650 friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto();
1651 friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto();
1652
1653 void InitAsDefaultInstance();
1654 static ClubSettingsAssignment* default_instance_;
1655};
1656// ===================================================================
1657
1658// ===================================================================
1659
1660// ===================================================================
1661
1662// SetBroadcastOptions
1663
1664// optional string content = 1;
1665inline bool SetBroadcastOptions::has_content() const {
1666 return (_has_bits_[0] & 0x00000001u) != 0;
1667}
1668inline void SetBroadcastOptions::set_has_content() {
1669 _has_bits_[0] |= 0x00000001u;
1670}
1671inline void SetBroadcastOptions::clear_has_content() {
1672 _has_bits_[0] &= ~0x00000001u;
1673}
1674inline void SetBroadcastOptions::clear_content() {
1675 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1676 content_->clear();
1677 }
1678 clear_has_content();
1679}
1680inline const ::std::string& SetBroadcastOptions::content() const {
1681 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.SetBroadcastOptions.content)
1682 return *content_;
1683}
1684inline void SetBroadcastOptions::set_content(const ::std::string& value) {
1685 set_has_content();
1686 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1687 content_ = new ::std::string;
1688 }
1689 content_->assign(value);
1690 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.SetBroadcastOptions.content)
1691}
1692inline void SetBroadcastOptions::set_content(const char* value) {
1693 set_has_content();
1694 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1695 content_ = new ::std::string;
1696 }
1697 content_->assign(value);
1698 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.SetBroadcastOptions.content)
1699}
1700inline void SetBroadcastOptions::set_content(const char* value, size_t size) {
1701 set_has_content();
1702 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1703 content_ = new ::std::string;
1704 }
1705 content_->assign(reinterpret_cast<const char*>(value), size);
1706 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.SetBroadcastOptions.content)
1707}
1708inline ::std::string* SetBroadcastOptions::mutable_content() {
1709 set_has_content();
1710 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1711 content_ = new ::std::string;
1712 }
1713 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.SetBroadcastOptions.content)
1714 return content_;
1715}
1716inline ::std::string* SetBroadcastOptions::release_content() {
1717 clear_has_content();
1718 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1719 return NULL;
1720 } else {
1721 ::std::string* temp = content_;
1722 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1723 return temp;
1724 }
1725}
1726inline void SetBroadcastOptions::set_allocated_content(::std::string* content) {
1727 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1728 delete content_;
1729 }
1730 if (content) {
1731 set_has_content();
1732 content_ = content;
1733 } else {
1734 clear_has_content();
1735 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1736 }
1737 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.SetBroadcastOptions.content)
1738}
1739
1740// -------------------------------------------------------------------
1741
1742// Broadcast
1743
1744// optional string content = 1;
1745inline bool Broadcast::has_content() const {
1746 return (_has_bits_[0] & 0x00000001u) != 0;
1747}
1748inline void Broadcast::set_has_content() {
1749 _has_bits_[0] |= 0x00000001u;
1750}
1751inline void Broadcast::clear_has_content() {
1752 _has_bits_[0] &= ~0x00000001u;
1753}
1754inline void Broadcast::clear_content() {
1755 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1756 content_->clear();
1757 }
1758 clear_has_content();
1759}
1760inline const ::std::string& Broadcast::content() const {
1761 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.content)
1762 return *content_;
1763}
1764inline void Broadcast::set_content(const ::std::string& value) {
1765 set_has_content();
1766 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1767 content_ = new ::std::string;
1768 }
1769 content_->assign(value);
1770 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.content)
1771}
1772inline void Broadcast::set_content(const char* value) {
1773 set_has_content();
1774 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1775 content_ = new ::std::string;
1776 }
1777 content_->assign(value);
1778 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Broadcast.content)
1779}
1780inline void Broadcast::set_content(const char* value, size_t size) {
1781 set_has_content();
1782 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1783 content_ = new ::std::string;
1784 }
1785 content_->assign(reinterpret_cast<const char*>(value), size);
1786 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Broadcast.content)
1787}
1788inline ::std::string* Broadcast::mutable_content() {
1789 set_has_content();
1790 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1791 content_ = new ::std::string;
1792 }
1793 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.content)
1794 return content_;
1795}
1796inline ::std::string* Broadcast::release_content() {
1797 clear_has_content();
1798 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1799 return NULL;
1800 } else {
1801 ::std::string* temp = content_;
1802 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1803 return temp;
1804 }
1805}
1806inline void Broadcast::set_allocated_content(::std::string* content) {
1807 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1808 delete content_;
1809 }
1810 if (content) {
1811 set_has_content();
1812 content_ = content;
1813 } else {
1814 clear_has_content();
1815 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1816 }
1817 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.content)
1818}
1819
1820// optional .bgs.protocol.club.v1.client.MemberDescription creator = 2;
1821inline bool Broadcast::has_creator() const {
1822 return (_has_bits_[0] & 0x00000002u) != 0;
1823}
1824inline void Broadcast::set_has_creator() {
1825 _has_bits_[0] |= 0x00000002u;
1826}
1827inline void Broadcast::clear_has_creator() {
1828 _has_bits_[0] &= ~0x00000002u;
1829}
1830inline void Broadcast::clear_creator() {
1831 if (creator_ != NULL) creator_->::bgs::protocol::club::v1::client::MemberDescription::Clear();
1832 clear_has_creator();
1833}
1834inline const ::bgs::protocol::club::v1::client::MemberDescription& Broadcast::creator() const {
1835 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.creator)
1836 return creator_ != NULL ? *creator_ : *default_instance_->creator_;
1837}
1838inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::mutable_creator() {
1839 set_has_creator();
1840 if (creator_ == NULL) creator_ = new ::bgs::protocol::club::v1::client::MemberDescription;
1841 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Broadcast.creator)
1842 return creator_;
1843}
1844inline ::bgs::protocol::club::v1::client::MemberDescription* Broadcast::release_creator() {
1845 clear_has_creator();
1847 creator_ = NULL;
1848 return temp;
1849}
1850inline void Broadcast::set_allocated_creator(::bgs::protocol::club::v1::client::MemberDescription* creator) {
1851 delete creator_;
1852 creator_ = creator;
1853 if (creator) {
1854 set_has_creator();
1855 } else {
1856 clear_has_creator();
1857 }
1858 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Broadcast.creator)
1859}
1860
1861// optional uint64 creation_time = 3;
1862inline bool Broadcast::has_creation_time() const {
1863 return (_has_bits_[0] & 0x00000004u) != 0;
1864}
1865inline void Broadcast::set_has_creation_time() {
1866 _has_bits_[0] |= 0x00000004u;
1867}
1868inline void Broadcast::clear_has_creation_time() {
1869 _has_bits_[0] &= ~0x00000004u;
1870}
1871inline void Broadcast::clear_creation_time() {
1872 creation_time_ = GOOGLE_ULONGLONG(0);
1873 clear_has_creation_time();
1874}
1875inline ::google::protobuf::uint64 Broadcast::creation_time() const {
1876 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Broadcast.creation_time)
1877 return creation_time_;
1878}
1879inline void Broadcast::set_creation_time(::google::protobuf::uint64 value) {
1880 set_has_creation_time();
1881 creation_time_ = value;
1882 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Broadcast.creation_time)
1883}
1884
1885// -------------------------------------------------------------------
1886
1887// ClubCreateOptions
1888
1889// optional .bgs.protocol.club.v1.UniqueClubType type = 1;
1890inline bool ClubCreateOptions::has_type() const {
1891 return (_has_bits_[0] & 0x00000001u) != 0;
1892}
1893inline void ClubCreateOptions::set_has_type() {
1894 _has_bits_[0] |= 0x00000001u;
1895}
1896inline void ClubCreateOptions::clear_has_type() {
1897 _has_bits_[0] &= ~0x00000001u;
1898}
1899inline void ClubCreateOptions::clear_type() {
1900 if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
1901 clear_has_type();
1902}
1903inline const ::bgs::protocol::club::v1::UniqueClubType& ClubCreateOptions::type() const {
1904 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.type)
1905 return type_ != NULL ? *type_ : *default_instance_->type_;
1906}
1907inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::mutable_type() {
1908 set_has_type();
1909 if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType;
1910 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.type)
1911 return type_;
1912}
1913inline ::bgs::protocol::club::v1::UniqueClubType* ClubCreateOptions::release_type() {
1914 clear_has_type();
1916 type_ = NULL;
1917 return temp;
1918}
1919inline void ClubCreateOptions::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) {
1920 delete type_;
1921 type_ = type;
1922 if (type) {
1923 set_has_type();
1924 } else {
1925 clear_has_type();
1926 }
1927 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.type)
1928}
1929
1930// repeated .bgs.protocol.v2.Attribute attribute = 2;
1931inline int ClubCreateOptions::attribute_size() const {
1932 return attribute_.size();
1933}
1934inline void ClubCreateOptions::clear_attribute() {
1935 attribute_.Clear();
1936}
1937inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::attribute(int index) const {
1938 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.attribute)
1939 return attribute_.Get(index);
1940}
1941inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_attribute(int index) {
1942 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.attribute)
1943 return attribute_.Mutable(index);
1944}
1945inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_attribute() {
1946 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubCreateOptions.attribute)
1947 return attribute_.Add();
1948}
1949inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1950ClubCreateOptions::attribute() const {
1951 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute)
1952 return attribute_;
1953}
1954inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1955ClubCreateOptions::mutable_attribute() {
1956 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.attribute)
1957 return &attribute_;
1958}
1959
1960// optional string name = 3;
1961inline bool ClubCreateOptions::has_name() const {
1962 return (_has_bits_[0] & 0x00000004u) != 0;
1963}
1964inline void ClubCreateOptions::set_has_name() {
1965 _has_bits_[0] |= 0x00000004u;
1966}
1967inline void ClubCreateOptions::clear_has_name() {
1968 _has_bits_[0] &= ~0x00000004u;
1969}
1970inline void ClubCreateOptions::clear_name() {
1971 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1972 name_->clear();
1973 }
1974 clear_has_name();
1975}
1976inline const ::std::string& ClubCreateOptions::name() const {
1977 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.name)
1978 return *name_;
1979}
1980inline void ClubCreateOptions::set_name(const ::std::string& value) {
1981 set_has_name();
1982 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1983 name_ = new ::std::string;
1984 }
1985 name_->assign(value);
1986 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.name)
1987}
1988inline void ClubCreateOptions::set_name(const char* value) {
1989 set_has_name();
1990 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1991 name_ = new ::std::string;
1992 }
1993 name_->assign(value);
1994 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.name)
1995}
1996inline void ClubCreateOptions::set_name(const char* value, size_t size) {
1997 set_has_name();
1998 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1999 name_ = new ::std::string;
2000 }
2001 name_->assign(reinterpret_cast<const char*>(value), size);
2002 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.name)
2003}
2004inline ::std::string* ClubCreateOptions::mutable_name() {
2005 set_has_name();
2006 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2007 name_ = new ::std::string;
2008 }
2009 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.name)
2010 return name_;
2011}
2012inline ::std::string* ClubCreateOptions::release_name() {
2013 clear_has_name();
2014 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2015 return NULL;
2016 } else {
2017 ::std::string* temp = name_;
2018 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2019 return temp;
2020 }
2021}
2022inline void ClubCreateOptions::set_allocated_name(::std::string* name) {
2023 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2024 delete name_;
2025 }
2026 if (name) {
2027 set_has_name();
2028 name_ = name;
2029 } else {
2030 clear_has_name();
2031 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2032 }
2033 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.name)
2034}
2035
2036// optional string description = 4;
2037inline bool ClubCreateOptions::has_description() const {
2038 return (_has_bits_[0] & 0x00000008u) != 0;
2039}
2040inline void ClubCreateOptions::set_has_description() {
2041 _has_bits_[0] |= 0x00000008u;
2042}
2043inline void ClubCreateOptions::clear_has_description() {
2044 _has_bits_[0] &= ~0x00000008u;
2045}
2046inline void ClubCreateOptions::clear_description() {
2047 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2048 description_->clear();
2049 }
2050 clear_has_description();
2051}
2052inline const ::std::string& ClubCreateOptions::description() const {
2053 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.description)
2054 return *description_;
2055}
2056inline void ClubCreateOptions::set_description(const ::std::string& value) {
2057 set_has_description();
2058 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2059 description_ = new ::std::string;
2060 }
2061 description_->assign(value);
2062 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.description)
2063}
2064inline void ClubCreateOptions::set_description(const char* value) {
2065 set_has_description();
2066 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2067 description_ = new ::std::string;
2068 }
2069 description_->assign(value);
2070 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.description)
2071}
2072inline void ClubCreateOptions::set_description(const char* value, size_t size) {
2073 set_has_description();
2074 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2075 description_ = new ::std::string;
2076 }
2077 description_->assign(reinterpret_cast<const char*>(value), size);
2078 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.description)
2079}
2080inline ::std::string* ClubCreateOptions::mutable_description() {
2081 set_has_description();
2082 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2083 description_ = new ::std::string;
2084 }
2085 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.description)
2086 return description_;
2087}
2088inline ::std::string* ClubCreateOptions::release_description() {
2089 clear_has_description();
2090 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2091 return NULL;
2092 } else {
2093 ::std::string* temp = description_;
2094 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2095 return temp;
2096 }
2097}
2098inline void ClubCreateOptions::set_allocated_description(::std::string* description) {
2099 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2100 delete description_;
2101 }
2102 if (description) {
2103 set_has_description();
2104 description_ = description;
2105 } else {
2106 clear_has_description();
2107 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2108 }
2109 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.description)
2110}
2111
2112// optional .bgs.protocol.club.v1.AvatarId avatar = 5;
2113inline bool ClubCreateOptions::has_avatar() const {
2114 return (_has_bits_[0] & 0x00000010u) != 0;
2115}
2116inline void ClubCreateOptions::set_has_avatar() {
2117 _has_bits_[0] |= 0x00000010u;
2118}
2119inline void ClubCreateOptions::clear_has_avatar() {
2120 _has_bits_[0] &= ~0x00000010u;
2121}
2122inline void ClubCreateOptions::clear_avatar() {
2123 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
2124 clear_has_avatar();
2125}
2126inline const ::bgs::protocol::club::v1::AvatarId& ClubCreateOptions::avatar() const {
2127 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.avatar)
2128 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
2129}
2130inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::mutable_avatar() {
2131 set_has_avatar();
2132 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
2133 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.avatar)
2134 return avatar_;
2135}
2136inline ::bgs::protocol::club::v1::AvatarId* ClubCreateOptions::release_avatar() {
2137 clear_has_avatar();
2139 avatar_ = NULL;
2140 return temp;
2141}
2142inline void ClubCreateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) {
2143 delete avatar_;
2144 avatar_ = avatar;
2145 if (avatar) {
2146 set_has_avatar();
2147 } else {
2148 clear_has_avatar();
2149 }
2150 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.avatar)
2151}
2152
2153// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
2154inline bool ClubCreateOptions::has_privacy_level() const {
2155 return (_has_bits_[0] & 0x00000020u) != 0;
2156}
2157inline void ClubCreateOptions::set_has_privacy_level() {
2158 _has_bits_[0] |= 0x00000020u;
2159}
2160inline void ClubCreateOptions::clear_has_privacy_level() {
2161 _has_bits_[0] &= ~0x00000020u;
2162}
2163inline void ClubCreateOptions::clear_privacy_level() {
2164 privacy_level_ = 0;
2165 clear_has_privacy_level();
2166}
2167inline ::bgs::protocol::club::v1::PrivacyLevel ClubCreateOptions::privacy_level() const {
2168 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level)
2169 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
2170}
2171inline void ClubCreateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) {
2173 set_has_privacy_level();
2174 privacy_level_ = value;
2175 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.privacy_level)
2176}
2177
2178// optional string short_name = 7;
2179inline bool ClubCreateOptions::has_short_name() const {
2180 return (_has_bits_[0] & 0x00000040u) != 0;
2181}
2182inline void ClubCreateOptions::set_has_short_name() {
2183 _has_bits_[0] |= 0x00000040u;
2184}
2185inline void ClubCreateOptions::clear_has_short_name() {
2186 _has_bits_[0] &= ~0x00000040u;
2187}
2188inline void ClubCreateOptions::clear_short_name() {
2189 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2190 short_name_->clear();
2191 }
2192 clear_has_short_name();
2193}
2194inline const ::std::string& ClubCreateOptions::short_name() const {
2195 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.short_name)
2196 return *short_name_;
2197}
2198inline void ClubCreateOptions::set_short_name(const ::std::string& value) {
2199 set_has_short_name();
2200 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2201 short_name_ = new ::std::string;
2202 }
2203 short_name_->assign(value);
2204 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.short_name)
2205}
2206inline void ClubCreateOptions::set_short_name(const char* value) {
2207 set_has_short_name();
2208 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2209 short_name_ = new ::std::string;
2210 }
2211 short_name_->assign(value);
2212 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.short_name)
2213}
2214inline void ClubCreateOptions::set_short_name(const char* value, size_t size) {
2215 set_has_short_name();
2216 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2217 short_name_ = new ::std::string;
2218 }
2219 short_name_->assign(reinterpret_cast<const char*>(value), size);
2220 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.short_name)
2221}
2222inline ::std::string* ClubCreateOptions::mutable_short_name() {
2223 set_has_short_name();
2224 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2225 short_name_ = new ::std::string;
2226 }
2227 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.short_name)
2228 return short_name_;
2229}
2230inline ::std::string* ClubCreateOptions::release_short_name() {
2231 clear_has_short_name();
2232 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2233 return NULL;
2234 } else {
2235 ::std::string* temp = short_name_;
2236 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2237 return temp;
2238 }
2239}
2240inline void ClubCreateOptions::set_allocated_short_name(::std::string* short_name) {
2241 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2242 delete short_name_;
2243 }
2244 if (short_name) {
2245 set_has_short_name();
2246 short_name_ = short_name;
2247 } else {
2248 clear_has_short_name();
2249 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2250 }
2251 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.short_name)
2252}
2253
2254// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 8;
2255inline bool ClubCreateOptions::has_visibility_level() const {
2256 return (_has_bits_[0] & 0x00000080u) != 0;
2257}
2258inline void ClubCreateOptions::set_has_visibility_level() {
2259 _has_bits_[0] |= 0x00000080u;
2260}
2261inline void ClubCreateOptions::clear_has_visibility_level() {
2262 _has_bits_[0] &= ~0x00000080u;
2263}
2264inline void ClubCreateOptions::clear_visibility_level() {
2265 visibility_level_ = 0;
2266 clear_has_visibility_level();
2267}
2268inline ::bgs::protocol::club::v1::VisibilityLevel ClubCreateOptions::visibility_level() const {
2269 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level)
2270 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
2271}
2272inline void ClubCreateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
2274 set_has_visibility_level();
2275 visibility_level_ = value;
2276 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.visibility_level)
2277}
2278
2279// optional .bgs.protocol.club.v1.client.CreateMemberOptions member = 10;
2280inline bool ClubCreateOptions::has_member() const {
2281 return (_has_bits_[0] & 0x00000100u) != 0;
2282}
2283inline void ClubCreateOptions::set_has_member() {
2284 _has_bits_[0] |= 0x00000100u;
2285}
2286inline void ClubCreateOptions::clear_has_member() {
2287 _has_bits_[0] &= ~0x00000100u;
2288}
2289inline void ClubCreateOptions::clear_member() {
2290 if (member_ != NULL) member_->::bgs::protocol::club::v1::client::CreateMemberOptions::Clear();
2291 clear_has_member();
2292}
2293inline const ::bgs::protocol::club::v1::client::CreateMemberOptions& ClubCreateOptions::member() const {
2294 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.member)
2295 return member_ != NULL ? *member_ : *default_instance_->member_;
2296}
2297inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::mutable_member() {
2298 set_has_member();
2299 if (member_ == NULL) member_ = new ::bgs::protocol::club::v1::client::CreateMemberOptions;
2300 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.member)
2301 return member_;
2302}
2303inline ::bgs::protocol::club::v1::client::CreateMemberOptions* ClubCreateOptions::release_member() {
2304 clear_has_member();
2306 member_ = NULL;
2307 return temp;
2308}
2309inline void ClubCreateOptions::set_allocated_member(::bgs::protocol::club::v1::client::CreateMemberOptions* member) {
2310 delete member_;
2311 member_ = member;
2312 if (member) {
2313 set_has_member();
2314 } else {
2315 clear_has_member();
2316 }
2317 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.member)
2318}
2319
2320// optional .bgs.protocol.club.v1.client.CreateStreamOptions stream = 11;
2321inline bool ClubCreateOptions::has_stream() const {
2322 return (_has_bits_[0] & 0x00000200u) != 0;
2323}
2324inline void ClubCreateOptions::set_has_stream() {
2325 _has_bits_[0] |= 0x00000200u;
2326}
2327inline void ClubCreateOptions::clear_has_stream() {
2328 _has_bits_[0] &= ~0x00000200u;
2329}
2330inline void ClubCreateOptions::clear_stream() {
2331 if (stream_ != NULL) stream_->::bgs::protocol::club::v1::client::CreateStreamOptions::Clear();
2332 clear_has_stream();
2333}
2334inline const ::bgs::protocol::club::v1::client::CreateStreamOptions& ClubCreateOptions::stream() const {
2335 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.stream)
2336 return stream_ != NULL ? *stream_ : *default_instance_->stream_;
2337}
2338inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::mutable_stream() {
2339 set_has_stream();
2340 if (stream_ == NULL) stream_ = new ::bgs::protocol::club::v1::client::CreateStreamOptions;
2341 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.stream)
2342 return stream_;
2343}
2344inline ::bgs::protocol::club::v1::client::CreateStreamOptions* ClubCreateOptions::release_stream() {
2345 clear_has_stream();
2347 stream_ = NULL;
2348 return temp;
2349}
2350inline void ClubCreateOptions::set_allocated_stream(::bgs::protocol::club::v1::client::CreateStreamOptions* stream) {
2351 delete stream_;
2352 stream_ = stream;
2353 if (stream) {
2354 set_has_stream();
2355 } else {
2356 clear_has_stream();
2357 }
2358 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.stream)
2359}
2360
2361// optional .bgs.protocol.club.v1.TagOptions tag = 12;
2362inline bool ClubCreateOptions::has_tag() const {
2363 return (_has_bits_[0] & 0x00000400u) != 0;
2364}
2365inline void ClubCreateOptions::set_has_tag() {
2366 _has_bits_[0] |= 0x00000400u;
2367}
2368inline void ClubCreateOptions::clear_has_tag() {
2369 _has_bits_[0] &= ~0x00000400u;
2370}
2371inline void ClubCreateOptions::clear_tag() {
2372 if (tag_ != NULL) tag_->::bgs::protocol::club::v1::TagOptions::Clear();
2373 clear_has_tag();
2374}
2375inline const ::bgs::protocol::club::v1::TagOptions& ClubCreateOptions::tag() const {
2376 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.tag)
2377 return tag_ != NULL ? *tag_ : *default_instance_->tag_;
2378}
2379inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::mutable_tag() {
2380 set_has_tag();
2381 if (tag_ == NULL) tag_ = new ::bgs::protocol::club::v1::TagOptions;
2382 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.tag)
2383 return tag_;
2384}
2385inline ::bgs::protocol::club::v1::TagOptions* ClubCreateOptions::release_tag() {
2386 clear_has_tag();
2388 tag_ = NULL;
2389 return temp;
2390}
2391inline void ClubCreateOptions::set_allocated_tag(::bgs::protocol::club::v1::TagOptions* tag) {
2392 delete tag_;
2393 tag_ = tag;
2394 if (tag) {
2395 set_has_tag();
2396 } else {
2397 clear_has_tag();
2398 }
2399 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.tag)
2400}
2401
2402// repeated .bgs.protocol.v2.Attribute search_attribute = 13;
2403inline int ClubCreateOptions::search_attribute_size() const {
2404 return search_attribute_.size();
2405}
2406inline void ClubCreateOptions::clear_search_attribute() {
2407 search_attribute_.Clear();
2408}
2409inline const ::bgs::protocol::v2::Attribute& ClubCreateOptions::search_attribute(int index) const {
2410 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute)
2411 return search_attribute_.Get(index);
2412}
2413inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::mutable_search_attribute(int index) {
2414 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute)
2415 return search_attribute_.Mutable(index);
2416}
2417inline ::bgs::protocol::v2::Attribute* ClubCreateOptions::add_search_attribute() {
2418 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute)
2419 return search_attribute_.Add();
2420}
2421inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2422ClubCreateOptions::search_attribute() const {
2423 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute)
2424 return search_attribute_;
2425}
2426inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2427ClubCreateOptions::mutable_search_attribute() {
2428 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubCreateOptions.search_attribute)
2429 return &search_attribute_;
2430}
2431
2432// optional string locale = 14;
2433inline bool ClubCreateOptions::has_locale() const {
2434 return (_has_bits_[0] & 0x00001000u) != 0;
2435}
2436inline void ClubCreateOptions::set_has_locale() {
2437 _has_bits_[0] |= 0x00001000u;
2438}
2439inline void ClubCreateOptions::clear_has_locale() {
2440 _has_bits_[0] &= ~0x00001000u;
2441}
2442inline void ClubCreateOptions::clear_locale() {
2443 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2444 locale_->clear();
2445 }
2446 clear_has_locale();
2447}
2448inline const ::std::string& ClubCreateOptions::locale() const {
2449 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.locale)
2450 return *locale_;
2451}
2452inline void ClubCreateOptions::set_locale(const ::std::string& value) {
2453 set_has_locale();
2454 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2455 locale_ = new ::std::string;
2456 }
2457 locale_->assign(value);
2458 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.locale)
2459}
2460inline void ClubCreateOptions::set_locale(const char* value) {
2461 set_has_locale();
2462 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2463 locale_ = new ::std::string;
2464 }
2465 locale_->assign(value);
2466 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.locale)
2467}
2468inline void ClubCreateOptions::set_locale(const char* value, size_t size) {
2469 set_has_locale();
2470 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2471 locale_ = new ::std::string;
2472 }
2473 locale_->assign(reinterpret_cast<const char*>(value), size);
2474 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.locale)
2475}
2476inline ::std::string* ClubCreateOptions::mutable_locale() {
2477 set_has_locale();
2478 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2479 locale_ = new ::std::string;
2480 }
2481 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.locale)
2482 return locale_;
2483}
2484inline ::std::string* ClubCreateOptions::release_locale() {
2485 clear_has_locale();
2486 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2487 return NULL;
2488 } else {
2489 ::std::string* temp = locale_;
2490 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2491 return temp;
2492 }
2493}
2494inline void ClubCreateOptions::set_allocated_locale(::std::string* locale) {
2495 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2496 delete locale_;
2497 }
2498 if (locale) {
2499 set_has_locale();
2500 locale_ = locale;
2501 } else {
2502 clear_has_locale();
2503 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2504 }
2505 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.locale)
2506}
2507
2508// optional string timezone = 15;
2509inline bool ClubCreateOptions::has_timezone() const {
2510 return (_has_bits_[0] & 0x00002000u) != 0;
2511}
2512inline void ClubCreateOptions::set_has_timezone() {
2513 _has_bits_[0] |= 0x00002000u;
2514}
2515inline void ClubCreateOptions::clear_has_timezone() {
2516 _has_bits_[0] &= ~0x00002000u;
2517}
2518inline void ClubCreateOptions::clear_timezone() {
2519 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2520 timezone_->clear();
2521 }
2522 clear_has_timezone();
2523}
2524inline const ::std::string& ClubCreateOptions::timezone() const {
2525 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubCreateOptions.timezone)
2526 return *timezone_;
2527}
2528inline void ClubCreateOptions::set_timezone(const ::std::string& value) {
2529 set_has_timezone();
2530 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2531 timezone_ = new ::std::string;
2532 }
2533 timezone_->assign(value);
2534 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubCreateOptions.timezone)
2535}
2536inline void ClubCreateOptions::set_timezone(const char* value) {
2537 set_has_timezone();
2538 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2539 timezone_ = new ::std::string;
2540 }
2541 timezone_->assign(value);
2542 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubCreateOptions.timezone)
2543}
2544inline void ClubCreateOptions::set_timezone(const char* value, size_t size) {
2545 set_has_timezone();
2546 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2547 timezone_ = new ::std::string;
2548 }
2549 timezone_->assign(reinterpret_cast<const char*>(value), size);
2550 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubCreateOptions.timezone)
2551}
2552inline ::std::string* ClubCreateOptions::mutable_timezone() {
2553 set_has_timezone();
2554 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2555 timezone_ = new ::std::string;
2556 }
2557 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubCreateOptions.timezone)
2558 return timezone_;
2559}
2560inline ::std::string* ClubCreateOptions::release_timezone() {
2561 clear_has_timezone();
2562 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2563 return NULL;
2564 } else {
2565 ::std::string* temp = timezone_;
2566 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2567 return temp;
2568 }
2569}
2570inline void ClubCreateOptions::set_allocated_timezone(::std::string* timezone) {
2571 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2572 delete timezone_;
2573 }
2574 if (timezone) {
2575 set_has_timezone();
2576 timezone_ = timezone;
2577 } else {
2578 clear_has_timezone();
2579 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2580 }
2581 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubCreateOptions.timezone)
2582}
2583
2584// -------------------------------------------------------------------
2585
2586// Club
2587
2588// optional uint64 id = 1;
2589inline bool Club::has_id() const {
2590 return (_has_bits_[0] & 0x00000001u) != 0;
2591}
2592inline void Club::set_has_id() {
2593 _has_bits_[0] |= 0x00000001u;
2594}
2595inline void Club::clear_has_id() {
2596 _has_bits_[0] &= ~0x00000001u;
2597}
2598inline void Club::clear_id() {
2599 id_ = GOOGLE_ULONGLONG(0);
2600 clear_has_id();
2601}
2602inline ::google::protobuf::uint64 Club::id() const {
2603 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.id)
2604 return id_;
2605}
2606inline void Club::set_id(::google::protobuf::uint64 value) {
2607 set_has_id();
2608 id_ = value;
2609 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.id)
2610}
2611
2612// optional .bgs.protocol.club.v1.UniqueClubType type = 2;
2613inline bool Club::has_type() const {
2614 return (_has_bits_[0] & 0x00000002u) != 0;
2615}
2616inline void Club::set_has_type() {
2617 _has_bits_[0] |= 0x00000002u;
2618}
2619inline void Club::clear_has_type() {
2620 _has_bits_[0] &= ~0x00000002u;
2621}
2622inline void Club::clear_type() {
2623 if (type_ != NULL) type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
2624 clear_has_type();
2625}
2626inline const ::bgs::protocol::club::v1::UniqueClubType& Club::type() const {
2627 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.type)
2628 return type_ != NULL ? *type_ : *default_instance_->type_;
2629}
2630inline ::bgs::protocol::club::v1::UniqueClubType* Club::mutable_type() {
2631 set_has_type();
2632 if (type_ == NULL) type_ = new ::bgs::protocol::club::v1::UniqueClubType;
2633 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.type)
2634 return type_;
2635}
2636inline ::bgs::protocol::club::v1::UniqueClubType* Club::release_type() {
2637 clear_has_type();
2639 type_ = NULL;
2640 return temp;
2641}
2642inline void Club::set_allocated_type(::bgs::protocol::club::v1::UniqueClubType* type) {
2643 delete type_;
2644 type_ = type;
2645 if (type) {
2646 set_has_type();
2647 } else {
2648 clear_has_type();
2649 }
2650 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.type)
2651}
2652
2653// repeated .bgs.protocol.v2.Attribute attribute = 3;
2654inline int Club::attribute_size() const {
2655 return attribute_.size();
2656}
2657inline void Club::clear_attribute() {
2658 attribute_.Clear();
2659}
2660inline const ::bgs::protocol::v2::Attribute& Club::attribute(int index) const {
2661 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.attribute)
2662 return attribute_.Get(index);
2663}
2664inline ::bgs::protocol::v2::Attribute* Club::mutable_attribute(int index) {
2665 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.attribute)
2666 return attribute_.Mutable(index);
2667}
2668inline ::bgs::protocol::v2::Attribute* Club::add_attribute() {
2669 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.attribute)
2670 return attribute_.Add();
2671}
2672inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2673Club::attribute() const {
2674 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.attribute)
2675 return attribute_;
2676}
2677inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2678Club::mutable_attribute() {
2679 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.attribute)
2680 return &attribute_;
2681}
2682
2683// optional string name = 4;
2684inline bool Club::has_name() const {
2685 return (_has_bits_[0] & 0x00000008u) != 0;
2686}
2687inline void Club::set_has_name() {
2688 _has_bits_[0] |= 0x00000008u;
2689}
2690inline void Club::clear_has_name() {
2691 _has_bits_[0] &= ~0x00000008u;
2692}
2693inline void Club::clear_name() {
2694 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2695 name_->clear();
2696 }
2697 clear_has_name();
2698}
2699inline const ::std::string& Club::name() const {
2700 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.name)
2701 return *name_;
2702}
2703inline void Club::set_name(const ::std::string& value) {
2704 set_has_name();
2705 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2706 name_ = new ::std::string;
2707 }
2708 name_->assign(value);
2709 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.name)
2710}
2711inline void Club::set_name(const char* value) {
2712 set_has_name();
2713 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2714 name_ = new ::std::string;
2715 }
2716 name_->assign(value);
2717 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.name)
2718}
2719inline void Club::set_name(const char* value, size_t size) {
2720 set_has_name();
2721 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2722 name_ = new ::std::string;
2723 }
2724 name_->assign(reinterpret_cast<const char*>(value), size);
2725 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.name)
2726}
2727inline ::std::string* Club::mutable_name() {
2728 set_has_name();
2729 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2730 name_ = new ::std::string;
2731 }
2732 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.name)
2733 return name_;
2734}
2735inline ::std::string* Club::release_name() {
2736 clear_has_name();
2737 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2738 return NULL;
2739 } else {
2740 ::std::string* temp = name_;
2741 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2742 return temp;
2743 }
2744}
2745inline void Club::set_allocated_name(::std::string* name) {
2746 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2747 delete name_;
2748 }
2749 if (name) {
2750 set_has_name();
2751 name_ = name;
2752 } else {
2753 clear_has_name();
2754 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2755 }
2756 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.name)
2757}
2758
2759// optional string description = 5;
2760inline bool Club::has_description() const {
2761 return (_has_bits_[0] & 0x00000010u) != 0;
2762}
2763inline void Club::set_has_description() {
2764 _has_bits_[0] |= 0x00000010u;
2765}
2766inline void Club::clear_has_description() {
2767 _has_bits_[0] &= ~0x00000010u;
2768}
2769inline void Club::clear_description() {
2770 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2771 description_->clear();
2772 }
2773 clear_has_description();
2774}
2775inline const ::std::string& Club::description() const {
2776 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.description)
2777 return *description_;
2778}
2779inline void Club::set_description(const ::std::string& value) {
2780 set_has_description();
2781 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2782 description_ = new ::std::string;
2783 }
2784 description_->assign(value);
2785 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.description)
2786}
2787inline void Club::set_description(const char* value) {
2788 set_has_description();
2789 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2790 description_ = new ::std::string;
2791 }
2792 description_->assign(value);
2793 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.description)
2794}
2795inline void Club::set_description(const char* value, size_t size) {
2796 set_has_description();
2797 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2798 description_ = new ::std::string;
2799 }
2800 description_->assign(reinterpret_cast<const char*>(value), size);
2801 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.description)
2802}
2803inline ::std::string* Club::mutable_description() {
2804 set_has_description();
2805 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2806 description_ = new ::std::string;
2807 }
2808 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.description)
2809 return description_;
2810}
2811inline ::std::string* Club::release_description() {
2812 clear_has_description();
2813 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2814 return NULL;
2815 } else {
2816 ::std::string* temp = description_;
2817 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2818 return temp;
2819 }
2820}
2821inline void Club::set_allocated_description(::std::string* description) {
2822 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2823 delete description_;
2824 }
2825 if (description) {
2826 set_has_description();
2827 description_ = description;
2828 } else {
2829 clear_has_description();
2830 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2831 }
2832 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.description)
2833}
2834
2835// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 6;
2836inline bool Club::has_broadcast() const {
2837 return (_has_bits_[0] & 0x00000020u) != 0;
2838}
2839inline void Club::set_has_broadcast() {
2840 _has_bits_[0] |= 0x00000020u;
2841}
2842inline void Club::clear_has_broadcast() {
2843 _has_bits_[0] &= ~0x00000020u;
2844}
2845inline void Club::clear_broadcast() {
2846 if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::Broadcast::Clear();
2847 clear_has_broadcast();
2848}
2849inline const ::bgs::protocol::club::v1::client::Broadcast& Club::broadcast() const {
2850 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.broadcast)
2851 return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_;
2852}
2853inline ::bgs::protocol::club::v1::client::Broadcast* Club::mutable_broadcast() {
2854 set_has_broadcast();
2855 if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::Broadcast;
2856 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.broadcast)
2857 return broadcast_;
2858}
2859inline ::bgs::protocol::club::v1::client::Broadcast* Club::release_broadcast() {
2860 clear_has_broadcast();
2862 broadcast_ = NULL;
2863 return temp;
2864}
2865inline void Club::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) {
2866 delete broadcast_;
2867 broadcast_ = broadcast;
2868 if (broadcast) {
2869 set_has_broadcast();
2870 } else {
2871 clear_has_broadcast();
2872 }
2873 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.broadcast)
2874}
2875
2876// optional .bgs.protocol.club.v1.AvatarId avatar = 7;
2877inline bool Club::has_avatar() const {
2878 return (_has_bits_[0] & 0x00000040u) != 0;
2879}
2880inline void Club::set_has_avatar() {
2881 _has_bits_[0] |= 0x00000040u;
2882}
2883inline void Club::clear_has_avatar() {
2884 _has_bits_[0] &= ~0x00000040u;
2885}
2886inline void Club::clear_avatar() {
2887 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
2888 clear_has_avatar();
2889}
2890inline const ::bgs::protocol::club::v1::AvatarId& Club::avatar() const {
2891 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.avatar)
2892 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
2893}
2894inline ::bgs::protocol::club::v1::AvatarId* Club::mutable_avatar() {
2895 set_has_avatar();
2896 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
2897 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.avatar)
2898 return avatar_;
2899}
2900inline ::bgs::protocol::club::v1::AvatarId* Club::release_avatar() {
2901 clear_has_avatar();
2903 avatar_ = NULL;
2904 return temp;
2905}
2906inline void Club::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) {
2907 delete avatar_;
2908 avatar_ = avatar;
2909 if (avatar) {
2910 set_has_avatar();
2911 } else {
2912 clear_has_avatar();
2913 }
2914 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.avatar)
2915}
2916
2917// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 8;
2918inline bool Club::has_privacy_level() const {
2919 return (_has_bits_[0] & 0x00000080u) != 0;
2920}
2921inline void Club::set_has_privacy_level() {
2922 _has_bits_[0] |= 0x00000080u;
2923}
2924inline void Club::clear_has_privacy_level() {
2925 _has_bits_[0] &= ~0x00000080u;
2926}
2927inline void Club::clear_privacy_level() {
2928 privacy_level_ = 0;
2929 clear_has_privacy_level();
2930}
2931inline ::bgs::protocol::club::v1::PrivacyLevel Club::privacy_level() const {
2932 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.privacy_level)
2933 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
2934}
2935inline void Club::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) {
2937 set_has_privacy_level();
2938 privacy_level_ = value;
2939 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.privacy_level)
2940}
2941
2942// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
2943inline bool Club::has_visibility_level() const {
2944 return (_has_bits_[0] & 0x00000100u) != 0;
2945}
2946inline void Club::set_has_visibility_level() {
2947 _has_bits_[0] |= 0x00000100u;
2948}
2949inline void Club::clear_has_visibility_level() {
2950 _has_bits_[0] &= ~0x00000100u;
2951}
2952inline void Club::clear_visibility_level() {
2953 visibility_level_ = 0;
2954 clear_has_visibility_level();
2955}
2956inline ::bgs::protocol::club::v1::VisibilityLevel Club::visibility_level() const {
2957 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.visibility_level)
2958 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
2959}
2960inline void Club::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
2962 set_has_visibility_level();
2963 visibility_level_ = value;
2964 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.visibility_level)
2965}
2966
2967// optional uint32 member_count = 10;
2968inline bool Club::has_member_count() const {
2969 return (_has_bits_[0] & 0x00000200u) != 0;
2970}
2971inline void Club::set_has_member_count() {
2972 _has_bits_[0] |= 0x00000200u;
2973}
2974inline void Club::clear_has_member_count() {
2975 _has_bits_[0] &= ~0x00000200u;
2976}
2977inline void Club::clear_member_count() {
2978 member_count_ = 0u;
2979 clear_has_member_count();
2980}
2981inline ::google::protobuf::uint32 Club::member_count() const {
2982 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.member_count)
2983 return member_count_;
2984}
2985inline void Club::set_member_count(::google::protobuf::uint32 value) {
2986 set_has_member_count();
2987 member_count_ = value;
2988 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.member_count)
2989}
2990
2991// optional uint64 creation_time = 11;
2992inline bool Club::has_creation_time() const {
2993 return (_has_bits_[0] & 0x00000400u) != 0;
2994}
2995inline void Club::set_has_creation_time() {
2996 _has_bits_[0] |= 0x00000400u;
2997}
2998inline void Club::clear_has_creation_time() {
2999 _has_bits_[0] &= ~0x00000400u;
3000}
3001inline void Club::clear_creation_time() {
3002 creation_time_ = GOOGLE_ULONGLONG(0);
3003 clear_has_creation_time();
3004}
3005inline ::google::protobuf::uint64 Club::creation_time() const {
3006 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.creation_time)
3007 return creation_time_;
3008}
3009inline void Club::set_creation_time(::google::protobuf::uint64 value) {
3010 set_has_creation_time();
3011 creation_time_ = value;
3012 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.creation_time)
3013}
3014
3015// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 12;
3016inline bool Club::has_stream_position() const {
3017 return (_has_bits_[0] & 0x00000800u) != 0;
3018}
3019inline void Club::set_has_stream_position() {
3020 _has_bits_[0] |= 0x00000800u;
3021}
3022inline void Club::clear_has_stream_position() {
3023 _has_bits_[0] &= ~0x00000800u;
3024}
3025inline void Club::clear_stream_position() {
3026 if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear();
3027 clear_has_stream_position();
3028}
3029inline const ::bgs::protocol::club::v1::client::StreamPosition& Club::stream_position() const {
3030 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.stream_position)
3031 return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_;
3032}
3033inline ::bgs::protocol::club::v1::client::StreamPosition* Club::mutable_stream_position() {
3034 set_has_stream_position();
3035 if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition;
3036 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.stream_position)
3037 return stream_position_;
3038}
3039inline ::bgs::protocol::club::v1::client::StreamPosition* Club::release_stream_position() {
3040 clear_has_stream_position();
3042 stream_position_ = NULL;
3043 return temp;
3044}
3045inline void Club::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) {
3046 delete stream_position_;
3047 stream_position_ = stream_position;
3048 if (stream_position) {
3049 set_has_stream_position();
3050 } else {
3051 clear_has_stream_position();
3052 }
3053 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.stream_position)
3054}
3055
3056// optional .bgs.protocol.club.v1.client.ClubRoleSet role_set = 13;
3057inline bool Club::has_role_set() const {
3058 return (_has_bits_[0] & 0x00001000u) != 0;
3059}
3060inline void Club::set_has_role_set() {
3061 _has_bits_[0] |= 0x00001000u;
3062}
3063inline void Club::clear_has_role_set() {
3064 _has_bits_[0] &= ~0x00001000u;
3065}
3066inline void Club::clear_role_set() {
3067 if (role_set_ != NULL) role_set_->::bgs::protocol::club::v1::client::ClubRoleSet::Clear();
3068 clear_has_role_set();
3069}
3070inline const ::bgs::protocol::club::v1::client::ClubRoleSet& Club::role_set() const {
3071 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.role_set)
3072 return role_set_ != NULL ? *role_set_ : *default_instance_->role_set_;
3073}
3074inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::mutable_role_set() {
3075 set_has_role_set();
3076 if (role_set_ == NULL) role_set_ = new ::bgs::protocol::club::v1::client::ClubRoleSet;
3077 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.role_set)
3078 return role_set_;
3079}
3080inline ::bgs::protocol::club::v1::client::ClubRoleSet* Club::release_role_set() {
3081 clear_has_role_set();
3083 role_set_ = NULL;
3084 return temp;
3085}
3086inline void Club::set_allocated_role_set(::bgs::protocol::club::v1::client::ClubRoleSet* role_set) {
3087 delete role_set_;
3088 role_set_ = role_set;
3089 if (role_set) {
3090 set_has_role_set();
3091 } else {
3092 clear_has_role_set();
3093 }
3094 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.role_set)
3095}
3096
3097// repeated .bgs.protocol.club.v1.client.MemberDescription leader = 14;
3098inline int Club::leader_size() const {
3099 return leader_.size();
3100}
3101inline void Club::clear_leader() {
3102 leader_.Clear();
3103}
3104inline const ::bgs::protocol::club::v1::client::MemberDescription& Club::leader(int index) const {
3105 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.leader)
3106 return leader_.Get(index);
3107}
3108inline ::bgs::protocol::club::v1::client::MemberDescription* Club::mutable_leader(int index) {
3109 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.leader)
3110 return leader_.Mutable(index);
3111}
3112inline ::bgs::protocol::club::v1::client::MemberDescription* Club::add_leader() {
3113 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.leader)
3114 return leader_.Add();
3115}
3116inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >&
3117Club::leader() const {
3118 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.leader)
3119 return leader_;
3120}
3121inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription >*
3122Club::mutable_leader() {
3123 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.leader)
3124 return &leader_;
3125}
3126
3127// optional string short_name = 15;
3128inline bool Club::has_short_name() const {
3129 return (_has_bits_[0] & 0x00004000u) != 0;
3130}
3131inline void Club::set_has_short_name() {
3132 _has_bits_[0] |= 0x00004000u;
3133}
3134inline void Club::clear_has_short_name() {
3135 _has_bits_[0] &= ~0x00004000u;
3136}
3137inline void Club::clear_short_name() {
3138 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3139 short_name_->clear();
3140 }
3141 clear_has_short_name();
3142}
3143inline const ::std::string& Club::short_name() const {
3144 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.short_name)
3145 return *short_name_;
3146}
3147inline void Club::set_short_name(const ::std::string& value) {
3148 set_has_short_name();
3149 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3150 short_name_ = new ::std::string;
3151 }
3152 short_name_->assign(value);
3153 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.short_name)
3154}
3155inline void Club::set_short_name(const char* value) {
3156 set_has_short_name();
3157 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3158 short_name_ = new ::std::string;
3159 }
3160 short_name_->assign(value);
3161 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.short_name)
3162}
3163inline void Club::set_short_name(const char* value, size_t size) {
3164 set_has_short_name();
3165 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3166 short_name_ = new ::std::string;
3167 }
3168 short_name_->assign(reinterpret_cast<const char*>(value), size);
3169 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.short_name)
3170}
3171inline ::std::string* Club::mutable_short_name() {
3172 set_has_short_name();
3173 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3174 short_name_ = new ::std::string;
3175 }
3176 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.short_name)
3177 return short_name_;
3178}
3179inline ::std::string* Club::release_short_name() {
3180 clear_has_short_name();
3181 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3182 return NULL;
3183 } else {
3184 ::std::string* temp = short_name_;
3185 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3186 return temp;
3187 }
3188}
3189inline void Club::set_allocated_short_name(::std::string* short_name) {
3190 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3191 delete short_name_;
3192 }
3193 if (short_name) {
3194 set_has_short_name();
3195 short_name_ = short_name;
3196 } else {
3197 clear_has_short_name();
3198 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3199 }
3200 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.short_name)
3201}
3202
3203// repeated .bgs.protocol.v2.Attribute search_attribute = 16;
3204inline int Club::search_attribute_size() const {
3205 return search_attribute_.size();
3206}
3207inline void Club::clear_search_attribute() {
3208 search_attribute_.Clear();
3209}
3210inline const ::bgs::protocol::v2::Attribute& Club::search_attribute(int index) const {
3211 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.search_attribute)
3212 return search_attribute_.Get(index);
3213}
3214inline ::bgs::protocol::v2::Attribute* Club::mutable_search_attribute(int index) {
3215 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.search_attribute)
3216 return search_attribute_.Mutable(index);
3217}
3218inline ::bgs::protocol::v2::Attribute* Club::add_search_attribute() {
3219 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.search_attribute)
3220 return search_attribute_.Add();
3221}
3222inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3223Club::search_attribute() const {
3224 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.search_attribute)
3225 return search_attribute_;
3226}
3227inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3228Club::mutable_search_attribute() {
3229 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.search_attribute)
3230 return &search_attribute_;
3231}
3232
3233// repeated .bgs.protocol.club.v1.TagIdentifier tag = 17;
3234inline int Club::tag_size() const {
3235 return tag_.size();
3236}
3237inline void Club::clear_tag() {
3238 tag_.Clear();
3239}
3240inline const ::bgs::protocol::club::v1::TagIdentifier& Club::tag(int index) const {
3241 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.tag)
3242 return tag_.Get(index);
3243}
3244inline ::bgs::protocol::club::v1::TagIdentifier* Club::mutable_tag(int index) {
3245 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.tag)
3246 return tag_.Mutable(index);
3247}
3248inline ::bgs::protocol::club::v1::TagIdentifier* Club::add_tag() {
3249 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Club.tag)
3250 return tag_.Add();
3251}
3252inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
3253Club::tag() const {
3254 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Club.tag)
3255 return tag_;
3256}
3257inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
3258Club::mutable_tag() {
3259 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Club.tag)
3260 return &tag_;
3261}
3262
3263// optional string locale = 18;
3264inline bool Club::has_locale() const {
3265 return (_has_bits_[0] & 0x00020000u) != 0;
3266}
3267inline void Club::set_has_locale() {
3268 _has_bits_[0] |= 0x00020000u;
3269}
3270inline void Club::clear_has_locale() {
3271 _has_bits_[0] &= ~0x00020000u;
3272}
3273inline void Club::clear_locale() {
3274 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3275 locale_->clear();
3276 }
3277 clear_has_locale();
3278}
3279inline const ::std::string& Club::locale() const {
3280 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.locale)
3281 return *locale_;
3282}
3283inline void Club::set_locale(const ::std::string& value) {
3284 set_has_locale();
3285 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3286 locale_ = new ::std::string;
3287 }
3288 locale_->assign(value);
3289 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.locale)
3290}
3291inline void Club::set_locale(const char* value) {
3292 set_has_locale();
3293 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3294 locale_ = new ::std::string;
3295 }
3296 locale_->assign(value);
3297 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.locale)
3298}
3299inline void Club::set_locale(const char* value, size_t size) {
3300 set_has_locale();
3301 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3302 locale_ = new ::std::string;
3303 }
3304 locale_->assign(reinterpret_cast<const char*>(value), size);
3305 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.locale)
3306}
3307inline ::std::string* Club::mutable_locale() {
3308 set_has_locale();
3309 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3310 locale_ = new ::std::string;
3311 }
3312 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.locale)
3313 return locale_;
3314}
3315inline ::std::string* Club::release_locale() {
3316 clear_has_locale();
3317 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3318 return NULL;
3319 } else {
3320 ::std::string* temp = locale_;
3321 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3322 return temp;
3323 }
3324}
3325inline void Club::set_allocated_locale(::std::string* locale) {
3326 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3327 delete locale_;
3328 }
3329 if (locale) {
3330 set_has_locale();
3331 locale_ = locale;
3332 } else {
3333 clear_has_locale();
3334 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3335 }
3336 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.locale)
3337}
3338
3339// optional string timezone = 19;
3340inline bool Club::has_timezone() const {
3341 return (_has_bits_[0] & 0x00040000u) != 0;
3342}
3343inline void Club::set_has_timezone() {
3344 _has_bits_[0] |= 0x00040000u;
3345}
3346inline void Club::clear_has_timezone() {
3347 _has_bits_[0] &= ~0x00040000u;
3348}
3349inline void Club::clear_timezone() {
3350 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3351 timezone_->clear();
3352 }
3353 clear_has_timezone();
3354}
3355inline const ::std::string& Club::timezone() const {
3356 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Club.timezone)
3357 return *timezone_;
3358}
3359inline void Club::set_timezone(const ::std::string& value) {
3360 set_has_timezone();
3361 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3362 timezone_ = new ::std::string;
3363 }
3364 timezone_->assign(value);
3365 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Club.timezone)
3366}
3367inline void Club::set_timezone(const char* value) {
3368 set_has_timezone();
3369 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3370 timezone_ = new ::std::string;
3371 }
3372 timezone_->assign(value);
3373 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Club.timezone)
3374}
3375inline void Club::set_timezone(const char* value, size_t size) {
3376 set_has_timezone();
3377 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3378 timezone_ = new ::std::string;
3379 }
3380 timezone_->assign(reinterpret_cast<const char*>(value), size);
3381 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Club.timezone)
3382}
3383inline ::std::string* Club::mutable_timezone() {
3384 set_has_timezone();
3385 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3386 timezone_ = new ::std::string;
3387 }
3388 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Club.timezone)
3389 return timezone_;
3390}
3391inline ::std::string* Club::release_timezone() {
3392 clear_has_timezone();
3393 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3394 return NULL;
3395 } else {
3396 ::std::string* temp = timezone_;
3397 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3398 return temp;
3399 }
3400}
3401inline void Club::set_allocated_timezone(::std::string* timezone) {
3402 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3403 delete timezone_;
3404 }
3405 if (timezone) {
3406 set_has_timezone();
3407 timezone_ = timezone;
3408 } else {
3409 clear_has_timezone();
3410 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3411 }
3412 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Club.timezone)
3413}
3414
3415// -------------------------------------------------------------------
3416
3417// ClubView
3418
3419// optional uint64 club_id = 1;
3420inline bool ClubView::has_club_id() const {
3421 return (_has_bits_[0] & 0x00000001u) != 0;
3422}
3423inline void ClubView::set_has_club_id() {
3424 _has_bits_[0] |= 0x00000001u;
3425}
3426inline void ClubView::clear_has_club_id() {
3427 _has_bits_[0] &= ~0x00000001u;
3428}
3429inline void ClubView::clear_club_id() {
3430 club_id_ = GOOGLE_ULONGLONG(0);
3431 clear_has_club_id();
3432}
3433inline ::google::protobuf::uint64 ClubView::club_id() const {
3434 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubView.club_id)
3435 return club_id_;
3436}
3437inline void ClubView::set_club_id(::google::protobuf::uint64 value) {
3438 set_has_club_id();
3439 club_id_ = value;
3440 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubView.club_id)
3441}
3442
3443// optional .bgs.protocol.ViewMarker marker = 2;
3444inline bool ClubView::has_marker() const {
3445 return (_has_bits_[0] & 0x00000002u) != 0;
3446}
3447inline void ClubView::set_has_marker() {
3448 _has_bits_[0] |= 0x00000002u;
3449}
3450inline void ClubView::clear_has_marker() {
3451 _has_bits_[0] &= ~0x00000002u;
3452}
3453inline void ClubView::clear_marker() {
3454 if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear();
3455 clear_has_marker();
3456}
3457inline const ::bgs::protocol::ViewMarker& ClubView::marker() const {
3458 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubView.marker)
3459 return marker_ != NULL ? *marker_ : *default_instance_->marker_;
3460}
3461inline ::bgs::protocol::ViewMarker* ClubView::mutable_marker() {
3462 set_has_marker();
3463 if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker;
3464 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubView.marker)
3465 return marker_;
3466}
3467inline ::bgs::protocol::ViewMarker* ClubView::release_marker() {
3468 clear_has_marker();
3469 ::bgs::protocol::ViewMarker* temp = marker_;
3470 marker_ = NULL;
3471 return temp;
3472}
3473inline void ClubView::set_allocated_marker(::bgs::protocol::ViewMarker* marker) {
3474 delete marker_;
3475 marker_ = marker;
3476 if (marker) {
3477 set_has_marker();
3478 } else {
3479 clear_has_marker();
3480 }
3481 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubView.marker)
3482}
3483
3484// -------------------------------------------------------------------
3485
3486// ClubStateOptions
3487
3488// repeated .bgs.protocol.v2.Attribute attribute = 1;
3489inline int ClubStateOptions::attribute_size() const {
3490 return attribute_.size();
3491}
3492inline void ClubStateOptions::clear_attribute() {
3493 attribute_.Clear();
3494}
3495inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::attribute(int index) const {
3496 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.attribute)
3497 return attribute_.Get(index);
3498}
3499inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_attribute(int index) {
3500 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.attribute)
3501 return attribute_.Mutable(index);
3502}
3503inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_attribute() {
3504 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateOptions.attribute)
3505 return attribute_.Add();
3506}
3507inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3508ClubStateOptions::attribute() const {
3509 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute)
3510 return attribute_;
3511}
3512inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3513ClubStateOptions::mutable_attribute() {
3514 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.attribute)
3515 return &attribute_;
3516}
3517
3518// optional string name = 2;
3519inline bool ClubStateOptions::has_name() const {
3520 return (_has_bits_[0] & 0x00000002u) != 0;
3521}
3522inline void ClubStateOptions::set_has_name() {
3523 _has_bits_[0] |= 0x00000002u;
3524}
3525inline void ClubStateOptions::clear_has_name() {
3526 _has_bits_[0] &= ~0x00000002u;
3527}
3528inline void ClubStateOptions::clear_name() {
3529 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3530 name_->clear();
3531 }
3532 clear_has_name();
3533}
3534inline const ::std::string& ClubStateOptions::name() const {
3535 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.name)
3536 return *name_;
3537}
3538inline void ClubStateOptions::set_name(const ::std::string& value) {
3539 set_has_name();
3540 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3541 name_ = new ::std::string;
3542 }
3543 name_->assign(value);
3544 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.name)
3545}
3546inline void ClubStateOptions::set_name(const char* value) {
3547 set_has_name();
3548 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3549 name_ = new ::std::string;
3550 }
3551 name_->assign(value);
3552 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.name)
3553}
3554inline void ClubStateOptions::set_name(const char* value, size_t size) {
3555 set_has_name();
3556 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3557 name_ = new ::std::string;
3558 }
3559 name_->assign(reinterpret_cast<const char*>(value), size);
3560 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.name)
3561}
3562inline ::std::string* ClubStateOptions::mutable_name() {
3563 set_has_name();
3564 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3565 name_ = new ::std::string;
3566 }
3567 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.name)
3568 return name_;
3569}
3570inline ::std::string* ClubStateOptions::release_name() {
3571 clear_has_name();
3572 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3573 return NULL;
3574 } else {
3575 ::std::string* temp = name_;
3576 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3577 return temp;
3578 }
3579}
3580inline void ClubStateOptions::set_allocated_name(::std::string* name) {
3581 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3582 delete name_;
3583 }
3584 if (name) {
3585 set_has_name();
3586 name_ = name;
3587 } else {
3588 clear_has_name();
3589 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3590 }
3591 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.name)
3592}
3593
3594// optional string description = 3;
3595inline bool ClubStateOptions::has_description() const {
3596 return (_has_bits_[0] & 0x00000004u) != 0;
3597}
3598inline void ClubStateOptions::set_has_description() {
3599 _has_bits_[0] |= 0x00000004u;
3600}
3601inline void ClubStateOptions::clear_has_description() {
3602 _has_bits_[0] &= ~0x00000004u;
3603}
3604inline void ClubStateOptions::clear_description() {
3605 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3606 description_->clear();
3607 }
3608 clear_has_description();
3609}
3610inline const ::std::string& ClubStateOptions::description() const {
3611 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.description)
3612 return *description_;
3613}
3614inline void ClubStateOptions::set_description(const ::std::string& value) {
3615 set_has_description();
3616 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3617 description_ = new ::std::string;
3618 }
3619 description_->assign(value);
3620 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.description)
3621}
3622inline void ClubStateOptions::set_description(const char* value) {
3623 set_has_description();
3624 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3625 description_ = new ::std::string;
3626 }
3627 description_->assign(value);
3628 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.description)
3629}
3630inline void ClubStateOptions::set_description(const char* value, size_t size) {
3631 set_has_description();
3632 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3633 description_ = new ::std::string;
3634 }
3635 description_->assign(reinterpret_cast<const char*>(value), size);
3636 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.description)
3637}
3638inline ::std::string* ClubStateOptions::mutable_description() {
3639 set_has_description();
3640 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3641 description_ = new ::std::string;
3642 }
3643 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.description)
3644 return description_;
3645}
3646inline ::std::string* ClubStateOptions::release_description() {
3647 clear_has_description();
3648 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3649 return NULL;
3650 } else {
3651 ::std::string* temp = description_;
3652 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3653 return temp;
3654 }
3655}
3656inline void ClubStateOptions::set_allocated_description(::std::string* description) {
3657 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3658 delete description_;
3659 }
3660 if (description) {
3661 set_has_description();
3662 description_ = description;
3663 } else {
3664 clear_has_description();
3665 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3666 }
3667 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.description)
3668}
3669
3670// optional .bgs.protocol.club.v1.client.SetBroadcastOptions broadcast = 4;
3671inline bool ClubStateOptions::has_broadcast() const {
3672 return (_has_bits_[0] & 0x00000008u) != 0;
3673}
3674inline void ClubStateOptions::set_has_broadcast() {
3675 _has_bits_[0] |= 0x00000008u;
3676}
3677inline void ClubStateOptions::clear_has_broadcast() {
3678 _has_bits_[0] &= ~0x00000008u;
3679}
3680inline void ClubStateOptions::clear_broadcast() {
3681 if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::SetBroadcastOptions::Clear();
3682 clear_has_broadcast();
3683}
3684inline const ::bgs::protocol::club::v1::client::SetBroadcastOptions& ClubStateOptions::broadcast() const {
3685 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.broadcast)
3686 return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_;
3687}
3688inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::mutable_broadcast() {
3689 set_has_broadcast();
3690 if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::SetBroadcastOptions;
3691 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.broadcast)
3692 return broadcast_;
3693}
3694inline ::bgs::protocol::club::v1::client::SetBroadcastOptions* ClubStateOptions::release_broadcast() {
3695 clear_has_broadcast();
3697 broadcast_ = NULL;
3698 return temp;
3699}
3700inline void ClubStateOptions::set_allocated_broadcast(::bgs::protocol::club::v1::client::SetBroadcastOptions* broadcast) {
3701 delete broadcast_;
3702 broadcast_ = broadcast;
3703 if (broadcast) {
3704 set_has_broadcast();
3705 } else {
3706 clear_has_broadcast();
3707 }
3708 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.broadcast)
3709}
3710
3711// optional .bgs.protocol.club.v1.AvatarId avatar = 5;
3712inline bool ClubStateOptions::has_avatar() const {
3713 return (_has_bits_[0] & 0x00000010u) != 0;
3714}
3715inline void ClubStateOptions::set_has_avatar() {
3716 _has_bits_[0] |= 0x00000010u;
3717}
3718inline void ClubStateOptions::clear_has_avatar() {
3719 _has_bits_[0] &= ~0x00000010u;
3720}
3721inline void ClubStateOptions::clear_avatar() {
3722 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
3723 clear_has_avatar();
3724}
3725inline const ::bgs::protocol::club::v1::AvatarId& ClubStateOptions::avatar() const {
3726 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.avatar)
3727 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
3728}
3729inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::mutable_avatar() {
3730 set_has_avatar();
3731 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
3732 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.avatar)
3733 return avatar_;
3734}
3735inline ::bgs::protocol::club::v1::AvatarId* ClubStateOptions::release_avatar() {
3736 clear_has_avatar();
3738 avatar_ = NULL;
3739 return temp;
3740}
3741inline void ClubStateOptions::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) {
3742 delete avatar_;
3743 avatar_ = avatar;
3744 if (avatar) {
3745 set_has_avatar();
3746 } else {
3747 clear_has_avatar();
3748 }
3749 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.avatar)
3750}
3751
3752// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 6;
3753inline bool ClubStateOptions::has_privacy_level() const {
3754 return (_has_bits_[0] & 0x00000020u) != 0;
3755}
3756inline void ClubStateOptions::set_has_privacy_level() {
3757 _has_bits_[0] |= 0x00000020u;
3758}
3759inline void ClubStateOptions::clear_has_privacy_level() {
3760 _has_bits_[0] &= ~0x00000020u;
3761}
3762inline void ClubStateOptions::clear_privacy_level() {
3763 privacy_level_ = 0;
3764 clear_has_privacy_level();
3765}
3766inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateOptions::privacy_level() const {
3767 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level)
3768 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
3769}
3770inline void ClubStateOptions::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) {
3772 set_has_privacy_level();
3773 privacy_level_ = value;
3774 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.privacy_level)
3775}
3776
3777// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 7;
3778inline bool ClubStateOptions::has_stream_position() const {
3779 return (_has_bits_[0] & 0x00000040u) != 0;
3780}
3781inline void ClubStateOptions::set_has_stream_position() {
3782 _has_bits_[0] |= 0x00000040u;
3783}
3784inline void ClubStateOptions::clear_has_stream_position() {
3785 _has_bits_[0] &= ~0x00000040u;
3786}
3787inline void ClubStateOptions::clear_stream_position() {
3788 if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear();
3789 clear_has_stream_position();
3790}
3791inline const ::bgs::protocol::club::v1::client::StreamPosition& ClubStateOptions::stream_position() const {
3792 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.stream_position)
3793 return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_;
3794}
3795inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::mutable_stream_position() {
3796 set_has_stream_position();
3797 if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition;
3798 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.stream_position)
3799 return stream_position_;
3800}
3801inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateOptions::release_stream_position() {
3802 clear_has_stream_position();
3804 stream_position_ = NULL;
3805 return temp;
3806}
3807inline void ClubStateOptions::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) {
3808 delete stream_position_;
3809 stream_position_ = stream_position;
3810 if (stream_position) {
3811 set_has_stream_position();
3812 } else {
3813 clear_has_stream_position();
3814 }
3815 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.stream_position)
3816}
3817
3818// optional string short_name = 8;
3819inline bool ClubStateOptions::has_short_name() const {
3820 return (_has_bits_[0] & 0x00000080u) != 0;
3821}
3822inline void ClubStateOptions::set_has_short_name() {
3823 _has_bits_[0] |= 0x00000080u;
3824}
3825inline void ClubStateOptions::clear_has_short_name() {
3826 _has_bits_[0] &= ~0x00000080u;
3827}
3828inline void ClubStateOptions::clear_short_name() {
3829 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3830 short_name_->clear();
3831 }
3832 clear_has_short_name();
3833}
3834inline const ::std::string& ClubStateOptions::short_name() const {
3835 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.short_name)
3836 return *short_name_;
3837}
3838inline void ClubStateOptions::set_short_name(const ::std::string& value) {
3839 set_has_short_name();
3840 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3841 short_name_ = new ::std::string;
3842 }
3843 short_name_->assign(value);
3844 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.short_name)
3845}
3846inline void ClubStateOptions::set_short_name(const char* value) {
3847 set_has_short_name();
3848 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3849 short_name_ = new ::std::string;
3850 }
3851 short_name_->assign(value);
3852 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.short_name)
3853}
3854inline void ClubStateOptions::set_short_name(const char* value, size_t size) {
3855 set_has_short_name();
3856 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3857 short_name_ = new ::std::string;
3858 }
3859 short_name_->assign(reinterpret_cast<const char*>(value), size);
3860 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.short_name)
3861}
3862inline ::std::string* ClubStateOptions::mutable_short_name() {
3863 set_has_short_name();
3864 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3865 short_name_ = new ::std::string;
3866 }
3867 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.short_name)
3868 return short_name_;
3869}
3870inline ::std::string* ClubStateOptions::release_short_name() {
3871 clear_has_short_name();
3872 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3873 return NULL;
3874 } else {
3875 ::std::string* temp = short_name_;
3876 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3877 return temp;
3878 }
3879}
3880inline void ClubStateOptions::set_allocated_short_name(::std::string* short_name) {
3881 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3882 delete short_name_;
3883 }
3884 if (short_name) {
3885 set_has_short_name();
3886 short_name_ = short_name;
3887 } else {
3888 clear_has_short_name();
3889 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3890 }
3891 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.short_name)
3892}
3893
3894// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 9;
3895inline bool ClubStateOptions::has_visibility_level() const {
3896 return (_has_bits_[0] & 0x00000100u) != 0;
3897}
3898inline void ClubStateOptions::set_has_visibility_level() {
3899 _has_bits_[0] |= 0x00000100u;
3900}
3901inline void ClubStateOptions::clear_has_visibility_level() {
3902 _has_bits_[0] &= ~0x00000100u;
3903}
3904inline void ClubStateOptions::clear_visibility_level() {
3905 visibility_level_ = 0;
3906 clear_has_visibility_level();
3907}
3908inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateOptions::visibility_level() const {
3909 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level)
3910 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
3911}
3912inline void ClubStateOptions::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
3914 set_has_visibility_level();
3915 visibility_level_ = value;
3916 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.visibility_level)
3917}
3918
3919// optional string locale = 10;
3920inline bool ClubStateOptions::has_locale() const {
3921 return (_has_bits_[0] & 0x00000200u) != 0;
3922}
3923inline void ClubStateOptions::set_has_locale() {
3924 _has_bits_[0] |= 0x00000200u;
3925}
3926inline void ClubStateOptions::clear_has_locale() {
3927 _has_bits_[0] &= ~0x00000200u;
3928}
3929inline void ClubStateOptions::clear_locale() {
3930 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3931 locale_->clear();
3932 }
3933 clear_has_locale();
3934}
3935inline const ::std::string& ClubStateOptions::locale() const {
3936 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.locale)
3937 return *locale_;
3938}
3939inline void ClubStateOptions::set_locale(const ::std::string& value) {
3940 set_has_locale();
3941 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3942 locale_ = new ::std::string;
3943 }
3944 locale_->assign(value);
3945 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.locale)
3946}
3947inline void ClubStateOptions::set_locale(const char* value) {
3948 set_has_locale();
3949 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3950 locale_ = new ::std::string;
3951 }
3952 locale_->assign(value);
3953 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.locale)
3954}
3955inline void ClubStateOptions::set_locale(const char* value, size_t size) {
3956 set_has_locale();
3957 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3958 locale_ = new ::std::string;
3959 }
3960 locale_->assign(reinterpret_cast<const char*>(value), size);
3961 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.locale)
3962}
3963inline ::std::string* ClubStateOptions::mutable_locale() {
3964 set_has_locale();
3965 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3966 locale_ = new ::std::string;
3967 }
3968 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.locale)
3969 return locale_;
3970}
3971inline ::std::string* ClubStateOptions::release_locale() {
3972 clear_has_locale();
3973 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3974 return NULL;
3975 } else {
3976 ::std::string* temp = locale_;
3977 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3978 return temp;
3979 }
3980}
3981inline void ClubStateOptions::set_allocated_locale(::std::string* locale) {
3982 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3983 delete locale_;
3984 }
3985 if (locale) {
3986 set_has_locale();
3987 locale_ = locale;
3988 } else {
3989 clear_has_locale();
3990 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3991 }
3992 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.locale)
3993}
3994
3995// optional string timezone = 11;
3996inline bool ClubStateOptions::has_timezone() const {
3997 return (_has_bits_[0] & 0x00000400u) != 0;
3998}
3999inline void ClubStateOptions::set_has_timezone() {
4000 _has_bits_[0] |= 0x00000400u;
4001}
4002inline void ClubStateOptions::clear_has_timezone() {
4003 _has_bits_[0] &= ~0x00000400u;
4004}
4005inline void ClubStateOptions::clear_timezone() {
4006 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4007 timezone_->clear();
4008 }
4009 clear_has_timezone();
4010}
4011inline const ::std::string& ClubStateOptions::timezone() const {
4012 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.timezone)
4013 return *timezone_;
4014}
4015inline void ClubStateOptions::set_timezone(const ::std::string& value) {
4016 set_has_timezone();
4017 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4018 timezone_ = new ::std::string;
4019 }
4020 timezone_->assign(value);
4021 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateOptions.timezone)
4022}
4023inline void ClubStateOptions::set_timezone(const char* value) {
4024 set_has_timezone();
4025 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4026 timezone_ = new ::std::string;
4027 }
4028 timezone_->assign(value);
4029 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateOptions.timezone)
4030}
4031inline void ClubStateOptions::set_timezone(const char* value, size_t size) {
4032 set_has_timezone();
4033 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4034 timezone_ = new ::std::string;
4035 }
4036 timezone_->assign(reinterpret_cast<const char*>(value), size);
4037 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateOptions.timezone)
4038}
4039inline ::std::string* ClubStateOptions::mutable_timezone() {
4040 set_has_timezone();
4041 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4042 timezone_ = new ::std::string;
4043 }
4044 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.timezone)
4045 return timezone_;
4046}
4047inline ::std::string* ClubStateOptions::release_timezone() {
4048 clear_has_timezone();
4049 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4050 return NULL;
4051 } else {
4052 ::std::string* temp = timezone_;
4053 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4054 return temp;
4055 }
4056}
4057inline void ClubStateOptions::set_allocated_timezone(::std::string* timezone) {
4058 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4059 delete timezone_;
4060 }
4061 if (timezone) {
4062 set_has_timezone();
4063 timezone_ = timezone;
4064 } else {
4065 clear_has_timezone();
4066 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4067 }
4068 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.timezone)
4069}
4070
4071// optional .bgs.protocol.club.v1.TagOptions tag_options = 12;
4072inline bool ClubStateOptions::has_tag_options() const {
4073 return (_has_bits_[0] & 0x00000800u) != 0;
4074}
4075inline void ClubStateOptions::set_has_tag_options() {
4076 _has_bits_[0] |= 0x00000800u;
4077}
4078inline void ClubStateOptions::clear_has_tag_options() {
4079 _has_bits_[0] &= ~0x00000800u;
4080}
4081inline void ClubStateOptions::clear_tag_options() {
4082 if (tag_options_ != NULL) tag_options_->::bgs::protocol::club::v1::TagOptions::Clear();
4083 clear_has_tag_options();
4084}
4085inline const ::bgs::protocol::club::v1::TagOptions& ClubStateOptions::tag_options() const {
4086 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.tag_options)
4087 return tag_options_ != NULL ? *tag_options_ : *default_instance_->tag_options_;
4088}
4089inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::mutable_tag_options() {
4090 set_has_tag_options();
4091 if (tag_options_ == NULL) tag_options_ = new ::bgs::protocol::club::v1::TagOptions;
4092 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.tag_options)
4093 return tag_options_;
4094}
4095inline ::bgs::protocol::club::v1::TagOptions* ClubStateOptions::release_tag_options() {
4096 clear_has_tag_options();
4097 ::bgs::protocol::club::v1::TagOptions* temp = tag_options_;
4098 tag_options_ = NULL;
4099 return temp;
4100}
4101inline void ClubStateOptions::set_allocated_tag_options(::bgs::protocol::club::v1::TagOptions* tag_options) {
4102 delete tag_options_;
4103 tag_options_ = tag_options;
4104 if (tag_options) {
4105 set_has_tag_options();
4106 } else {
4107 clear_has_tag_options();
4108 }
4109 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateOptions.tag_options)
4110}
4111
4112// repeated .bgs.protocol.v2.Attribute search_attribute = 13;
4113inline int ClubStateOptions::search_attribute_size() const {
4114 return search_attribute_.size();
4115}
4116inline void ClubStateOptions::clear_search_attribute() {
4117 search_attribute_.Clear();
4118}
4119inline const ::bgs::protocol::v2::Attribute& ClubStateOptions::search_attribute(int index) const {
4120 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute)
4121 return search_attribute_.Get(index);
4122}
4123inline ::bgs::protocol::v2::Attribute* ClubStateOptions::mutable_search_attribute(int index) {
4124 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute)
4125 return search_attribute_.Mutable(index);
4126}
4127inline ::bgs::protocol::v2::Attribute* ClubStateOptions::add_search_attribute() {
4128 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute)
4129 return search_attribute_.Add();
4130}
4131inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4132ClubStateOptions::search_attribute() const {
4133 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute)
4134 return search_attribute_;
4135}
4136inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4137ClubStateOptions::mutable_search_attribute() {
4138 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateOptions.search_attribute)
4139 return &search_attribute_;
4140}
4141
4142// -------------------------------------------------------------------
4143
4144// ClubStateAssignment
4145
4146// optional uint64 club_id = 1;
4147inline bool ClubStateAssignment::has_club_id() const {
4148 return (_has_bits_[0] & 0x00000001u) != 0;
4149}
4150inline void ClubStateAssignment::set_has_club_id() {
4151 _has_bits_[0] |= 0x00000001u;
4152}
4153inline void ClubStateAssignment::clear_has_club_id() {
4154 _has_bits_[0] &= ~0x00000001u;
4155}
4156inline void ClubStateAssignment::clear_club_id() {
4157 club_id_ = GOOGLE_ULONGLONG(0);
4158 clear_has_club_id();
4159}
4160inline ::google::protobuf::uint64 ClubStateAssignment::club_id() const {
4161 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.club_id)
4162 return club_id_;
4163}
4164inline void ClubStateAssignment::set_club_id(::google::protobuf::uint64 value) {
4165 set_has_club_id();
4166 club_id_ = value;
4167 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.club_id)
4168}
4169
4170// repeated .bgs.protocol.v2.Attribute attribute = 2;
4171inline int ClubStateAssignment::attribute_size() const {
4172 return attribute_.size();
4173}
4174inline void ClubStateAssignment::clear_attribute() {
4175 attribute_.Clear();
4176}
4177inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::attribute(int index) const {
4178 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.attribute)
4179 return attribute_.Get(index);
4180}
4181inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_attribute(int index) {
4182 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.attribute)
4183 return attribute_.Mutable(index);
4184}
4185inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_attribute() {
4186 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.attribute)
4187 return attribute_.Add();
4188}
4189inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4190ClubStateAssignment::attribute() const {
4191 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute)
4192 return attribute_;
4193}
4194inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4195ClubStateAssignment::mutable_attribute() {
4196 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.attribute)
4197 return &attribute_;
4198}
4199
4200// optional string name = 3;
4201inline bool ClubStateAssignment::has_name() const {
4202 return (_has_bits_[0] & 0x00000004u) != 0;
4203}
4204inline void ClubStateAssignment::set_has_name() {
4205 _has_bits_[0] |= 0x00000004u;
4206}
4207inline void ClubStateAssignment::clear_has_name() {
4208 _has_bits_[0] &= ~0x00000004u;
4209}
4210inline void ClubStateAssignment::clear_name() {
4211 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4212 name_->clear();
4213 }
4214 clear_has_name();
4215}
4216inline const ::std::string& ClubStateAssignment::name() const {
4217 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.name)
4218 return *name_;
4219}
4220inline void ClubStateAssignment::set_name(const ::std::string& value) {
4221 set_has_name();
4222 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4223 name_ = new ::std::string;
4224 }
4225 name_->assign(value);
4226 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.name)
4227}
4228inline void ClubStateAssignment::set_name(const char* value) {
4229 set_has_name();
4230 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4231 name_ = new ::std::string;
4232 }
4233 name_->assign(value);
4234 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.name)
4235}
4236inline void ClubStateAssignment::set_name(const char* value, size_t size) {
4237 set_has_name();
4238 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4239 name_ = new ::std::string;
4240 }
4241 name_->assign(reinterpret_cast<const char*>(value), size);
4242 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.name)
4243}
4244inline ::std::string* ClubStateAssignment::mutable_name() {
4245 set_has_name();
4246 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4247 name_ = new ::std::string;
4248 }
4249 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.name)
4250 return name_;
4251}
4252inline ::std::string* ClubStateAssignment::release_name() {
4253 clear_has_name();
4254 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4255 return NULL;
4256 } else {
4257 ::std::string* temp = name_;
4258 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4259 return temp;
4260 }
4261}
4262inline void ClubStateAssignment::set_allocated_name(::std::string* name) {
4263 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4264 delete name_;
4265 }
4266 if (name) {
4267 set_has_name();
4268 name_ = name;
4269 } else {
4270 clear_has_name();
4271 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4272 }
4273 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.name)
4274}
4275
4276// optional string description = 4;
4277inline bool ClubStateAssignment::has_description() const {
4278 return (_has_bits_[0] & 0x00000008u) != 0;
4279}
4280inline void ClubStateAssignment::set_has_description() {
4281 _has_bits_[0] |= 0x00000008u;
4282}
4283inline void ClubStateAssignment::clear_has_description() {
4284 _has_bits_[0] &= ~0x00000008u;
4285}
4286inline void ClubStateAssignment::clear_description() {
4287 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4288 description_->clear();
4289 }
4290 clear_has_description();
4291}
4292inline const ::std::string& ClubStateAssignment::description() const {
4293 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.description)
4294 return *description_;
4295}
4296inline void ClubStateAssignment::set_description(const ::std::string& value) {
4297 set_has_description();
4298 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4299 description_ = new ::std::string;
4300 }
4301 description_->assign(value);
4302 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.description)
4303}
4304inline void ClubStateAssignment::set_description(const char* value) {
4305 set_has_description();
4306 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4307 description_ = new ::std::string;
4308 }
4309 description_->assign(value);
4310 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.description)
4311}
4312inline void ClubStateAssignment::set_description(const char* value, size_t size) {
4313 set_has_description();
4314 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4315 description_ = new ::std::string;
4316 }
4317 description_->assign(reinterpret_cast<const char*>(value), size);
4318 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.description)
4319}
4320inline ::std::string* ClubStateAssignment::mutable_description() {
4321 set_has_description();
4322 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4323 description_ = new ::std::string;
4324 }
4325 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.description)
4326 return description_;
4327}
4328inline ::std::string* ClubStateAssignment::release_description() {
4329 clear_has_description();
4330 if (description_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4331 return NULL;
4332 } else {
4333 ::std::string* temp = description_;
4334 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4335 return temp;
4336 }
4337}
4338inline void ClubStateAssignment::set_allocated_description(::std::string* description) {
4339 if (description_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4340 delete description_;
4341 }
4342 if (description) {
4343 set_has_description();
4344 description_ = description;
4345 } else {
4346 clear_has_description();
4347 description_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4348 }
4349 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.description)
4350}
4351
4352// optional .bgs.protocol.club.v1.client.Broadcast broadcast = 5;
4353inline bool ClubStateAssignment::has_broadcast() const {
4354 return (_has_bits_[0] & 0x00000010u) != 0;
4355}
4356inline void ClubStateAssignment::set_has_broadcast() {
4357 _has_bits_[0] |= 0x00000010u;
4358}
4359inline void ClubStateAssignment::clear_has_broadcast() {
4360 _has_bits_[0] &= ~0x00000010u;
4361}
4362inline void ClubStateAssignment::clear_broadcast() {
4363 if (broadcast_ != NULL) broadcast_->::bgs::protocol::club::v1::client::Broadcast::Clear();
4364 clear_has_broadcast();
4365}
4366inline const ::bgs::protocol::club::v1::client::Broadcast& ClubStateAssignment::broadcast() const {
4367 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast)
4368 return broadcast_ != NULL ? *broadcast_ : *default_instance_->broadcast_;
4369}
4370inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::mutable_broadcast() {
4371 set_has_broadcast();
4372 if (broadcast_ == NULL) broadcast_ = new ::bgs::protocol::club::v1::client::Broadcast;
4373 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast)
4374 return broadcast_;
4375}
4376inline ::bgs::protocol::club::v1::client::Broadcast* ClubStateAssignment::release_broadcast() {
4377 clear_has_broadcast();
4379 broadcast_ = NULL;
4380 return temp;
4381}
4382inline void ClubStateAssignment::set_allocated_broadcast(::bgs::protocol::club::v1::client::Broadcast* broadcast) {
4383 delete broadcast_;
4384 broadcast_ = broadcast;
4385 if (broadcast) {
4386 set_has_broadcast();
4387 } else {
4388 clear_has_broadcast();
4389 }
4390 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.broadcast)
4391}
4392
4393// optional .bgs.protocol.club.v1.AvatarId avatar = 6;
4394inline bool ClubStateAssignment::has_avatar() const {
4395 return (_has_bits_[0] & 0x00000020u) != 0;
4396}
4397inline void ClubStateAssignment::set_has_avatar() {
4398 _has_bits_[0] |= 0x00000020u;
4399}
4400inline void ClubStateAssignment::clear_has_avatar() {
4401 _has_bits_[0] &= ~0x00000020u;
4402}
4403inline void ClubStateAssignment::clear_avatar() {
4404 if (avatar_ != NULL) avatar_->::bgs::protocol::club::v1::AvatarId::Clear();
4405 clear_has_avatar();
4406}
4407inline const ::bgs::protocol::club::v1::AvatarId& ClubStateAssignment::avatar() const {
4408 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.avatar)
4409 return avatar_ != NULL ? *avatar_ : *default_instance_->avatar_;
4410}
4411inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::mutable_avatar() {
4412 set_has_avatar();
4413 if (avatar_ == NULL) avatar_ = new ::bgs::protocol::club::v1::AvatarId;
4414 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.avatar)
4415 return avatar_;
4416}
4417inline ::bgs::protocol::club::v1::AvatarId* ClubStateAssignment::release_avatar() {
4418 clear_has_avatar();
4420 avatar_ = NULL;
4421 return temp;
4422}
4423inline void ClubStateAssignment::set_allocated_avatar(::bgs::protocol::club::v1::AvatarId* avatar) {
4424 delete avatar_;
4425 avatar_ = avatar;
4426 if (avatar) {
4427 set_has_avatar();
4428 } else {
4429 clear_has_avatar();
4430 }
4431 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.avatar)
4432}
4433
4434// optional .bgs.protocol.club.v1.PrivacyLevel privacy_level = 7;
4435inline bool ClubStateAssignment::has_privacy_level() const {
4436 return (_has_bits_[0] & 0x00000040u) != 0;
4437}
4438inline void ClubStateAssignment::set_has_privacy_level() {
4439 _has_bits_[0] |= 0x00000040u;
4440}
4441inline void ClubStateAssignment::clear_has_privacy_level() {
4442 _has_bits_[0] &= ~0x00000040u;
4443}
4444inline void ClubStateAssignment::clear_privacy_level() {
4445 privacy_level_ = 0;
4446 clear_has_privacy_level();
4447}
4448inline ::bgs::protocol::club::v1::PrivacyLevel ClubStateAssignment::privacy_level() const {
4449 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level)
4450 return static_cast< ::bgs::protocol::club::v1::PrivacyLevel >(privacy_level_);
4451}
4452inline void ClubStateAssignment::set_privacy_level(::bgs::protocol::club::v1::PrivacyLevel value) {
4454 set_has_privacy_level();
4455 privacy_level_ = value;
4456 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.privacy_level)
4457}
4458
4459// optional .bgs.protocol.club.v1.client.StreamPosition stream_position = 8;
4460inline bool ClubStateAssignment::has_stream_position() const {
4461 return (_has_bits_[0] & 0x00000080u) != 0;
4462}
4463inline void ClubStateAssignment::set_has_stream_position() {
4464 _has_bits_[0] |= 0x00000080u;
4465}
4466inline void ClubStateAssignment::clear_has_stream_position() {
4467 _has_bits_[0] &= ~0x00000080u;
4468}
4469inline void ClubStateAssignment::clear_stream_position() {
4470 if (stream_position_ != NULL) stream_position_->::bgs::protocol::club::v1::client::StreamPosition::Clear();
4471 clear_has_stream_position();
4472}
4473inline const ::bgs::protocol::club::v1::client::StreamPosition& ClubStateAssignment::stream_position() const {
4474 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position)
4475 return stream_position_ != NULL ? *stream_position_ : *default_instance_->stream_position_;
4476}
4477inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::mutable_stream_position() {
4478 set_has_stream_position();
4479 if (stream_position_ == NULL) stream_position_ = new ::bgs::protocol::club::v1::client::StreamPosition;
4480 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position)
4481 return stream_position_;
4482}
4483inline ::bgs::protocol::club::v1::client::StreamPosition* ClubStateAssignment::release_stream_position() {
4484 clear_has_stream_position();
4486 stream_position_ = NULL;
4487 return temp;
4488}
4489inline void ClubStateAssignment::set_allocated_stream_position(::bgs::protocol::club::v1::client::StreamPosition* stream_position) {
4490 delete stream_position_;
4491 stream_position_ = stream_position;
4492 if (stream_position) {
4493 set_has_stream_position();
4494 } else {
4495 clear_has_stream_position();
4496 }
4497 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.stream_position)
4498}
4499
4500// optional string short_name = 9;
4501inline bool ClubStateAssignment::has_short_name() const {
4502 return (_has_bits_[0] & 0x00000100u) != 0;
4503}
4504inline void ClubStateAssignment::set_has_short_name() {
4505 _has_bits_[0] |= 0x00000100u;
4506}
4507inline void ClubStateAssignment::clear_has_short_name() {
4508 _has_bits_[0] &= ~0x00000100u;
4509}
4510inline void ClubStateAssignment::clear_short_name() {
4511 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4512 short_name_->clear();
4513 }
4514 clear_has_short_name();
4515}
4516inline const ::std::string& ClubStateAssignment::short_name() const {
4517 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.short_name)
4518 return *short_name_;
4519}
4520inline void ClubStateAssignment::set_short_name(const ::std::string& value) {
4521 set_has_short_name();
4522 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4523 short_name_ = new ::std::string;
4524 }
4525 short_name_->assign(value);
4526 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.short_name)
4527}
4528inline void ClubStateAssignment::set_short_name(const char* value) {
4529 set_has_short_name();
4530 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4531 short_name_ = new ::std::string;
4532 }
4533 short_name_->assign(value);
4534 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.short_name)
4535}
4536inline void ClubStateAssignment::set_short_name(const char* value, size_t size) {
4537 set_has_short_name();
4538 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4539 short_name_ = new ::std::string;
4540 }
4541 short_name_->assign(reinterpret_cast<const char*>(value), size);
4542 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.short_name)
4543}
4544inline ::std::string* ClubStateAssignment::mutable_short_name() {
4545 set_has_short_name();
4546 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4547 short_name_ = new ::std::string;
4548 }
4549 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.short_name)
4550 return short_name_;
4551}
4552inline ::std::string* ClubStateAssignment::release_short_name() {
4553 clear_has_short_name();
4554 if (short_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4555 return NULL;
4556 } else {
4557 ::std::string* temp = short_name_;
4558 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4559 return temp;
4560 }
4561}
4562inline void ClubStateAssignment::set_allocated_short_name(::std::string* short_name) {
4563 if (short_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4564 delete short_name_;
4565 }
4566 if (short_name) {
4567 set_has_short_name();
4568 short_name_ = short_name;
4569 } else {
4570 clear_has_short_name();
4571 short_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4572 }
4573 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.short_name)
4574}
4575
4576// optional .bgs.protocol.club.v1.VisibilityLevel visibility_level = 10;
4577inline bool ClubStateAssignment::has_visibility_level() const {
4578 return (_has_bits_[0] & 0x00000200u) != 0;
4579}
4580inline void ClubStateAssignment::set_has_visibility_level() {
4581 _has_bits_[0] |= 0x00000200u;
4582}
4583inline void ClubStateAssignment::clear_has_visibility_level() {
4584 _has_bits_[0] &= ~0x00000200u;
4585}
4586inline void ClubStateAssignment::clear_visibility_level() {
4587 visibility_level_ = 0;
4588 clear_has_visibility_level();
4589}
4590inline ::bgs::protocol::club::v1::VisibilityLevel ClubStateAssignment::visibility_level() const {
4591 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level)
4592 return static_cast< ::bgs::protocol::club::v1::VisibilityLevel >(visibility_level_);
4593}
4594inline void ClubStateAssignment::set_visibility_level(::bgs::protocol::club::v1::VisibilityLevel value) {
4596 set_has_visibility_level();
4597 visibility_level_ = value;
4598 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.visibility_level)
4599}
4600
4601// optional string locale = 11;
4602inline bool ClubStateAssignment::has_locale() const {
4603 return (_has_bits_[0] & 0x00000400u) != 0;
4604}
4605inline void ClubStateAssignment::set_has_locale() {
4606 _has_bits_[0] |= 0x00000400u;
4607}
4608inline void ClubStateAssignment::clear_has_locale() {
4609 _has_bits_[0] &= ~0x00000400u;
4610}
4611inline void ClubStateAssignment::clear_locale() {
4612 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4613 locale_->clear();
4614 }
4615 clear_has_locale();
4616}
4617inline const ::std::string& ClubStateAssignment::locale() const {
4618 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.locale)
4619 return *locale_;
4620}
4621inline void ClubStateAssignment::set_locale(const ::std::string& value) {
4622 set_has_locale();
4623 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4624 locale_ = new ::std::string;
4625 }
4626 locale_->assign(value);
4627 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.locale)
4628}
4629inline void ClubStateAssignment::set_locale(const char* value) {
4630 set_has_locale();
4631 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4632 locale_ = new ::std::string;
4633 }
4634 locale_->assign(value);
4635 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.locale)
4636}
4637inline void ClubStateAssignment::set_locale(const char* value, size_t size) {
4638 set_has_locale();
4639 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4640 locale_ = new ::std::string;
4641 }
4642 locale_->assign(reinterpret_cast<const char*>(value), size);
4643 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.locale)
4644}
4645inline ::std::string* ClubStateAssignment::mutable_locale() {
4646 set_has_locale();
4647 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4648 locale_ = new ::std::string;
4649 }
4650 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.locale)
4651 return locale_;
4652}
4653inline ::std::string* ClubStateAssignment::release_locale() {
4654 clear_has_locale();
4655 if (locale_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4656 return NULL;
4657 } else {
4658 ::std::string* temp = locale_;
4659 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4660 return temp;
4661 }
4662}
4663inline void ClubStateAssignment::set_allocated_locale(::std::string* locale) {
4664 if (locale_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4665 delete locale_;
4666 }
4667 if (locale) {
4668 set_has_locale();
4669 locale_ = locale;
4670 } else {
4671 clear_has_locale();
4672 locale_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4673 }
4674 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.locale)
4675}
4676
4677// optional string timezone = 12;
4678inline bool ClubStateAssignment::has_timezone() const {
4679 return (_has_bits_[0] & 0x00000800u) != 0;
4680}
4681inline void ClubStateAssignment::set_has_timezone() {
4682 _has_bits_[0] |= 0x00000800u;
4683}
4684inline void ClubStateAssignment::clear_has_timezone() {
4685 _has_bits_[0] &= ~0x00000800u;
4686}
4687inline void ClubStateAssignment::clear_timezone() {
4688 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4689 timezone_->clear();
4690 }
4691 clear_has_timezone();
4692}
4693inline const ::std::string& ClubStateAssignment::timezone() const {
4694 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.timezone)
4695 return *timezone_;
4696}
4697inline void ClubStateAssignment::set_timezone(const ::std::string& value) {
4698 set_has_timezone();
4699 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4700 timezone_ = new ::std::string;
4701 }
4702 timezone_->assign(value);
4703 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.timezone)
4704}
4705inline void ClubStateAssignment::set_timezone(const char* value) {
4706 set_has_timezone();
4707 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4708 timezone_ = new ::std::string;
4709 }
4710 timezone_->assign(value);
4711 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ClubStateAssignment.timezone)
4712}
4713inline void ClubStateAssignment::set_timezone(const char* value, size_t size) {
4714 set_has_timezone();
4715 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4716 timezone_ = new ::std::string;
4717 }
4718 timezone_->assign(reinterpret_cast<const char*>(value), size);
4719 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ClubStateAssignment.timezone)
4720}
4721inline ::std::string* ClubStateAssignment::mutable_timezone() {
4722 set_has_timezone();
4723 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4724 timezone_ = new ::std::string;
4725 }
4726 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.timezone)
4727 return timezone_;
4728}
4729inline ::std::string* ClubStateAssignment::release_timezone() {
4730 clear_has_timezone();
4731 if (timezone_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4732 return NULL;
4733 } else {
4734 ::std::string* temp = timezone_;
4735 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4736 return temp;
4737 }
4738}
4739inline void ClubStateAssignment::set_allocated_timezone(::std::string* timezone) {
4740 if (timezone_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4741 delete timezone_;
4742 }
4743 if (timezone) {
4744 set_has_timezone();
4745 timezone_ = timezone;
4746 } else {
4747 clear_has_timezone();
4748 timezone_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4749 }
4750 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubStateAssignment.timezone)
4751}
4752
4753// repeated .bgs.protocol.club.v1.TagIdentifier tag = 13;
4754inline int ClubStateAssignment::tag_size() const {
4755 return tag_.size();
4756}
4757inline void ClubStateAssignment::clear_tag() {
4758 tag_.Clear();
4759}
4760inline const ::bgs::protocol::club::v1::TagIdentifier& ClubStateAssignment::tag(int index) const {
4761 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.tag)
4762 return tag_.Get(index);
4763}
4764inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::mutable_tag(int index) {
4765 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.tag)
4766 return tag_.Mutable(index);
4767}
4768inline ::bgs::protocol::club::v1::TagIdentifier* ClubStateAssignment::add_tag() {
4769 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.tag)
4770 return tag_.Add();
4771}
4772inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >&
4773ClubStateAssignment::tag() const {
4774 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag)
4775 return tag_;
4776}
4777inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier >*
4778ClubStateAssignment::mutable_tag() {
4779 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.tag)
4780 return &tag_;
4781}
4782
4783// repeated .bgs.protocol.v2.Attribute search_attribute = 14;
4784inline int ClubStateAssignment::search_attribute_size() const {
4785 return search_attribute_.size();
4786}
4787inline void ClubStateAssignment::clear_search_attribute() {
4788 search_attribute_.Clear();
4789}
4790inline const ::bgs::protocol::v2::Attribute& ClubStateAssignment::search_attribute(int index) const {
4791 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute)
4792 return search_attribute_.Get(index);
4793}
4794inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::mutable_search_attribute(int index) {
4795 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute)
4796 return search_attribute_.Mutable(index);
4797}
4798inline ::bgs::protocol::v2::Attribute* ClubStateAssignment::add_search_attribute() {
4799 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute)
4800 return search_attribute_.Add();
4801}
4802inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4803ClubStateAssignment::search_attribute() const {
4804 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute)
4805 return search_attribute_;
4806}
4807inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4808ClubStateAssignment::mutable_search_attribute() {
4809 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStateAssignment.search_attribute)
4810 return &search_attribute_;
4811}
4812
4813// optional bool tag_cleared = 15;
4814inline bool ClubStateAssignment::has_tag_cleared() const {
4815 return (_has_bits_[0] & 0x00004000u) != 0;
4816}
4817inline void ClubStateAssignment::set_has_tag_cleared() {
4818 _has_bits_[0] |= 0x00004000u;
4819}
4820inline void ClubStateAssignment::clear_has_tag_cleared() {
4821 _has_bits_[0] &= ~0x00004000u;
4822}
4823inline void ClubStateAssignment::clear_tag_cleared() {
4824 tag_cleared_ = false;
4825 clear_has_tag_cleared();
4826}
4827inline bool ClubStateAssignment::tag_cleared() const {
4828 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared)
4829 return tag_cleared_;
4830}
4831inline void ClubStateAssignment::set_tag_cleared(bool value) {
4832 set_has_tag_cleared();
4833 tag_cleared_ = value;
4834 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubStateAssignment.tag_cleared)
4835}
4836
4837// -------------------------------------------------------------------
4838
4839// StreamSettings
4840
4841// optional uint64 stream_id = 1;
4842inline bool StreamSettings::has_stream_id() const {
4843 return (_has_bits_[0] & 0x00000001u) != 0;
4844}
4845inline void StreamSettings::set_has_stream_id() {
4846 _has_bits_[0] |= 0x00000001u;
4847}
4848inline void StreamSettings::clear_has_stream_id() {
4849 _has_bits_[0] &= ~0x00000001u;
4850}
4851inline void StreamSettings::clear_stream_id() {
4852 stream_id_ = GOOGLE_ULONGLONG(0);
4853 clear_has_stream_id();
4854}
4855inline ::google::protobuf::uint64 StreamSettings::stream_id() const {
4856 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamSettings.stream_id)
4857 return stream_id_;
4858}
4859inline void StreamSettings::set_stream_id(::google::protobuf::uint64 value) {
4860 set_has_stream_id();
4861 stream_id_ = value;
4862 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.stream_id)
4863}
4864
4865// optional .bgs.protocol.club.v1.client.StreamNotificationFilter filter = 2;
4866inline bool StreamSettings::has_filter() const {
4867 return (_has_bits_[0] & 0x00000002u) != 0;
4868}
4869inline void StreamSettings::set_has_filter() {
4870 _has_bits_[0] |= 0x00000002u;
4871}
4872inline void StreamSettings::clear_has_filter() {
4873 _has_bits_[0] &= ~0x00000002u;
4874}
4875inline void StreamSettings::clear_filter() {
4876 filter_ = 0;
4877 clear_has_filter();
4878}
4879inline ::bgs::protocol::club::v1::client::StreamNotificationFilter StreamSettings::filter() const {
4880 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamSettings.filter)
4881 return static_cast< ::bgs::protocol::club::v1::client::StreamNotificationFilter >(filter_);
4882}
4883inline void StreamSettings::set_filter(::bgs::protocol::club::v1::client::StreamNotificationFilter value) {
4885 set_has_filter();
4886 filter_ = value;
4887 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamSettings.filter)
4888}
4889
4890// -------------------------------------------------------------------
4891
4892// ClubSettings
4893
4894// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1;
4895inline int ClubSettings::stream_size() const {
4896 return stream_.size();
4897}
4898inline void ClubSettings::clear_stream() {
4899 stream_.Clear();
4900}
4901inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettings::stream(int index) const {
4902 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.stream)
4903 return stream_.Get(index);
4904}
4905inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettings::mutable_stream(int index) {
4906 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettings.stream)
4907 return stream_.Mutable(index);
4908}
4909inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettings::add_stream() {
4910 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettings.stream)
4911 return stream_.Add();
4912}
4913inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >&
4914ClubSettings::stream() const {
4915 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.stream)
4916 return stream_;
4917}
4918inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >*
4919ClubSettings::mutable_stream() {
4920 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.stream)
4921 return &stream_;
4922}
4923
4924// optional bool stream_notification_filter_all = 2;
4925inline bool ClubSettings::has_stream_notification_filter_all() const {
4926 return (_has_bits_[0] & 0x00000002u) != 0;
4927}
4928inline void ClubSettings::set_has_stream_notification_filter_all() {
4929 _has_bits_[0] |= 0x00000002u;
4930}
4931inline void ClubSettings::clear_has_stream_notification_filter_all() {
4932 _has_bits_[0] &= ~0x00000002u;
4933}
4934inline void ClubSettings::clear_stream_notification_filter_all() {
4935 stream_notification_filter_all_ = false;
4936 clear_has_stream_notification_filter_all();
4937}
4938inline bool ClubSettings::stream_notification_filter_all() const {
4939 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all)
4940 return stream_notification_filter_all_;
4941}
4942inline void ClubSettings::set_stream_notification_filter_all(bool value) {
4943 set_has_stream_notification_filter_all();
4944 stream_notification_filter_all_ = value;
4945 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.stream_notification_filter_all)
4946}
4947
4948// repeated .bgs.protocol.v2.Attribute attribute = 3;
4949inline int ClubSettings::attribute_size() const {
4950 return attribute_.size();
4951}
4952inline void ClubSettings::clear_attribute() {
4953 attribute_.Clear();
4954}
4955inline const ::bgs::protocol::v2::Attribute& ClubSettings::attribute(int index) const {
4956 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.attribute)
4957 return attribute_.Get(index);
4958}
4959inline ::bgs::protocol::v2::Attribute* ClubSettings::mutable_attribute(int index) {
4960 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettings.attribute)
4961 return attribute_.Mutable(index);
4962}
4963inline ::bgs::protocol::v2::Attribute* ClubSettings::add_attribute() {
4964 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettings.attribute)
4965 return attribute_.Add();
4966}
4967inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4968ClubSettings::attribute() const {
4969 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettings.attribute)
4970 return attribute_;
4971}
4972inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4973ClubSettings::mutable_attribute() {
4974 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettings.attribute)
4975 return &attribute_;
4976}
4977
4978// optional bool push_notification_filter_all = 4;
4979inline bool ClubSettings::has_push_notification_filter_all() const {
4980 return (_has_bits_[0] & 0x00000008u) != 0;
4981}
4982inline void ClubSettings::set_has_push_notification_filter_all() {
4983 _has_bits_[0] |= 0x00000008u;
4984}
4985inline void ClubSettings::clear_has_push_notification_filter_all() {
4986 _has_bits_[0] &= ~0x00000008u;
4987}
4988inline void ClubSettings::clear_push_notification_filter_all() {
4989 push_notification_filter_all_ = false;
4990 clear_has_push_notification_filter_all();
4991}
4992inline bool ClubSettings::push_notification_filter_all() const {
4993 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all)
4994 return push_notification_filter_all_;
4995}
4996inline void ClubSettings::set_push_notification_filter_all(bool value) {
4997 set_has_push_notification_filter_all();
4998 push_notification_filter_all_ = value;
4999 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettings.push_notification_filter_all)
5000}
5001
5002// -------------------------------------------------------------------
5003
5004// ClubSettingsOptions
5005
5006// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true];
5007inline int ClubSettingsOptions::stream_size() const {
5008 return stream_.size();
5009}
5010inline void ClubSettingsOptions::clear_stream() {
5011 stream_.Clear();
5012}
5013inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettingsOptions::stream(int index) const {
5014 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.stream)
5015 return stream_.Get(index);
5016}
5017inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsOptions::mutable_stream(int index) {
5018 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsOptions.stream)
5019 return stream_.Mutable(index);
5020}
5021inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsOptions::add_stream() {
5022 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettingsOptions.stream)
5023 return stream_.Add();
5024}
5025inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >&
5026ClubSettingsOptions::stream() const {
5027 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream)
5028 return stream_;
5029}
5030inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >*
5031ClubSettingsOptions::mutable_stream() {
5032 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsOptions.stream)
5033 return &stream_;
5034}
5035
5036// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2;
5037inline bool ClubSettingsOptions::has_settings() const {
5038 return (_has_bits_[0] & 0x00000002u) != 0;
5039}
5040inline void ClubSettingsOptions::set_has_settings() {
5041 _has_bits_[0] |= 0x00000002u;
5042}
5043inline void ClubSettingsOptions::clear_has_settings() {
5044 _has_bits_[0] &= ~0x00000002u;
5045}
5046inline void ClubSettingsOptions::clear_settings() {
5047 if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear();
5048 clear_has_settings();
5049}
5050inline const ::bgs::protocol::club::v1::client::ClubSettings& ClubSettingsOptions::settings() const {
5051 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.settings)
5052 return settings_ != NULL ? *settings_ : *default_instance_->settings_;
5053}
5054inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::mutable_settings() {
5055 set_has_settings();
5056 if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings;
5057 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsOptions.settings)
5058 return settings_;
5059}
5060inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsOptions::release_settings() {
5061 clear_has_settings();
5063 settings_ = NULL;
5064 return temp;
5065}
5066inline void ClubSettingsOptions::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) {
5067 delete settings_;
5068 settings_ = settings;
5069 if (settings) {
5070 set_has_settings();
5071 } else {
5072 clear_has_settings();
5073 }
5074 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsOptions.settings)
5075}
5076
5077// optional uint32 version = 3;
5078inline bool ClubSettingsOptions::has_version() const {
5079 return (_has_bits_[0] & 0x00000004u) != 0;
5080}
5081inline void ClubSettingsOptions::set_has_version() {
5082 _has_bits_[0] |= 0x00000004u;
5083}
5084inline void ClubSettingsOptions::clear_has_version() {
5085 _has_bits_[0] &= ~0x00000004u;
5086}
5087inline void ClubSettingsOptions::clear_version() {
5088 version_ = 0u;
5089 clear_has_version();
5090}
5091inline ::google::protobuf::uint32 ClubSettingsOptions::version() const {
5092 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsOptions.version)
5093 return version_;
5094}
5095inline void ClubSettingsOptions::set_version(::google::protobuf::uint32 value) {
5096 set_has_version();
5097 version_ = value;
5098 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ClubSettingsOptions.version)
5099}
5100
5101// -------------------------------------------------------------------
5102
5103// ClubSettingsAssignment
5104
5105// repeated .bgs.protocol.club.v1.client.StreamSettings stream = 1 [deprecated = true];
5106inline int ClubSettingsAssignment::stream_size() const {
5107 return stream_.size();
5108}
5109inline void ClubSettingsAssignment::clear_stream() {
5110 stream_.Clear();
5111}
5112inline const ::bgs::protocol::club::v1::client::StreamSettings& ClubSettingsAssignment::stream(int index) const {
5113 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream)
5114 return stream_.Get(index);
5115}
5116inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsAssignment::mutable_stream(int index) {
5117 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream)
5118 return stream_.Mutable(index);
5119}
5120inline ::bgs::protocol::club::v1::client::StreamSettings* ClubSettingsAssignment::add_stream() {
5121 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream)
5122 return stream_.Add();
5123}
5124inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >&
5125ClubSettingsAssignment::stream() const {
5126 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream)
5127 return stream_;
5128}
5129inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings >*
5130ClubSettingsAssignment::mutable_stream() {
5131 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubSettingsAssignment.stream)
5132 return &stream_;
5133}
5134
5135// optional .bgs.protocol.club.v1.client.ClubSettings settings = 2;
5136inline bool ClubSettingsAssignment::has_settings() const {
5137 return (_has_bits_[0] & 0x00000002u) != 0;
5138}
5139inline void ClubSettingsAssignment::set_has_settings() {
5140 _has_bits_[0] |= 0x00000002u;
5141}
5142inline void ClubSettingsAssignment::clear_has_settings() {
5143 _has_bits_[0] &= ~0x00000002u;
5144}
5145inline void ClubSettingsAssignment::clear_settings() {
5146 if (settings_ != NULL) settings_->::bgs::protocol::club::v1::client::ClubSettings::Clear();
5147 clear_has_settings();
5148}
5149inline const ::bgs::protocol::club::v1::client::ClubSettings& ClubSettingsAssignment::settings() const {
5150 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings)
5151 return settings_ != NULL ? *settings_ : *default_instance_->settings_;
5152}
5153inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::mutable_settings() {
5154 set_has_settings();
5155 if (settings_ == NULL) settings_ = new ::bgs::protocol::club::v1::client::ClubSettings;
5156 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings)
5157 return settings_;
5158}
5159inline ::bgs::protocol::club::v1::client::ClubSettings* ClubSettingsAssignment::release_settings() {
5160 clear_has_settings();
5162 settings_ = NULL;
5163 return temp;
5164}
5165inline void ClubSettingsAssignment::set_allocated_settings(::bgs::protocol::club::v1::client::ClubSettings* settings) {
5166 delete settings_;
5167 settings_ = settings;
5168 if (settings) {
5169 set_has_settings();
5170 } else {
5171 clear_has_settings();
5172 }
5173 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ClubSettingsAssignment.settings)
5174}
5175
5176// @@protoc_insertion_point(namespace_scope)
5177
5178} // namespace client
5179} // namespace v1
5180} // namespace club
5181} // namespace protocol
5182} // namespace bgs
5183
5184#ifndef SWIG
5185namespace google {
5186namespace protobuf {
5187} // namespace google
5188} // namespace protobuf
5189#endif // SWIG
5190
5191// @@protoc_insertion_point(global_scope)
5192
5193#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fcore_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
uint32_t uint32
Definition Define.h:154
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::club::v1::client::MemberDescription * creator_
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
static const Broadcast & default_instance()
::google::protobuf::uint64 creation_time_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
Broadcast & operator=(const Broadcast &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::club::v1::client::CreateStreamOptions * stream_
static const ClubCreateOptions & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::bgs::protocol::club::v1::AvatarId * avatar_
::google::protobuf::Metadata GetMetadata() const
ClubCreateOptions(const ClubCreateOptions &from)
::bgs::protocol::club::v1::UniqueClubType * type_
::bgs::protocol::club::v1::TagOptions * tag_
::bgs::protocol::club::v1::client::CreateMemberOptions * member_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
ClubCreateOptions & operator=(const ClubCreateOptions &from)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
ClubSettingsAssignment(const ClubSettingsAssignment &from)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
ClubSettingsAssignment & operator=(const ClubSettingsAssignment &from)
static const ClubSettingsAssignment & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
ClubSettingsOptions(const ClubSettingsOptions &from)
::google::protobuf::Metadata GetMetadata() const
ClubSettingsOptions & operator=(const ClubSettingsOptions &from)
static const ClubSettingsOptions & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
static const ClubSettings & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamSettings > stream_
ClubSettings & operator=(const ClubSettings &from)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::club::v1::client::StreamPosition * stream_position_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
ClubStateAssignment(const ClubStateAssignment &from)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
::bgs::protocol::club::v1::AvatarId * avatar_
static const ClubStateAssignment & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::club::v1::client::Broadcast * broadcast_
ClubStateAssignment & operator=(const ClubStateAssignment &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
ClubStateOptions(const ClubStateOptions &from)
::bgs::protocol::club::v1::AvatarId * avatar_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::bgs::protocol::club::v1::client::SetBroadcastOptions * broadcast_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::bgs::protocol::club::v1::client::StreamPosition * stream_position_
static const ClubStateOptions & default_instance()
ClubStateOptions & operator=(const ClubStateOptions &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::club::v1::TagOptions * tag_options_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
::google::protobuf::uint64 club_id_
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
static const ClubView & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::ViewMarker * marker_
ClubView & operator=(const ClubView &from)
static const Club & default_instance()
::bgs::protocol::club::v1::client::Broadcast * broadcast_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::MemberDescription > leader_
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::bgs::protocol::club::v1::UniqueClubType * type_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > search_attribute_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
::bgs::protocol::club::v1::client::ClubRoleSet * role_set_
::google::protobuf::uint64 id_
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 member_count_
::bgs::protocol::club::v1::AvatarId * avatar_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::bgs::protocol::club::v1::client::StreamPosition * stream_position_
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Club & operator=(const Club &from)
::google::protobuf::uint64 creation_time_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::TagIdentifier > tag_
SetBroadcastOptions(const SetBroadcastOptions &from)
SetBroadcastOptions & operator=(const SetBroadcastOptions &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
static const SetBroadcastOptions & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
static const StreamSettings & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
StreamSettings(const StreamSettings &from)
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
::google::protobuf::Metadata GetMetadata() const
StreamSettings & operator=(const StreamSettings &from)
void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fcore_2eproto()
TC_PROTO_API bool StreamNotificationFilter_IsValid(int value)
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fcore_2eproto()
TC_PROTO_API bool VisibilityLevel_IsValid(int value)
TC_PROTO_API bool PrivacyLevel_IsValid(int value)
Definition Session.h:37