TrinityCore
Loading...
Searching...
No Matches
club_stream.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_stream.proto
3
4#ifndef PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_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>
31#include "embed_types.pb.h"
32#include "ets_types.pb.h"
33#include "event_view_types.pb.h"
34#include "message_types.pb.h"
35#include "Define.h" // for TC_PROTO_API
36// @@protoc_insertion_point(includes)
37
38namespace bgs {
39namespace protocol {
40namespace club {
41namespace v1 {
42namespace client {
43
44// Internal implementation detail -- do not call these.
48
49class StreamPosition;
50class StreamAccess;
52class Stream;
54class MentionContent;
57class ContentChain;
58class StreamMessage;
59class StreamMention;
60class StreamView;
62class StreamEventTime;
67
68// ===================================================================
69
70class TC_PROTO_API StreamPosition : public ::google::protobuf::Message {
71 public:
73 virtual ~StreamPosition();
74
76
78 CopyFrom(from);
79 return *this;
80 }
81
82 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
83 return _unknown_fields_;
84 }
85
86 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
87 return &_unknown_fields_;
88 }
89
90 static const ::google::protobuf::Descriptor* descriptor();
92
93 void Swap(StreamPosition* other);
94
95 // implements Message ----------------------------------------------
96
98 int GetCachedSize() const { return _cached_size_; }
99 private:
102 void SetCachedSize(int size) const;
103 public:
104 ::google::protobuf::Metadata GetMetadata() const;
105
106 // nested types ----------------------------------------------------
107
108 // accessors -------------------------------------------------------
109
110 // repeated uint64 stream_id = 1 [packed = true];
111 inline int stream_id_size() const;
112 inline void clear_stream_id();
113 static const int kStreamIdFieldNumber = 1;
114 inline ::google::protobuf::uint64 stream_id(int index) const;
115 inline void set_stream_id(int index, ::google::protobuf::uint64 value);
116 inline void add_stream_id(::google::protobuf::uint64 value);
117 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
118 stream_id() const;
119 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
120 mutable_stream_id();
121
122 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamPosition)
123 private:
124
125 ::google::protobuf::UnknownFieldSet _unknown_fields_;
126
127 ::google::protobuf::uint32 _has_bits_[1];
128 mutable int _cached_size_;
129 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_;
133
136};
137// -------------------------------------------------------------------
138
139class TC_PROTO_API StreamAccess : public ::google::protobuf::Message {
140 public:
142 virtual ~StreamAccess();
143
145
146 inline StreamAccess& operator=(const StreamAccess& from) {
147 CopyFrom(from);
148 return *this;
149 }
150
151 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
152 return _unknown_fields_;
153 }
154
155 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
156 return &_unknown_fields_;
157 }
158
159 static const ::google::protobuf::Descriptor* descriptor();
161
162 void Swap(StreamAccess* other);
163
164 // implements Message ----------------------------------------------
165
167 int GetCachedSize() const { return _cached_size_; }
168 private:
171 void SetCachedSize(int size) const;
172 public:
173 ::google::protobuf::Metadata GetMetadata() const;
174
175 // nested types ----------------------------------------------------
176
177 // accessors -------------------------------------------------------
178
179 // repeated uint32 role = 1 [packed = true];
180 inline int role_size() const;
181 inline void clear_role();
182 static const int kRoleFieldNumber = 1;
183 inline ::google::protobuf::uint32 role(int index) const;
184 inline void set_role(int index, ::google::protobuf::uint32 value);
185 inline void add_role(::google::protobuf::uint32 value);
186 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
187 role() const;
188 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
189 mutable_role();
190
191 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAccess)
192 private:
193
194 ::google::protobuf::UnknownFieldSet _unknown_fields_;
195
196 ::google::protobuf::uint32 _has_bits_[1];
197 mutable int _cached_size_;
198 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
202
205};
206// -------------------------------------------------------------------
207
208class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message {
209 public:
212
214
216 CopyFrom(from);
217 return *this;
218 }
219
220 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
221 return _unknown_fields_;
222 }
223
224 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
225 return &_unknown_fields_;
226 }
227
228 static const ::google::protobuf::Descriptor* descriptor();
230
232
233 // implements Message ----------------------------------------------
234
236 int GetCachedSize() const { return _cached_size_; }
237 private:
240 void SetCachedSize(int size) const;
241 public:
242 ::google::protobuf::Metadata GetMetadata() const;
243
244 // nested types ----------------------------------------------------
245
246 // accessors -------------------------------------------------------
247
248 // repeated .bgs.protocol.v2.Attribute attribute = 1;
249 inline int attribute_size() const;
250 inline void clear_attribute();
251 static const int kAttributeFieldNumber = 1;
252 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
253 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
254 inline ::bgs::protocol::v2::Attribute* add_attribute();
255 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
256 attribute() const;
257 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
258 mutable_attribute();
259
260 // optional string name = 2;
261 inline bool has_name() const;
262 inline void clear_name();
263 static const int kNameFieldNumber = 2;
264 inline const ::std::string& name() const;
265 inline void set_name(const ::std::string& value);
266 inline void set_name(const char* value);
267 inline void set_name(const char* value, size_t size);
268 inline ::std::string* mutable_name();
269 inline ::std::string* release_name();
270 inline void set_allocated_name(::std::string* name);
271
272 // optional string subject = 3;
273 inline bool has_subject() const;
274 inline void clear_subject();
275 static const int kSubjectFieldNumber = 3;
276 inline const ::std::string& subject() const;
277 inline void set_subject(const ::std::string& value);
278 inline void set_subject(const char* value);
279 inline void set_subject(const char* value, size_t size);
280 inline ::std::string* mutable_subject();
281 inline ::std::string* release_subject();
282 inline void set_allocated_subject(::std::string* subject);
283
284 // optional .bgs.protocol.club.v1.client.StreamAccess access = 4;
285 inline bool has_access() const;
286 inline void clear_access();
287 static const int kAccessFieldNumber = 4;
288 inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const;
289 inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access();
290 inline ::bgs::protocol::club::v1::client::StreamAccess* release_access();
291 inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access);
292
293 // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5;
294 inline bool has_voice_level() const;
295 inline void clear_voice_level();
296 static const int kVoiceLevelFieldNumber = 5;
297 inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const;
298 inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value);
299
300 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateStreamOptions)
301 private:
302 inline void set_has_name();
303 inline void clear_has_name();
304 inline void set_has_subject();
305 inline void clear_has_subject();
306 inline void set_has_access();
307 inline void clear_has_access();
308 inline void set_has_voice_level();
309 inline void clear_has_voice_level();
310
311 ::google::protobuf::UnknownFieldSet _unknown_fields_;
312
313 ::google::protobuf::uint32 _has_bits_[1];
314 mutable int _cached_size_;
315 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
316 ::std::string* name_;
317 ::std::string* subject_;
323
326};
327// -------------------------------------------------------------------
328
329class TC_PROTO_API Stream : public ::google::protobuf::Message {
330 public:
332 virtual ~Stream();
333
334 Stream(const Stream& from);
335
336 inline Stream& operator=(const Stream& from) {
337 CopyFrom(from);
338 return *this;
339 }
340
341 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
342 return _unknown_fields_;
343 }
344
345 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
346 return &_unknown_fields_;
347 }
348
349 static const ::google::protobuf::Descriptor* descriptor();
350 static const Stream& default_instance();
351
352 void Swap(Stream* other);
353
354 // implements Message ----------------------------------------------
355
356 Stream* New() const;
357 int GetCachedSize() const { return _cached_size_; }
358 private:
361 void SetCachedSize(int size) const;
362 public:
363 ::google::protobuf::Metadata GetMetadata() const;
364
365 // nested types ----------------------------------------------------
366
367 // accessors -------------------------------------------------------
368
369 // optional uint64 club_id = 1;
370 inline bool has_club_id() const;
371 inline void clear_club_id();
372 static const int kClubIdFieldNumber = 1;
373 inline ::google::protobuf::uint64 club_id() const;
374 inline void set_club_id(::google::protobuf::uint64 value);
375
376 // optional uint64 id = 2;
377 inline bool has_id() const;
378 inline void clear_id();
379 static const int kIdFieldNumber = 2;
380 inline ::google::protobuf::uint64 id() const;
381 inline void set_id(::google::protobuf::uint64 value);
382
383 // repeated .bgs.protocol.v2.Attribute attribute = 3;
384 inline int attribute_size() const;
385 inline void clear_attribute();
386 static const int kAttributeFieldNumber = 3;
387 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
388 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
389 inline ::bgs::protocol::v2::Attribute* add_attribute();
390 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
391 attribute() const;
392 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
393 mutable_attribute();
394
395 // optional string name = 4;
396 inline bool has_name() const;
397 inline void clear_name();
398 static const int kNameFieldNumber = 4;
399 inline const ::std::string& name() const;
400 inline void set_name(const ::std::string& value);
401 inline void set_name(const char* value);
402 inline void set_name(const char* value, size_t size);
403 inline ::std::string* mutable_name();
404 inline ::std::string* release_name();
405 inline void set_allocated_name(::std::string* name);
406
407 // optional string subject = 5;
408 inline bool has_subject() const;
409 inline void clear_subject();
410 static const int kSubjectFieldNumber = 5;
411 inline const ::std::string& subject() const;
412 inline void set_subject(const ::std::string& value);
413 inline void set_subject(const char* value);
414 inline void set_subject(const char* value, size_t size);
415 inline ::std::string* mutable_subject();
416 inline ::std::string* release_subject();
417 inline void set_allocated_subject(::std::string* subject);
418
419 // optional .bgs.protocol.club.v1.client.StreamAccess access = 6;
420 inline bool has_access() const;
421 inline void clear_access();
422 static const int kAccessFieldNumber = 6;
423 inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const;
424 inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access();
425 inline ::bgs::protocol::club::v1::client::StreamAccess* release_access();
426 inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access);
427
428 // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7;
429 inline bool has_voice_level() const;
430 inline void clear_voice_level();
431 static const int kVoiceLevelFieldNumber = 7;
432 inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const;
433 inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value);
434
435 // optional uint64 creation_time = 8;
436 inline bool has_creation_time() const;
437 inline void clear_creation_time();
438 static const int kCreationTimeFieldNumber = 8;
439 inline ::google::protobuf::uint64 creation_time() const;
440 inline void set_creation_time(::google::protobuf::uint64 value);
441
442 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.Stream)
443 private:
444 inline void set_has_club_id();
445 inline void clear_has_club_id();
446 inline void set_has_id();
447 inline void clear_has_id();
448 inline void set_has_name();
449 inline void clear_has_name();
450 inline void set_has_subject();
451 inline void clear_has_subject();
452 inline void set_has_access();
453 inline void clear_has_access();
454 inline void set_has_voice_level();
455 inline void clear_has_voice_level();
456 inline void set_has_creation_time();
457 inline void clear_has_creation_time();
458
459 ::google::protobuf::UnknownFieldSet _unknown_fields_;
460
461 ::google::protobuf::uint32 _has_bits_[1];
462 mutable int _cached_size_;
463 ::google::protobuf::uint64 club_id_;
464 ::google::protobuf::uint64 id_;
465 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
466 ::std::string* name_;
467 ::std::string* subject_;
469 ::google::protobuf::uint64 creation_time_;
474
477};
478// -------------------------------------------------------------------
479
480class TC_PROTO_API StreamDescription : public ::google::protobuf::Message {
481 public:
484
486
488 CopyFrom(from);
489 return *this;
490 }
491
492 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
493 return _unknown_fields_;
494 }
495
496 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
497 return &_unknown_fields_;
498 }
499
500 static const ::google::protobuf::Descriptor* descriptor();
502
504
505 // implements Message ----------------------------------------------
506
508 int GetCachedSize() const { return _cached_size_; }
509 private:
512 void SetCachedSize(int size) const;
513 public:
514 ::google::protobuf::Metadata GetMetadata() const;
515
516 // nested types ----------------------------------------------------
517
518 // accessors -------------------------------------------------------
519
520 // optional uint64 id = 2;
521 inline bool has_id() const;
522 inline void clear_id();
523 static const int kIdFieldNumber = 2;
524 inline ::google::protobuf::uint64 id() const;
525 inline void set_id(::google::protobuf::uint64 value);
526
527 // optional string name = 4;
528 inline bool has_name() const;
529 inline void clear_name();
530 static const int kNameFieldNumber = 4;
531 inline const ::std::string& name() const;
532 inline void set_name(const ::std::string& value);
533 inline void set_name(const char* value);
534 inline void set_name(const char* value, size_t size);
535 inline ::std::string* mutable_name();
536 inline ::std::string* release_name();
537 inline void set_allocated_name(::std::string* name);
538
539 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamDescription)
540 private:
541 inline void set_has_id();
542 inline void clear_has_id();
543 inline void set_has_name();
544 inline void clear_has_name();
545
546 ::google::protobuf::UnknownFieldSet _unknown_fields_;
547
548 ::google::protobuf::uint32 _has_bits_[1];
549 mutable int _cached_size_;
550 ::google::protobuf::uint64 id_;
551 ::std::string* name_;
555
558};
559// -------------------------------------------------------------------
560
561class TC_PROTO_API MentionContent : public ::google::protobuf::Message {
562 public:
565
567
569 CopyFrom(from);
570 return *this;
571 }
572
573 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
574 return _unknown_fields_;
575 }
576
577 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
578 return &_unknown_fields_;
579 }
580
581 static const ::google::protobuf::Descriptor* descriptor();
583
584 void Swap(MentionContent* other);
585
586 // implements Message ----------------------------------------------
587
589 int GetCachedSize() const { return _cached_size_; }
590 private:
593 void SetCachedSize(int size) const;
594 public:
595 ::google::protobuf::Metadata GetMetadata() const;
596
597 // nested types ----------------------------------------------------
598
599 // accessors -------------------------------------------------------
600
601 // optional bool all = 1;
602 inline bool has_all() const;
603 inline void clear_all();
604 static const int kAllFieldNumber = 1;
605 inline bool all() const;
606 inline void set_all(bool value);
607
608 // optional bool here = 2;
609 inline bool has_here() const;
610 inline void clear_here();
611 static const int kHereFieldNumber = 2;
612 inline bool here() const;
613 inline void set_here(bool value);
614
615 // repeated .bgs.protocol.club.v1.MemberId member_id = 3;
616 inline int member_id_size() const;
617 inline void clear_member_id();
618 static const int kMemberIdFieldNumber = 3;
619 inline const ::bgs::protocol::club::v1::MemberId& member_id(int index) const;
620 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(int index);
621 inline ::bgs::protocol::club::v1::MemberId* add_member_id();
622 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >&
623 member_id() const;
624 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >*
625 mutable_member_id();
626
627 // repeated uint32 role = 4 [packed = true];
628 inline int role_size() const;
629 inline void clear_role();
630 static const int kRoleFieldNumber = 4;
631 inline ::google::protobuf::uint32 role(int index) const;
632 inline void set_role(int index, ::google::protobuf::uint32 value);
633 inline void add_role(::google::protobuf::uint32 value);
634 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
635 role() const;
636 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
637 mutable_role();
638
639 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.MentionContent)
640 private:
641 inline void set_has_all();
642 inline void clear_has_all();
643 inline void set_has_here();
644 inline void clear_has_here();
645
646 ::google::protobuf::UnknownFieldSet _unknown_fields_;
647
648 ::google::protobuf::uint32 _has_bits_[1];
649 mutable int _cached_size_;
650 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_;
651 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
652 bool all_;
653 bool here_;
657
660};
661// -------------------------------------------------------------------
662
663class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message {
664 public:
667
669
671 CopyFrom(from);
672 return *this;
673 }
674
675 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
676 return _unknown_fields_;
677 }
678
679 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
680 return &_unknown_fields_;
681 }
682
683 static const ::google::protobuf::Descriptor* descriptor();
685
687
688 // implements Message ----------------------------------------------
689
691 int GetCachedSize() const { return _cached_size_; }
692 private:
695 void SetCachedSize(int size) const;
696 public:
697 ::google::protobuf::Metadata GetMetadata() const;
698
699 // nested types ----------------------------------------------------
700
701 // accessors -------------------------------------------------------
702
703 // optional string content = 2;
704 inline bool has_content() const;
705 inline void clear_content();
706 static const int kContentFieldNumber = 2;
707 inline const ::std::string& content() const;
708 inline void set_content(const ::std::string& value);
709 inline void set_content(const char* value);
710 inline void set_content(const char* value, size_t size);
711 inline ::std::string* mutable_content();
712 inline ::std::string* release_content();
713 inline void set_allocated_content(::std::string* content);
714
715 // optional .bgs.protocol.club.v1.client.MentionContent mention = 3;
716 inline bool has_mention() const;
717 inline void clear_mention();
718 static const int kMentionFieldNumber = 3;
719 inline const ::bgs::protocol::club::v1::client::MentionContent& mention() const;
720 inline ::bgs::protocol::club::v1::client::MentionContent* mutable_mention();
721 inline ::bgs::protocol::club::v1::client::MentionContent* release_mention();
722 inline void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention);
723
724 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.CreateMessageOptions)
725 private:
726 inline void set_has_content();
727 inline void clear_has_content();
728 inline void set_has_mention();
729 inline void clear_has_mention();
730
731 ::google::protobuf::UnknownFieldSet _unknown_fields_;
732
733 ::google::protobuf::uint32 _has_bits_[1];
734 mutable int _cached_size_;
735 ::std::string* content_;
740
743};
744// -------------------------------------------------------------------
745
746class TC_PROTO_API ClubStreamMessageContainer : public ::google::protobuf::Message {
747 public:
750
752
754 CopyFrom(from);
755 return *this;
756 }
757
758 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
759 return _unknown_fields_;
760 }
761
762 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
763 return &_unknown_fields_;
764 }
765
766 static const ::google::protobuf::Descriptor* descriptor();
768
770
771 // implements Message ----------------------------------------------
772
774 int GetCachedSize() const { return _cached_size_; }
775 private:
778 void SetCachedSize(int size) const;
779 public:
780 ::google::protobuf::Metadata GetMetadata() const;
781
782 // nested types ----------------------------------------------------
783
784 // accessors -------------------------------------------------------
785
786 // repeated .bgs.protocol.club.v1.client.StreamMessage message = 1;
787 inline int message_size() const;
788 inline void clear_message();
789 static const int kMessageFieldNumber = 1;
790 inline const ::bgs::protocol::club::v1::client::StreamMessage& message(int index) const;
791 inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message(int index);
792 inline ::bgs::protocol::club::v1::client::StreamMessage* add_message();
793 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >&
794 message() const;
795 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >*
796 mutable_message();
797
798 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ClubStreamMessageContainer)
799 private:
800
801 ::google::protobuf::UnknownFieldSet _unknown_fields_;
802
803 ::google::protobuf::uint32 _has_bits_[1];
804 mutable int _cached_size_;
805 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > message_;
809
812};
813// -------------------------------------------------------------------
814
815class TC_PROTO_API ContentChain : public ::google::protobuf::Message {
816 public:
818 virtual ~ContentChain();
819
821
822 inline ContentChain& operator=(const ContentChain& from) {
823 CopyFrom(from);
824 return *this;
825 }
826
827 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
828 return _unknown_fields_;
829 }
830
831 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
832 return &_unknown_fields_;
833 }
834
835 static const ::google::protobuf::Descriptor* descriptor();
837
838 void Swap(ContentChain* other);
839
840 // implements Message ----------------------------------------------
841
843 int GetCachedSize() const { return _cached_size_; }
844 private:
847 void SetCachedSize(int size) const;
848 public:
849 ::google::protobuf::Metadata GetMetadata() const;
850
851 // nested types ----------------------------------------------------
852
853 // accessors -------------------------------------------------------
854
855 // optional string content = 5;
856 inline bool has_content() const;
857 inline void clear_content();
858 static const int kContentFieldNumber = 5;
859 inline const ::std::string& content() const;
860 inline void set_content(const ::std::string& value);
861 inline void set_content(const char* value);
862 inline void set_content(const char* value, size_t size);
863 inline ::std::string* mutable_content();
864 inline ::std::string* release_content();
865 inline void set_allocated_content(::std::string* content);
866
867 // repeated .bgs.protocol.EmbedInfo embed = 6;
868 inline int embed_size() const;
869 inline void clear_embed();
870 static const int kEmbedFieldNumber = 6;
871 inline const ::bgs::protocol::EmbedInfo& embed(int index) const;
872 inline ::bgs::protocol::EmbedInfo* mutable_embed(int index);
873 inline ::bgs::protocol::EmbedInfo* add_embed();
874 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >&
875 embed() const;
876 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >*
877 mutable_embed();
878
879 // optional .bgs.protocol.club.v1.client.MentionContent mention = 7;
880 inline bool has_mention() const;
881 inline void clear_mention();
882 static const int kMentionFieldNumber = 7;
883 inline const ::bgs::protocol::club::v1::client::MentionContent& mention() const;
884 inline ::bgs::protocol::club::v1::client::MentionContent* mutable_mention();
885 inline ::bgs::protocol::club::v1::client::MentionContent* release_mention();
886 inline void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent* mention);
887
888 // optional uint64 edit_time = 8;
889 inline bool has_edit_time() const;
890 inline void clear_edit_time();
891 static const int kEditTimeFieldNumber = 8;
892 inline ::google::protobuf::uint64 edit_time() const;
893 inline void set_edit_time(::google::protobuf::uint64 value);
894
895 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.ContentChain)
896 private:
897 inline void set_has_content();
898 inline void clear_has_content();
899 inline void set_has_mention();
900 inline void clear_has_mention();
901 inline void set_has_edit_time();
902 inline void clear_has_edit_time();
903
904 ::google::protobuf::UnknownFieldSet _unknown_fields_;
905
906 ::google::protobuf::uint32 _has_bits_[1];
907 mutable int _cached_size_;
908 ::std::string* content_;
909 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_;
911 ::google::protobuf::uint64 edit_time_;
915
918};
919// -------------------------------------------------------------------
920
921class TC_PROTO_API StreamMessage : public ::google::protobuf::Message {
922 public:
924 virtual ~StreamMessage();
925
927
928 inline StreamMessage& operator=(const StreamMessage& from) {
929 CopyFrom(from);
930 return *this;
931 }
932
933 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
934 return _unknown_fields_;
935 }
936
937 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
938 return &_unknown_fields_;
939 }
940
941 static const ::google::protobuf::Descriptor* descriptor();
943
944 void Swap(StreamMessage* other);
945
946 // implements Message ----------------------------------------------
947
949 int GetCachedSize() const { return _cached_size_; }
950 private:
953 void SetCachedSize(int size) const;
954 public:
955 ::google::protobuf::Metadata GetMetadata() const;
956
957 // nested types ----------------------------------------------------
958
959 // accessors -------------------------------------------------------
960
961 // optional .bgs.protocol.MessageId id = 3;
962 inline bool has_id() const;
963 inline void clear_id();
964 static const int kIdFieldNumber = 3;
965 inline const ::bgs::protocol::MessageId& id() const;
966 inline ::bgs::protocol::MessageId* mutable_id();
967 inline ::bgs::protocol::MessageId* release_id();
968 inline void set_allocated_id(::bgs::protocol::MessageId* id);
969
970 // optional .bgs.protocol.club.v1.client.MemberDescription author = 4;
971 inline bool has_author() const;
972 inline void clear_author();
973 static const int kAuthorFieldNumber = 4;
974 inline const ::bgs::protocol::club::v1::client::MemberDescription& author() const;
975 inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_author();
976 inline ::bgs::protocol::club::v1::client::MemberDescription* release_author();
977 inline void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author);
978
979 // repeated .bgs.protocol.club.v1.client.ContentChain content_chain = 6;
980 inline int content_chain_size() const;
981 inline void clear_content_chain();
982 static const int kContentChainFieldNumber = 6;
983 inline const ::bgs::protocol::club::v1::client::ContentChain& content_chain(int index) const;
984 inline ::bgs::protocol::club::v1::client::ContentChain* mutable_content_chain(int index);
985 inline ::bgs::protocol::club::v1::client::ContentChain* add_content_chain();
986 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >&
987 content_chain() const;
988 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >*
989 mutable_content_chain();
990
991 // optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15;
992 inline bool has_destroyer() const;
993 inline void clear_destroyer();
994 static const int kDestroyerFieldNumber = 15;
995 inline const ::bgs::protocol::club::v1::client::MemberDescription& destroyer() const;
996 inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_destroyer();
997 inline ::bgs::protocol::club::v1::client::MemberDescription* release_destroyer();
998 inline void set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription* destroyer);
999
1000 // optional bool destroyed = 16;
1001 inline bool has_destroyed() const;
1002 inline void clear_destroyed();
1003 static const int kDestroyedFieldNumber = 16;
1004 inline bool destroyed() const;
1005 inline void set_destroyed(bool value);
1006
1007 // optional uint64 destroy_time = 17;
1008 inline bool has_destroy_time() const;
1009 inline void clear_destroy_time();
1010 static const int kDestroyTimeFieldNumber = 17;
1011 inline ::google::protobuf::uint64 destroy_time() const;
1012 inline void set_destroy_time(::google::protobuf::uint64 value);
1013
1014 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMessage)
1015 private:
1016 inline void set_has_id();
1017 inline void clear_has_id();
1018 inline void set_has_author();
1019 inline void clear_has_author();
1020 inline void set_has_destroyer();
1021 inline void clear_has_destroyer();
1022 inline void set_has_destroyed();
1023 inline void clear_has_destroyed();
1024 inline void set_has_destroy_time();
1025 inline void clear_has_destroy_time();
1026
1027 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1028
1029 ::google::protobuf::uint32 _has_bits_[1];
1030 mutable int _cached_size_;
1033 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain > content_chain_;
1035 ::google::protobuf::uint64 destroy_time_;
1040
1043};
1044// -------------------------------------------------------------------
1045
1046class TC_PROTO_API StreamMention : public ::google::protobuf::Message {
1047 public:
1050
1052
1054 CopyFrom(from);
1055 return *this;
1056 }
1057
1058 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1059 return _unknown_fields_;
1060 }
1061
1062 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1063 return &_unknown_fields_;
1064 }
1065
1066 static const ::google::protobuf::Descriptor* descriptor();
1068
1069 void Swap(StreamMention* other);
1070
1071 // implements Message ----------------------------------------------
1072
1074 int GetCachedSize() const { return _cached_size_; }
1075 private:
1078 void SetCachedSize(int size) const;
1079 public:
1080 ::google::protobuf::Metadata GetMetadata() const;
1081
1082 // nested types ----------------------------------------------------
1083
1084 // accessors -------------------------------------------------------
1085
1086 // optional uint64 club_id = 1;
1087 inline bool has_club_id() const;
1088 inline void clear_club_id();
1089 static const int kClubIdFieldNumber = 1;
1090 inline ::google::protobuf::uint64 club_id() const;
1091 inline void set_club_id(::google::protobuf::uint64 value);
1092
1093 // optional uint64 stream_id = 2;
1094 inline bool has_stream_id() const;
1095 inline void clear_stream_id();
1096 static const int kStreamIdFieldNumber = 2;
1097 inline ::google::protobuf::uint64 stream_id() const;
1098 inline void set_stream_id(::google::protobuf::uint64 value);
1099
1100 // optional .bgs.protocol.MessageId message_id = 3;
1101 inline bool has_message_id() const;
1102 inline void clear_message_id();
1103 static const int kMessageIdFieldNumber = 3;
1104 inline const ::bgs::protocol::MessageId& message_id() const;
1105 inline ::bgs::protocol::MessageId* mutable_message_id();
1106 inline ::bgs::protocol::MessageId* release_message_id();
1107 inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id);
1108
1109 // optional .bgs.protocol.club.v1.client.MemberDescription author = 4;
1110 inline bool has_author() const;
1111 inline void clear_author();
1112 static const int kAuthorFieldNumber = 4;
1113 inline const ::bgs::protocol::club::v1::client::MemberDescription& author() const;
1114 inline ::bgs::protocol::club::v1::client::MemberDescription* mutable_author();
1115 inline ::bgs::protocol::club::v1::client::MemberDescription* release_author();
1116 inline void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription* author);
1117
1118 // optional bool destroyed = 5;
1119 inline bool has_destroyed() const;
1120 inline void clear_destroyed();
1121 static const int kDestroyedFieldNumber = 5;
1122 inline bool destroyed() const;
1123 inline void set_destroyed(bool value);
1124
1125 // optional .bgs.protocol.TimeSeriesId mention_id = 6;
1126 inline bool has_mention_id() const;
1127 inline void clear_mention_id();
1128 static const int kMentionIdFieldNumber = 6;
1129 inline const ::bgs::protocol::TimeSeriesId& mention_id() const;
1130 inline ::bgs::protocol::TimeSeriesId* mutable_mention_id();
1131 inline ::bgs::protocol::TimeSeriesId* release_mention_id();
1132 inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id);
1133
1134 // optional .bgs.protocol.club.v1.MemberId member_id = 7;
1135 inline bool has_member_id() const;
1136 inline void clear_member_id();
1137 static const int kMemberIdFieldNumber = 7;
1138 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
1139 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
1140 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
1141 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
1142
1143 // optional .bgs.protocol.club.v1.client.StreamMessage message = 8;
1144 inline bool has_message() const;
1145 inline void clear_message();
1146 static const int kMessageFieldNumber = 8;
1147 inline const ::bgs::protocol::club::v1::client::StreamMessage& message() const;
1148 inline ::bgs::protocol::club::v1::client::StreamMessage* mutable_message();
1149 inline ::bgs::protocol::club::v1::client::StreamMessage* release_message();
1150 inline void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage* message);
1151
1152 // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9;
1153 inline bool has_club_type() const;
1154 inline void clear_club_type();
1155 static const int kClubTypeFieldNumber = 9;
1156 inline const ::bgs::protocol::club::v1::UniqueClubType& club_type() const;
1157 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_type();
1158 inline ::bgs::protocol::club::v1::UniqueClubType* release_club_type();
1159 inline void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type);
1160
1161 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMention)
1162 private:
1163 inline void set_has_club_id();
1164 inline void clear_has_club_id();
1165 inline void set_has_stream_id();
1166 inline void clear_has_stream_id();
1167 inline void set_has_message_id();
1168 inline void clear_has_message_id();
1169 inline void set_has_author();
1170 inline void clear_has_author();
1171 inline void set_has_destroyed();
1172 inline void clear_has_destroyed();
1173 inline void set_has_mention_id();
1174 inline void clear_has_mention_id();
1175 inline void set_has_member_id();
1176 inline void clear_has_member_id();
1177 inline void set_has_message();
1178 inline void clear_has_message();
1179 inline void set_has_club_type();
1180 inline void clear_has_club_type();
1181
1182 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1183
1184 ::google::protobuf::uint32 _has_bits_[1];
1185 mutable int _cached_size_;
1186 ::google::protobuf::uint64 club_id_;
1187 ::google::protobuf::uint64 stream_id_;
1198
1201};
1202// -------------------------------------------------------------------
1203
1204class TC_PROTO_API StreamView : public ::google::protobuf::Message {
1205 public:
1207 virtual ~StreamView();
1208
1210
1211 inline StreamView& operator=(const StreamView& from) {
1212 CopyFrom(from);
1213 return *this;
1214 }
1215
1216 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1217 return _unknown_fields_;
1218 }
1219
1220 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1221 return &_unknown_fields_;
1222 }
1223
1224 static const ::google::protobuf::Descriptor* descriptor();
1226
1227 void Swap(StreamView* other);
1228
1229 // implements Message ----------------------------------------------
1230
1231 StreamView* New() const;
1232 int GetCachedSize() const { return _cached_size_; }
1233 private:
1236 void SetCachedSize(int size) const;
1237 public:
1238 ::google::protobuf::Metadata GetMetadata() const;
1239
1240 // nested types ----------------------------------------------------
1241
1242 // accessors -------------------------------------------------------
1243
1244 // optional uint64 club_id = 1;
1245 inline bool has_club_id() const;
1246 inline void clear_club_id();
1247 static const int kClubIdFieldNumber = 1;
1248 inline ::google::protobuf::uint64 club_id() const;
1249 inline void set_club_id(::google::protobuf::uint64 value);
1250
1251 // optional uint64 stream_id = 2;
1252 inline bool has_stream_id() const;
1253 inline void clear_stream_id();
1254 static const int kStreamIdFieldNumber = 2;
1255 inline ::google::protobuf::uint64 stream_id() const;
1256 inline void set_stream_id(::google::protobuf::uint64 value);
1257
1258 // optional .bgs.protocol.ViewMarker marker = 3;
1259 inline bool has_marker() const;
1260 inline void clear_marker();
1261 static const int kMarkerFieldNumber = 3;
1262 inline const ::bgs::protocol::ViewMarker& marker() const;
1263 inline ::bgs::protocol::ViewMarker* mutable_marker();
1264 inline ::bgs::protocol::ViewMarker* release_marker();
1265 inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker);
1266
1267 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamView)
1268 private:
1269 inline void set_has_club_id();
1270 inline void clear_has_club_id();
1271 inline void set_has_stream_id();
1272 inline void clear_has_stream_id();
1273 inline void set_has_marker();
1274 inline void clear_has_marker();
1275
1276 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1277
1278 ::google::protobuf::uint32 _has_bits_[1];
1279 mutable int _cached_size_;
1280 ::google::protobuf::uint64 club_id_;
1281 ::google::protobuf::uint64 stream_id_;
1286
1289};
1290// -------------------------------------------------------------------
1291
1292class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message {
1293 public:
1296
1298
1300 CopyFrom(from);
1301 return *this;
1302 }
1303
1304 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1305 return _unknown_fields_;
1306 }
1307
1308 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1309 return &_unknown_fields_;
1310 }
1311
1312 static const ::google::protobuf::Descriptor* descriptor();
1314
1316
1317 // implements Message ----------------------------------------------
1318
1320 int GetCachedSize() const { return _cached_size_; }
1321 private:
1324 void SetCachedSize(int size) const;
1325 public:
1326 ::google::protobuf::Metadata GetMetadata() const;
1327
1328 // nested types ----------------------------------------------------
1329
1330 // accessors -------------------------------------------------------
1331
1332 // optional uint64 stream_id = 1;
1333 inline bool has_stream_id() const;
1334 inline void clear_stream_id();
1335 static const int kStreamIdFieldNumber = 1;
1336 inline ::google::protobuf::uint64 stream_id() const;
1337 inline void set_stream_id(::google::protobuf::uint64 value);
1338
1339 // optional uint64 view_time = 2;
1340 inline bool has_view_time() const;
1341 inline void clear_view_time();
1342 static const int kViewTimeFieldNumber = 2;
1343 inline ::google::protobuf::uint64 view_time() const;
1344 inline void set_view_time(::google::protobuf::uint64 value);
1345
1346 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamAdvanceViewTime)
1347 private:
1348 inline void set_has_stream_id();
1349 inline void clear_has_stream_id();
1350 inline void set_has_view_time();
1351 inline void clear_has_view_time();
1352
1353 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1354
1355 ::google::protobuf::uint32 _has_bits_[1];
1356 mutable int _cached_size_;
1357 ::google::protobuf::uint64 stream_id_;
1358 ::google::protobuf::uint64 view_time_;
1362
1365};
1366// -------------------------------------------------------------------
1367
1368class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message {
1369 public:
1372
1374
1376 CopyFrom(from);
1377 return *this;
1378 }
1379
1380 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1381 return _unknown_fields_;
1382 }
1383
1384 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1385 return &_unknown_fields_;
1386 }
1387
1388 static const ::google::protobuf::Descriptor* descriptor();
1390
1391 void Swap(StreamEventTime* other);
1392
1393 // implements Message ----------------------------------------------
1394
1396 int GetCachedSize() const { return _cached_size_; }
1397 private:
1400 void SetCachedSize(int size) const;
1401 public:
1402 ::google::protobuf::Metadata GetMetadata() const;
1403
1404 // nested types ----------------------------------------------------
1405
1406 // accessors -------------------------------------------------------
1407
1408 // optional uint64 stream_id = 1;
1409 inline bool has_stream_id() const;
1410 inline void clear_stream_id();
1411 static const int kStreamIdFieldNumber = 1;
1412 inline ::google::protobuf::uint64 stream_id() const;
1413 inline void set_stream_id(::google::protobuf::uint64 value);
1414
1415 // optional uint64 event_time = 2;
1416 inline bool has_event_time() const;
1417 inline void clear_event_time();
1418 static const int kEventTimeFieldNumber = 2;
1419 inline ::google::protobuf::uint64 event_time() const;
1420 inline void set_event_time(::google::protobuf::uint64 value);
1421
1422 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamEventTime)
1423 private:
1424 inline void set_has_stream_id();
1425 inline void clear_has_stream_id();
1426 inline void set_has_event_time();
1427 inline void clear_has_event_time();
1428
1429 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1430
1431 ::google::protobuf::uint32 _has_bits_[1];
1432 mutable int _cached_size_;
1433 ::google::protobuf::uint64 stream_id_;
1434 ::google::protobuf::uint64 event_time_;
1438
1441};
1442// -------------------------------------------------------------------
1443
1444class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message {
1445 public:
1448
1450
1452 CopyFrom(from);
1453 return *this;
1454 }
1455
1456 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1457 return _unknown_fields_;
1458 }
1459
1460 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1461 return &_unknown_fields_;
1462 }
1463
1464 static const ::google::protobuf::Descriptor* descriptor();
1466
1468
1469 // implements Message ----------------------------------------------
1470
1472 int GetCachedSize() const { return _cached_size_; }
1473 private:
1476 void SetCachedSize(int size) const;
1477 public:
1478 ::google::protobuf::Metadata GetMetadata() const;
1479
1480 // nested types ----------------------------------------------------
1481
1482 // accessors -------------------------------------------------------
1483
1484 // optional uint64 club_id = 1;
1485 inline bool has_club_id() const;
1486 inline void clear_club_id();
1487 static const int kClubIdFieldNumber = 1;
1488 inline ::google::protobuf::uint64 club_id() const;
1489 inline void set_club_id(::google::protobuf::uint64 value);
1490
1491 // optional uint64 stream_id = 2;
1492 inline bool has_stream_id() const;
1493 inline void clear_stream_id();
1494 static const int kStreamIdFieldNumber = 2;
1495 inline ::google::protobuf::uint64 stream_id() const;
1496 inline void set_stream_id(::google::protobuf::uint64 value);
1497
1498 // optional .bgs.protocol.ViewMarker marker = 3;
1499 inline bool has_marker() const;
1500 inline void clear_marker();
1501 static const int kMarkerFieldNumber = 3;
1502 inline const ::bgs::protocol::ViewMarker& marker() const;
1503 inline ::bgs::protocol::ViewMarker* mutable_marker();
1504 inline ::bgs::protocol::ViewMarker* release_marker();
1505 inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker);
1506
1507 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamMentionView)
1508 private:
1509 inline void set_has_club_id();
1510 inline void clear_has_club_id();
1511 inline void set_has_stream_id();
1512 inline void clear_has_stream_id();
1513 inline void set_has_marker();
1514 inline void clear_has_marker();
1515
1516 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1517
1518 ::google::protobuf::uint32 _has_bits_[1];
1519 mutable int _cached_size_;
1520 ::google::protobuf::uint64 club_id_;
1521 ::google::protobuf::uint64 stream_id_;
1526
1529};
1530// -------------------------------------------------------------------
1531
1532class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message {
1533 public:
1536
1538
1540 CopyFrom(from);
1541 return *this;
1542 }
1543
1544 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1545 return _unknown_fields_;
1546 }
1547
1548 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1549 return &_unknown_fields_;
1550 }
1551
1552 static const ::google::protobuf::Descriptor* descriptor();
1554
1556
1557 // implements Message ----------------------------------------------
1558
1560 int GetCachedSize() const { return _cached_size_; }
1561 private:
1564 void SetCachedSize(int size) const;
1565 public:
1566 ::google::protobuf::Metadata GetMetadata() const;
1567
1568 // nested types ----------------------------------------------------
1569
1570 // accessors -------------------------------------------------------
1571
1572 // repeated .bgs.protocol.v2.Attribute attribute = 1;
1573 inline int attribute_size() const;
1574 inline void clear_attribute();
1575 static const int kAttributeFieldNumber = 1;
1576 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1577 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1578 inline ::bgs::protocol::v2::Attribute* add_attribute();
1579 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1580 attribute() const;
1581 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1582 mutable_attribute();
1583
1584 // optional string name = 2;
1585 inline bool has_name() const;
1586 inline void clear_name();
1587 static const int kNameFieldNumber = 2;
1588 inline const ::std::string& name() const;
1589 inline void set_name(const ::std::string& value);
1590 inline void set_name(const char* value);
1591 inline void set_name(const char* value, size_t size);
1592 inline ::std::string* mutable_name();
1593 inline ::std::string* release_name();
1594 inline void set_allocated_name(::std::string* name);
1595
1596 // optional string subject = 3;
1597 inline bool has_subject() const;
1598 inline void clear_subject();
1599 static const int kSubjectFieldNumber = 3;
1600 inline const ::std::string& subject() const;
1601 inline void set_subject(const ::std::string& value);
1602 inline void set_subject(const char* value);
1603 inline void set_subject(const char* value, size_t size);
1604 inline ::std::string* mutable_subject();
1605 inline ::std::string* release_subject();
1606 inline void set_allocated_subject(::std::string* subject);
1607
1608 // optional .bgs.protocol.club.v1.client.StreamAccess access = 4;
1609 inline bool has_access() const;
1610 inline void clear_access();
1611 static const int kAccessFieldNumber = 4;
1612 inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const;
1613 inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access();
1614 inline ::bgs::protocol::club::v1::client::StreamAccess* release_access();
1615 inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access);
1616
1617 // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5;
1618 inline bool has_voice_level() const;
1619 inline void clear_voice_level();
1620 static const int kVoiceLevelFieldNumber = 5;
1621 inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const;
1622 inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value);
1623
1624 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateOptions)
1625 private:
1626 inline void set_has_name();
1627 inline void clear_has_name();
1628 inline void set_has_subject();
1629 inline void clear_has_subject();
1630 inline void set_has_access();
1631 inline void clear_has_access();
1632 inline void set_has_voice_level();
1633 inline void clear_has_voice_level();
1634
1635 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1636
1637 ::google::protobuf::uint32 _has_bits_[1];
1638 mutable int _cached_size_;
1639 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1640 ::std::string* name_;
1641 ::std::string* subject_;
1647
1650};
1651// -------------------------------------------------------------------
1652
1653class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message {
1654 public:
1657
1659
1661 CopyFrom(from);
1662 return *this;
1663 }
1664
1665 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1666 return _unknown_fields_;
1667 }
1668
1669 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1670 return &_unknown_fields_;
1671 }
1672
1673 static const ::google::protobuf::Descriptor* descriptor();
1675
1677
1678 // implements Message ----------------------------------------------
1679
1681 int GetCachedSize() const { return _cached_size_; }
1682 private:
1685 void SetCachedSize(int size) const;
1686 public:
1687 ::google::protobuf::Metadata GetMetadata() const;
1688
1689 // nested types ----------------------------------------------------
1690
1691 // accessors -------------------------------------------------------
1692
1693 // optional uint64 stream_id = 1;
1694 inline bool has_stream_id() const;
1695 inline void clear_stream_id();
1696 static const int kStreamIdFieldNumber = 1;
1697 inline ::google::protobuf::uint64 stream_id() const;
1698 inline void set_stream_id(::google::protobuf::uint64 value);
1699
1700 // repeated .bgs.protocol.v2.Attribute attribute = 2;
1701 inline int attribute_size() const;
1702 inline void clear_attribute();
1703 static const int kAttributeFieldNumber = 2;
1704 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1705 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1706 inline ::bgs::protocol::v2::Attribute* add_attribute();
1707 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1708 attribute() const;
1709 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1710 mutable_attribute();
1711
1712 // optional string name = 3;
1713 inline bool has_name() const;
1714 inline void clear_name();
1715 static const int kNameFieldNumber = 3;
1716 inline const ::std::string& name() const;
1717 inline void set_name(const ::std::string& value);
1718 inline void set_name(const char* value);
1719 inline void set_name(const char* value, size_t size);
1720 inline ::std::string* mutable_name();
1721 inline ::std::string* release_name();
1722 inline void set_allocated_name(::std::string* name);
1723
1724 // optional string subject = 4;
1725 inline bool has_subject() const;
1726 inline void clear_subject();
1727 static const int kSubjectFieldNumber = 4;
1728 inline const ::std::string& subject() const;
1729 inline void set_subject(const ::std::string& value);
1730 inline void set_subject(const char* value);
1731 inline void set_subject(const char* value, size_t size);
1732 inline ::std::string* mutable_subject();
1733 inline ::std::string* release_subject();
1734 inline void set_allocated_subject(::std::string* subject);
1735
1736 // optional .bgs.protocol.club.v1.client.StreamAccess access = 5;
1737 inline bool has_access() const;
1738 inline void clear_access();
1739 static const int kAccessFieldNumber = 5;
1740 inline const ::bgs::protocol::club::v1::client::StreamAccess& access() const;
1741 inline ::bgs::protocol::club::v1::client::StreamAccess* mutable_access();
1742 inline ::bgs::protocol::club::v1::client::StreamAccess* release_access();
1743 inline void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess* access);
1744
1745 // optional bool stream_subscription_removed = 6;
1746 inline bool has_stream_subscription_removed() const;
1747 inline void clear_stream_subscription_removed();
1748 static const int kStreamSubscriptionRemovedFieldNumber = 6;
1749 inline bool stream_subscription_removed() const;
1750 inline void set_stream_subscription_removed(bool value);
1751
1752 // optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7;
1753 inline bool has_voice_level() const;
1754 inline void clear_voice_level();
1755 static const int kVoiceLevelFieldNumber = 7;
1756 inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const;
1757 inline void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value);
1758
1759 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamStateAssignment)
1760 private:
1761 inline void set_has_stream_id();
1762 inline void clear_has_stream_id();
1763 inline void set_has_name();
1764 inline void clear_has_name();
1765 inline void set_has_subject();
1766 inline void clear_has_subject();
1767 inline void set_has_access();
1768 inline void clear_has_access();
1769 inline void set_has_stream_subscription_removed();
1770 inline void clear_has_stream_subscription_removed();
1771 inline void set_has_voice_level();
1772 inline void clear_has_voice_level();
1773
1774 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1775
1776 ::google::protobuf::uint32 _has_bits_[1];
1777 mutable int _cached_size_;
1778 ::google::protobuf::uint64 stream_id_;
1779 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1780 ::std::string* name_;
1781 ::std::string* subject_;
1788
1791};
1792// -------------------------------------------------------------------
1793
1794class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message {
1795 public:
1798
1800
1802 CopyFrom(from);
1803 return *this;
1804 }
1805
1806 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1807 return _unknown_fields_;
1808 }
1809
1810 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1811 return &_unknown_fields_;
1812 }
1813
1814 static const ::google::protobuf::Descriptor* descriptor();
1816
1818
1819 // implements Message ----------------------------------------------
1820
1822 int GetCachedSize() const { return _cached_size_; }
1823 private:
1826 void SetCachedSize(int size) const;
1827 public:
1828 ::google::protobuf::Metadata GetMetadata() const;
1829
1830 // nested types ----------------------------------------------------
1831
1832 // accessors -------------------------------------------------------
1833
1834 // optional .bgs.protocol.club.v1.MemberId author_id = 1;
1835 inline bool has_author_id() const;
1836 inline void clear_author_id();
1837 static const int kAuthorIdFieldNumber = 1;
1838 inline const ::bgs::protocol::club::v1::MemberId& author_id() const;
1839 inline ::bgs::protocol::club::v1::MemberId* mutable_author_id();
1840 inline ::bgs::protocol::club::v1::MemberId* release_author_id();
1841 inline void set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id);
1842
1843 // optional .bgs.protocol.TypingIndicator indicator = 2;
1844 inline bool has_indicator() const;
1845 inline void clear_indicator();
1846 static const int kIndicatorFieldNumber = 2;
1847 inline ::bgs::protocol::TypingIndicator indicator() const;
1848 inline void set_indicator(::bgs::protocol::TypingIndicator value);
1849
1850 // optional uint64 epoch = 3;
1851 inline bool has_epoch() const;
1852 inline void clear_epoch();
1853 static const int kEpochFieldNumber = 3;
1854 inline ::google::protobuf::uint64 epoch() const;
1855 inline void set_epoch(::google::protobuf::uint64 value);
1856
1857 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.client.StreamTypingIndicator)
1858 private:
1859 inline void set_has_author_id();
1860 inline void clear_has_author_id();
1861 inline void set_has_indicator();
1862 inline void clear_has_indicator();
1863 inline void set_has_epoch();
1864 inline void clear_has_epoch();
1865
1866 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1867
1868 ::google::protobuf::uint32 _has_bits_[1];
1869 mutable int _cached_size_;
1871 ::google::protobuf::uint64 epoch_;
1876
1879};
1880// ===================================================================
1881
1882// ===================================================================
1883
1884// ===================================================================
1885
1886// StreamPosition
1887
1888// repeated uint64 stream_id = 1 [packed = true];
1890 return stream_id_.size();
1891}
1893 stream_id_.Clear();
1894}
1895inline ::google::protobuf::uint64 StreamPosition::stream_id(int index) const {
1896 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamPosition.stream_id)
1897 return stream_id_.Get(index);
1898}
1899inline void StreamPosition::set_stream_id(int index, ::google::protobuf::uint64 value) {
1900 stream_id_.Set(index, value);
1901 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamPosition.stream_id)
1902}
1903inline void StreamPosition::add_stream_id(::google::protobuf::uint64 value) {
1904 stream_id_.Add(value);
1905 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamPosition.stream_id)
1906}
1907inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1909 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamPosition.stream_id)
1910 return stream_id_;
1911}
1912inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1914 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamPosition.stream_id)
1915 return &stream_id_;
1916}
1917
1918// -------------------------------------------------------------------
1919
1920// StreamAccess
1921
1922// repeated uint32 role = 1 [packed = true];
1923inline int StreamAccess::role_size() const {
1924 return role_.size();
1925}
1927 role_.Clear();
1928}
1929inline ::google::protobuf::uint32 StreamAccess::role(int index) const {
1930 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAccess.role)
1931 return role_.Get(index);
1932}
1933inline void StreamAccess::set_role(int index, ::google::protobuf::uint32 value) {
1934 role_.Set(index, value);
1935 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAccess.role)
1936}
1937inline void StreamAccess::add_role(::google::protobuf::uint32 value) {
1938 role_.Add(value);
1939 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamAccess.role)
1940}
1941inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1943 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamAccess.role)
1944 return role_;
1945}
1946inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1948 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamAccess.role)
1949 return &role_;
1950}
1951
1952// -------------------------------------------------------------------
1953
1954// CreateStreamOptions
1955
1956// repeated .bgs.protocol.v2.Attribute attribute = 1;
1958 return attribute_.size();
1959}
1961 attribute_.Clear();
1962}
1963inline const ::bgs::protocol::v2::Attribute& CreateStreamOptions::attribute(int index) const {
1964 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.attribute)
1965 return attribute_.Get(index);
1966}
1967inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::mutable_attribute(int index) {
1968 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.attribute)
1969 return attribute_.Mutable(index);
1970}
1971inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::add_attribute() {
1972 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.CreateStreamOptions.attribute)
1973 return attribute_.Add();
1974}
1975inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1977 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute)
1978 return attribute_;
1979}
1980inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1982 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.CreateStreamOptions.attribute)
1983 return &attribute_;
1984}
1985
1986// optional string name = 2;
1988 return (_has_bits_[0] & 0x00000002u) != 0;
1989}
1991 _has_bits_[0] |= 0x00000002u;
1992}
1994 _has_bits_[0] &= ~0x00000002u;
1995}
1997 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1998 name_->clear();
1999 }
2001}
2002inline const ::std::string& CreateStreamOptions::name() const {
2003 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.name)
2004 return *name_;
2005}
2006inline void CreateStreamOptions::set_name(const ::std::string& value) {
2007 set_has_name();
2008 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2009 name_ = new ::std::string;
2010 }
2011 name_->assign(value);
2012 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.name)
2013}
2014inline void CreateStreamOptions::set_name(const char* value) {
2015 set_has_name();
2016 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2017 name_ = new ::std::string;
2018 }
2019 name_->assign(value);
2020 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateStreamOptions.name)
2021}
2022inline void CreateStreamOptions::set_name(const char* value, size_t size) {
2023 set_has_name();
2024 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2025 name_ = new ::std::string;
2026 }
2027 name_->assign(reinterpret_cast<const char*>(value), size);
2028 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateStreamOptions.name)
2029}
2030inline ::std::string* CreateStreamOptions::mutable_name() {
2031 set_has_name();
2032 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2033 name_ = new ::std::string;
2034 }
2035 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.name)
2036 return name_;
2037}
2038inline ::std::string* CreateStreamOptions::release_name() {
2040 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2041 return NULL;
2042 } else {
2043 ::std::string* temp = name_;
2044 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2045 return temp;
2046 }
2047}
2048inline void CreateStreamOptions::set_allocated_name(::std::string* name) {
2049 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2050 delete name_;
2051 }
2052 if (name) {
2053 set_has_name();
2054 name_ = name;
2055 } else {
2057 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2058 }
2059 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.name)
2060}
2061
2062// optional string subject = 3;
2064 return (_has_bits_[0] & 0x00000004u) != 0;
2065}
2067 _has_bits_[0] |= 0x00000004u;
2068}
2070 _has_bits_[0] &= ~0x00000004u;
2071}
2073 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2074 subject_->clear();
2075 }
2077}
2078inline const ::std::string& CreateStreamOptions::subject() const {
2079 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.subject)
2080 return *subject_;
2081}
2082inline void CreateStreamOptions::set_subject(const ::std::string& value) {
2084 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2085 subject_ = new ::std::string;
2086 }
2087 subject_->assign(value);
2088 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.subject)
2089}
2090inline void CreateStreamOptions::set_subject(const char* value) {
2092 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2093 subject_ = new ::std::string;
2094 }
2095 subject_->assign(value);
2096 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateStreamOptions.subject)
2097}
2098inline void CreateStreamOptions::set_subject(const char* value, size_t size) {
2100 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2101 subject_ = new ::std::string;
2102 }
2103 subject_->assign(reinterpret_cast<const char*>(value), size);
2104 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateStreamOptions.subject)
2105}
2108 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2109 subject_ = new ::std::string;
2110 }
2111 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.subject)
2112 return subject_;
2113}
2116 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2117 return NULL;
2118 } else {
2119 ::std::string* temp = subject_;
2120 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2121 return temp;
2122 }
2123}
2124inline void CreateStreamOptions::set_allocated_subject(::std::string* subject) {
2125 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2126 delete subject_;
2127 }
2128 if (subject) {
2130 subject_ = subject;
2131 } else {
2133 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2134 }
2135 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.subject)
2136}
2137
2138// optional .bgs.protocol.club.v1.client.StreamAccess access = 4;
2140 return (_has_bits_[0] & 0x00000008u) != 0;
2141}
2143 _has_bits_[0] |= 0x00000008u;
2144}
2146 _has_bits_[0] &= ~0x00000008u;
2147}
2149 if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear();
2151}
2152inline const ::bgs::protocol::club::v1::client::StreamAccess& CreateStreamOptions::access() const {
2153 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.access)
2154 return access_ != NULL ? *access_ : *default_instance_->access_;
2155}
2156inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::mutable_access() {
2158 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess;
2159 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateStreamOptions.access)
2160 return access_;
2161}
2162inline ::bgs::protocol::club::v1::client::StreamAccess* CreateStreamOptions::release_access() {
2165 access_ = NULL;
2166 return temp;
2167}
2169 delete access_;
2170 access_ = access;
2171 if (access) {
2173 } else {
2175 }
2176 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateStreamOptions.access)
2177}
2178
2179// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5;
2181 return (_has_bits_[0] & 0x00000010u) != 0;
2182}
2184 _has_bits_[0] |= 0x00000010u;
2185}
2187 _has_bits_[0] &= ~0x00000010u;
2188}
2193inline ::bgs::protocol::club::v1::client::StreamVoiceLevel CreateStreamOptions::voice_level() const {
2194 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level)
2196}
2200 voice_level_ = value;
2201 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateStreamOptions.voice_level)
2202}
2203
2204// -------------------------------------------------------------------
2205
2206// Stream
2207
2208// optional uint64 club_id = 1;
2209inline bool Stream::has_club_id() const {
2210 return (_has_bits_[0] & 0x00000001u) != 0;
2211}
2213 _has_bits_[0] |= 0x00000001u;
2214}
2216 _has_bits_[0] &= ~0x00000001u;
2217}
2219 club_id_ = GOOGLE_ULONGLONG(0);
2221}
2222inline ::google::protobuf::uint64 Stream::club_id() const {
2223 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.club_id)
2224 return club_id_;
2225}
2226inline void Stream::set_club_id(::google::protobuf::uint64 value) {
2228 club_id_ = value;
2229 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.club_id)
2230}
2231
2232// optional uint64 id = 2;
2233inline bool Stream::has_id() const {
2234 return (_has_bits_[0] & 0x00000002u) != 0;
2235}
2236inline void Stream::set_has_id() {
2237 _has_bits_[0] |= 0x00000002u;
2238}
2240 _has_bits_[0] &= ~0x00000002u;
2241}
2242inline void Stream::clear_id() {
2243 id_ = GOOGLE_ULONGLONG(0);
2244 clear_has_id();
2245}
2246inline ::google::protobuf::uint64 Stream::id() const {
2247 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.id)
2248 return id_;
2249}
2250inline void Stream::set_id(::google::protobuf::uint64 value) {
2251 set_has_id();
2252 id_ = value;
2253 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.id)
2254}
2255
2256// repeated .bgs.protocol.v2.Attribute attribute = 3;
2257inline int Stream::attribute_size() const {
2258 return attribute_.size();
2259}
2261 attribute_.Clear();
2262}
2263inline const ::bgs::protocol::v2::Attribute& Stream::attribute(int index) const {
2264 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.attribute)
2265 return attribute_.Get(index);
2266}
2267inline ::bgs::protocol::v2::Attribute* Stream::mutable_attribute(int index) {
2268 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.attribute)
2269 return attribute_.Mutable(index);
2270}
2271inline ::bgs::protocol::v2::Attribute* Stream::add_attribute() {
2272 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.Stream.attribute)
2273 return attribute_.Add();
2274}
2275inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2277 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.Stream.attribute)
2278 return attribute_;
2279}
2280inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2282 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.Stream.attribute)
2283 return &attribute_;
2284}
2285
2286// optional string name = 4;
2287inline bool Stream::has_name() const {
2288 return (_has_bits_[0] & 0x00000008u) != 0;
2289}
2291 _has_bits_[0] |= 0x00000008u;
2292}
2294 _has_bits_[0] &= ~0x00000008u;
2295}
2296inline void Stream::clear_name() {
2297 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2298 name_->clear();
2299 }
2301}
2302inline const ::std::string& Stream::name() const {
2303 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.name)
2304 return *name_;
2305}
2306inline void Stream::set_name(const ::std::string& value) {
2307 set_has_name();
2308 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2309 name_ = new ::std::string;
2310 }
2311 name_->assign(value);
2312 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.name)
2313}
2314inline void Stream::set_name(const char* value) {
2315 set_has_name();
2316 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2317 name_ = new ::std::string;
2318 }
2319 name_->assign(value);
2320 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Stream.name)
2321}
2322inline void Stream::set_name(const char* value, size_t size) {
2323 set_has_name();
2324 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2325 name_ = new ::std::string;
2326 }
2327 name_->assign(reinterpret_cast<const char*>(value), size);
2328 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Stream.name)
2329}
2330inline ::std::string* Stream::mutable_name() {
2331 set_has_name();
2332 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2333 name_ = new ::std::string;
2334 }
2335 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.name)
2336 return name_;
2337}
2338inline ::std::string* Stream::release_name() {
2340 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2341 return NULL;
2342 } else {
2343 ::std::string* temp = name_;
2344 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2345 return temp;
2346 }
2347}
2348inline void Stream::set_allocated_name(::std::string* name) {
2349 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2350 delete name_;
2351 }
2352 if (name) {
2353 set_has_name();
2354 name_ = name;
2355 } else {
2357 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2358 }
2359 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.name)
2360}
2361
2362// optional string subject = 5;
2363inline bool Stream::has_subject() const {
2364 return (_has_bits_[0] & 0x00000010u) != 0;
2365}
2367 _has_bits_[0] |= 0x00000010u;
2368}
2370 _has_bits_[0] &= ~0x00000010u;
2371}
2373 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2374 subject_->clear();
2375 }
2377}
2378inline const ::std::string& Stream::subject() const {
2379 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.subject)
2380 return *subject_;
2381}
2382inline void Stream::set_subject(const ::std::string& value) {
2384 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2385 subject_ = new ::std::string;
2386 }
2387 subject_->assign(value);
2388 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.subject)
2389}
2390inline void Stream::set_subject(const char* value) {
2392 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2393 subject_ = new ::std::string;
2394 }
2395 subject_->assign(value);
2396 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.Stream.subject)
2397}
2398inline void Stream::set_subject(const char* value, size_t size) {
2400 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2401 subject_ = new ::std::string;
2402 }
2403 subject_->assign(reinterpret_cast<const char*>(value), size);
2404 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.Stream.subject)
2405}
2406inline ::std::string* Stream::mutable_subject() {
2408 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2409 subject_ = new ::std::string;
2410 }
2411 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.subject)
2412 return subject_;
2413}
2414inline ::std::string* Stream::release_subject() {
2416 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2417 return NULL;
2418 } else {
2419 ::std::string* temp = subject_;
2420 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2421 return temp;
2422 }
2423}
2424inline void Stream::set_allocated_subject(::std::string* subject) {
2425 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2426 delete subject_;
2427 }
2428 if (subject) {
2430 subject_ = subject;
2431 } else {
2433 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2434 }
2435 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.subject)
2436}
2437
2438// optional .bgs.protocol.club.v1.client.StreamAccess access = 6;
2439inline bool Stream::has_access() const {
2440 return (_has_bits_[0] & 0x00000020u) != 0;
2441}
2443 _has_bits_[0] |= 0x00000020u;
2444}
2446 _has_bits_[0] &= ~0x00000020u;
2447}
2449 if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear();
2451}
2452inline const ::bgs::protocol::club::v1::client::StreamAccess& Stream::access() const {
2453 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.access)
2454 return access_ != NULL ? *access_ : *default_instance_->access_;
2455}
2456inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::mutable_access() {
2458 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess;
2459 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.Stream.access)
2460 return access_;
2461}
2462inline ::bgs::protocol::club::v1::client::StreamAccess* Stream::release_access() {
2465 access_ = NULL;
2466 return temp;
2467}
2469 delete access_;
2470 access_ = access;
2471 if (access) {
2473 } else {
2475 }
2476 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.Stream.access)
2477}
2478
2479// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7;
2480inline bool Stream::has_voice_level() const {
2481 return (_has_bits_[0] & 0x00000040u) != 0;
2482}
2484 _has_bits_[0] |= 0x00000040u;
2485}
2487 _has_bits_[0] &= ~0x00000040u;
2488}
2490 voice_level_ = 0;
2492}
2493inline ::bgs::protocol::club::v1::client::StreamVoiceLevel Stream::voice_level() const {
2494 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.voice_level)
2496}
2500 voice_level_ = value;
2501 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.voice_level)
2502}
2503
2504// optional uint64 creation_time = 8;
2505inline bool Stream::has_creation_time() const {
2506 return (_has_bits_[0] & 0x00000080u) != 0;
2507}
2509 _has_bits_[0] |= 0x00000080u;
2510}
2512 _has_bits_[0] &= ~0x00000080u;
2513}
2515 creation_time_ = GOOGLE_ULONGLONG(0);
2517}
2518inline ::google::protobuf::uint64 Stream::creation_time() const {
2519 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.Stream.creation_time)
2520 return creation_time_;
2521}
2522inline void Stream::set_creation_time(::google::protobuf::uint64 value) {
2524 creation_time_ = value;
2525 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.Stream.creation_time)
2526}
2527
2528// -------------------------------------------------------------------
2529
2530// StreamDescription
2531
2532// optional uint64 id = 2;
2533inline bool StreamDescription::has_id() const {
2534 return (_has_bits_[0] & 0x00000001u) != 0;
2535}
2537 _has_bits_[0] |= 0x00000001u;
2538}
2540 _has_bits_[0] &= ~0x00000001u;
2541}
2543 id_ = GOOGLE_ULONGLONG(0);
2544 clear_has_id();
2545}
2546inline ::google::protobuf::uint64 StreamDescription::id() const {
2547 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.id)
2548 return id_;
2549}
2550inline void StreamDescription::set_id(::google::protobuf::uint64 value) {
2551 set_has_id();
2552 id_ = value;
2553 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.id)
2554}
2555
2556// optional string name = 4;
2557inline bool StreamDescription::has_name() const {
2558 return (_has_bits_[0] & 0x00000002u) != 0;
2559}
2561 _has_bits_[0] |= 0x00000002u;
2562}
2564 _has_bits_[0] &= ~0x00000002u;
2565}
2567 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2568 name_->clear();
2569 }
2571}
2572inline const ::std::string& StreamDescription::name() const {
2573 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamDescription.name)
2574 return *name_;
2575}
2576inline void StreamDescription::set_name(const ::std::string& value) {
2577 set_has_name();
2578 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2579 name_ = new ::std::string;
2580 }
2581 name_->assign(value);
2582 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamDescription.name)
2583}
2584inline void StreamDescription::set_name(const char* value) {
2585 set_has_name();
2586 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2587 name_ = new ::std::string;
2588 }
2589 name_->assign(value);
2590 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamDescription.name)
2591}
2592inline void StreamDescription::set_name(const char* value, size_t size) {
2593 set_has_name();
2594 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2595 name_ = new ::std::string;
2596 }
2597 name_->assign(reinterpret_cast<const char*>(value), size);
2598 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamDescription.name)
2599}
2600inline ::std::string* StreamDescription::mutable_name() {
2601 set_has_name();
2602 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2603 name_ = new ::std::string;
2604 }
2605 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamDescription.name)
2606 return name_;
2607}
2608inline ::std::string* StreamDescription::release_name() {
2610 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2611 return NULL;
2612 } else {
2613 ::std::string* temp = name_;
2614 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2615 return temp;
2616 }
2617}
2618inline void StreamDescription::set_allocated_name(::std::string* name) {
2619 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2620 delete name_;
2621 }
2622 if (name) {
2623 set_has_name();
2624 name_ = name;
2625 } else {
2627 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2628 }
2629 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamDescription.name)
2630}
2631
2632// -------------------------------------------------------------------
2633
2634// MentionContent
2635
2636// optional bool all = 1;
2637inline bool MentionContent::has_all() const {
2638 return (_has_bits_[0] & 0x00000001u) != 0;
2639}
2641 _has_bits_[0] |= 0x00000001u;
2642}
2644 _has_bits_[0] &= ~0x00000001u;
2645}
2647 all_ = false;
2648 clear_has_all();
2649}
2650inline bool MentionContent::all() const {
2651 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.all)
2652 return all_;
2653}
2654inline void MentionContent::set_all(bool value) {
2655 set_has_all();
2656 all_ = value;
2657 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.all)
2658}
2659
2660// optional bool here = 2;
2661inline bool MentionContent::has_here() const {
2662 return (_has_bits_[0] & 0x00000002u) != 0;
2663}
2665 _has_bits_[0] |= 0x00000002u;
2666}
2668 _has_bits_[0] &= ~0x00000002u;
2669}
2671 here_ = false;
2673}
2674inline bool MentionContent::here() const {
2675 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.here)
2676 return here_;
2677}
2678inline void MentionContent::set_here(bool value) {
2679 set_has_here();
2680 here_ = value;
2681 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.here)
2682}
2683
2684// repeated .bgs.protocol.club.v1.MemberId member_id = 3;
2686 return member_id_.size();
2687}
2689 member_id_.Clear();
2690}
2691inline const ::bgs::protocol::club::v1::MemberId& MentionContent::member_id(int index) const {
2692 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.member_id)
2693 return member_id_.Get(index);
2694}
2695inline ::bgs::protocol::club::v1::MemberId* MentionContent::mutable_member_id(int index) {
2696 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.MentionContent.member_id)
2697 return member_id_.Mutable(index);
2698}
2699inline ::bgs::protocol::club::v1::MemberId* MentionContent::add_member_id() {
2700 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MentionContent.member_id)
2701 return member_id_.Add();
2702}
2703inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >&
2705 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MentionContent.member_id)
2706 return member_id_;
2707}
2708inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >*
2710 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.member_id)
2711 return &member_id_;
2712}
2713
2714// repeated uint32 role = 4 [packed = true];
2715inline int MentionContent::role_size() const {
2716 return role_.size();
2717}
2719 role_.Clear();
2720}
2721inline ::google::protobuf::uint32 MentionContent::role(int index) const {
2722 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.MentionContent.role)
2723 return role_.Get(index);
2724}
2725inline void MentionContent::set_role(int index, ::google::protobuf::uint32 value) {
2726 role_.Set(index, value);
2727 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.MentionContent.role)
2728}
2729inline void MentionContent::add_role(::google::protobuf::uint32 value) {
2730 role_.Add(value);
2731 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.MentionContent.role)
2732}
2733inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2735 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.MentionContent.role)
2736 return role_;
2737}
2738inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2740 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.MentionContent.role)
2741 return &role_;
2742}
2743
2744// -------------------------------------------------------------------
2745
2746// CreateMessageOptions
2747
2748// optional string content = 2;
2750 return (_has_bits_[0] & 0x00000001u) != 0;
2751}
2753 _has_bits_[0] |= 0x00000001u;
2754}
2756 _has_bits_[0] &= ~0x00000001u;
2757}
2759 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2760 content_->clear();
2761 }
2763}
2764inline const ::std::string& CreateMessageOptions::content() const {
2765 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.content)
2766 return *content_;
2767}
2768inline void CreateMessageOptions::set_content(const ::std::string& value) {
2770 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2771 content_ = new ::std::string;
2772 }
2773 content_->assign(value);
2774 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.CreateMessageOptions.content)
2775}
2776inline void CreateMessageOptions::set_content(const char* value) {
2778 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2779 content_ = new ::std::string;
2780 }
2781 content_->assign(value);
2782 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.CreateMessageOptions.content)
2783}
2784inline void CreateMessageOptions::set_content(const char* value, size_t size) {
2786 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2787 content_ = new ::std::string;
2788 }
2789 content_->assign(reinterpret_cast<const char*>(value), size);
2790 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.CreateMessageOptions.content)
2791}
2794 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2795 content_ = new ::std::string;
2796 }
2797 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.content)
2798 return content_;
2799}
2802 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2803 return NULL;
2804 } else {
2805 ::std::string* temp = content_;
2806 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2807 return temp;
2808 }
2809}
2810inline void CreateMessageOptions::set_allocated_content(::std::string* content) {
2811 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2812 delete content_;
2813 }
2814 if (content) {
2816 content_ = content;
2817 } else {
2819 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2820 }
2821 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.content)
2822}
2823
2824// optional .bgs.protocol.club.v1.client.MentionContent mention = 3;
2826 return (_has_bits_[0] & 0x00000002u) != 0;
2827}
2829 _has_bits_[0] |= 0x00000002u;
2830}
2832 _has_bits_[0] &= ~0x00000002u;
2833}
2835 if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::MentionContent::Clear();
2837}
2838inline const ::bgs::protocol::club::v1::client::MentionContent& CreateMessageOptions::mention() const {
2839 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.CreateMessageOptions.mention)
2840 return mention_ != NULL ? *mention_ : *default_instance_->mention_;
2841}
2842inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::mutable_mention() {
2844 if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::MentionContent;
2845 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.CreateMessageOptions.mention)
2846 return mention_;
2847}
2848inline ::bgs::protocol::club::v1::client::MentionContent* CreateMessageOptions::release_mention() {
2851 mention_ = NULL;
2852 return temp;
2853}
2855 delete mention_;
2856 mention_ = mention;
2857 if (mention) {
2859 } else {
2861 }
2862 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.CreateMessageOptions.mention)
2863}
2864
2865// -------------------------------------------------------------------
2866
2867// ClubStreamMessageContainer
2868
2869// repeated .bgs.protocol.club.v1.client.StreamMessage message = 1;
2871 return message_.size();
2872}
2874 message_.Clear();
2875}
2876inline const ::bgs::protocol::club::v1::client::StreamMessage& ClubStreamMessageContainer::message(int index) const {
2877 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message)
2878 return message_.Get(index);
2879}
2880inline ::bgs::protocol::club::v1::client::StreamMessage* ClubStreamMessageContainer::mutable_message(int index) {
2881 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message)
2882 return message_.Mutable(index);
2883}
2884inline ::bgs::protocol::club::v1::client::StreamMessage* ClubStreamMessageContainer::add_message() {
2885 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message)
2886 return message_.Add();
2887}
2888inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >&
2890 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message)
2891 return message_;
2892}
2893inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage >*
2895 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ClubStreamMessageContainer.message)
2896 return &message_;
2897}
2898
2899// -------------------------------------------------------------------
2900
2901// ContentChain
2902
2903// optional string content = 5;
2904inline bool ContentChain::has_content() const {
2905 return (_has_bits_[0] & 0x00000001u) != 0;
2906}
2908 _has_bits_[0] |= 0x00000001u;
2909}
2911 _has_bits_[0] &= ~0x00000001u;
2912}
2914 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2915 content_->clear();
2916 }
2918}
2919inline const ::std::string& ContentChain::content() const {
2920 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.content)
2921 return *content_;
2922}
2923inline void ContentChain::set_content(const ::std::string& value) {
2925 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2926 content_ = new ::std::string;
2927 }
2928 content_->assign(value);
2929 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.content)
2930}
2931inline void ContentChain::set_content(const char* value) {
2933 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2934 content_ = new ::std::string;
2935 }
2936 content_->assign(value);
2937 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.ContentChain.content)
2938}
2939inline void ContentChain::set_content(const char* value, size_t size) {
2941 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2942 content_ = new ::std::string;
2943 }
2944 content_->assign(reinterpret_cast<const char*>(value), size);
2945 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.ContentChain.content)
2946}
2947inline ::std::string* ContentChain::mutable_content() {
2949 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2950 content_ = new ::std::string;
2951 }
2952 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.content)
2953 return content_;
2954}
2955inline ::std::string* ContentChain::release_content() {
2957 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2958 return NULL;
2959 } else {
2960 ::std::string* temp = content_;
2961 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2962 return temp;
2963 }
2964}
2965inline void ContentChain::set_allocated_content(::std::string* content) {
2966 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2967 delete content_;
2968 }
2969 if (content) {
2971 content_ = content;
2972 } else {
2974 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2975 }
2976 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.content)
2977}
2978
2979// repeated .bgs.protocol.EmbedInfo embed = 6;
2980inline int ContentChain::embed_size() const {
2981 return embed_.size();
2982}
2984 embed_.Clear();
2985}
2986inline const ::bgs::protocol::EmbedInfo& ContentChain::embed(int index) const {
2987 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.embed)
2988 return embed_.Get(index);
2989}
2990inline ::bgs::protocol::EmbedInfo* ContentChain::mutable_embed(int index) {
2991 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.embed)
2992 return embed_.Mutable(index);
2993}
2994inline ::bgs::protocol::EmbedInfo* ContentChain::add_embed() {
2995 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.ContentChain.embed)
2996 return embed_.Add();
2997}
2998inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >&
3000 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.ContentChain.embed)
3001 return embed_;
3002}
3003inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >*
3005 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.ContentChain.embed)
3006 return &embed_;
3007}
3008
3009// optional .bgs.protocol.club.v1.client.MentionContent mention = 7;
3010inline bool ContentChain::has_mention() const {
3011 return (_has_bits_[0] & 0x00000004u) != 0;
3012}
3014 _has_bits_[0] |= 0x00000004u;
3015}
3017 _has_bits_[0] &= ~0x00000004u;
3018}
3020 if (mention_ != NULL) mention_->::bgs::protocol::club::v1::client::MentionContent::Clear();
3022}
3023inline const ::bgs::protocol::club::v1::client::MentionContent& ContentChain::mention() const {
3024 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.mention)
3025 return mention_ != NULL ? *mention_ : *default_instance_->mention_;
3026}
3027inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::mutable_mention() {
3029 if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::client::MentionContent;
3030 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.ContentChain.mention)
3031 return mention_;
3032}
3033inline ::bgs::protocol::club::v1::client::MentionContent* ContentChain::release_mention() {
3036 mention_ = NULL;
3037 return temp;
3038}
3040 delete mention_;
3041 mention_ = mention;
3042 if (mention) {
3044 } else {
3046 }
3047 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.ContentChain.mention)
3048}
3049
3050// optional uint64 edit_time = 8;
3051inline bool ContentChain::has_edit_time() const {
3052 return (_has_bits_[0] & 0x00000008u) != 0;
3053}
3055 _has_bits_[0] |= 0x00000008u;
3056}
3058 _has_bits_[0] &= ~0x00000008u;
3059}
3061 edit_time_ = GOOGLE_ULONGLONG(0);
3063}
3064inline ::google::protobuf::uint64 ContentChain::edit_time() const {
3065 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.ContentChain.edit_time)
3066 return edit_time_;
3067}
3068inline void ContentChain::set_edit_time(::google::protobuf::uint64 value) {
3070 edit_time_ = value;
3071 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.ContentChain.edit_time)
3072}
3073
3074// -------------------------------------------------------------------
3075
3076// StreamMessage
3077
3078// optional .bgs.protocol.MessageId id = 3;
3079inline bool StreamMessage::has_id() const {
3080 return (_has_bits_[0] & 0x00000001u) != 0;
3081}
3083 _has_bits_[0] |= 0x00000001u;
3084}
3086 _has_bits_[0] &= ~0x00000001u;
3087}
3089 if (id_ != NULL) id_->::bgs::protocol::MessageId::Clear();
3090 clear_has_id();
3091}
3092inline const ::bgs::protocol::MessageId& StreamMessage::id() const {
3093 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.id)
3094 return id_ != NULL ? *id_ : *default_instance_->id_;
3095}
3096inline ::bgs::protocol::MessageId* StreamMessage::mutable_id() {
3097 set_has_id();
3098 if (id_ == NULL) id_ = new ::bgs::protocol::MessageId;
3099 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.id)
3100 return id_;
3101}
3102inline ::bgs::protocol::MessageId* StreamMessage::release_id() {
3103 clear_has_id();
3105 id_ = NULL;
3106 return temp;
3107}
3109 delete id_;
3110 id_ = id;
3111 if (id) {
3112 set_has_id();
3113 } else {
3114 clear_has_id();
3115 }
3116 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.id)
3117}
3118
3119// optional .bgs.protocol.club.v1.client.MemberDescription author = 4;
3120inline bool StreamMessage::has_author() const {
3121 return (_has_bits_[0] & 0x00000002u) != 0;
3122}
3124 _has_bits_[0] |= 0x00000002u;
3125}
3127 _has_bits_[0] &= ~0x00000002u;
3128}
3130 if (author_ != NULL) author_->::bgs::protocol::club::v1::client::MemberDescription::Clear();
3132}
3133inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMessage::author() const {
3134 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.author)
3135 return author_ != NULL ? *author_ : *default_instance_->author_;
3136}
3137inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::mutable_author() {
3139 if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::client::MemberDescription;
3140 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.author)
3141 return author_;
3142}
3143inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_author() {
3146 author_ = NULL;
3147 return temp;
3148}
3150 delete author_;
3151 author_ = author;
3152 if (author) {
3154 } else {
3156 }
3157 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.author)
3158}
3159
3160// repeated .bgs.protocol.club.v1.client.ContentChain content_chain = 6;
3162 return content_chain_.size();
3163}
3165 content_chain_.Clear();
3166}
3167inline const ::bgs::protocol::club::v1::client::ContentChain& StreamMessage::content_chain(int index) const {
3168 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.content_chain)
3169 return content_chain_.Get(index);
3170}
3171inline ::bgs::protocol::club::v1::client::ContentChain* StreamMessage::mutable_content_chain(int index) {
3172 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.content_chain)
3173 return content_chain_.Mutable(index);
3174}
3175inline ::bgs::protocol::club::v1::client::ContentChain* StreamMessage::add_content_chain() {
3176 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamMessage.content_chain)
3177 return content_chain_.Add();
3178}
3179inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >&
3181 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamMessage.content_chain)
3182 return content_chain_;
3183}
3184inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain >*
3186 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamMessage.content_chain)
3187 return &content_chain_;
3188}
3189
3190// optional .bgs.protocol.club.v1.client.MemberDescription destroyer = 15;
3191inline bool StreamMessage::has_destroyer() const {
3192 return (_has_bits_[0] & 0x00000008u) != 0;
3193}
3195 _has_bits_[0] |= 0x00000008u;
3196}
3198 _has_bits_[0] &= ~0x00000008u;
3199}
3201 if (destroyer_ != NULL) destroyer_->::bgs::protocol::club::v1::client::MemberDescription::Clear();
3203}
3204inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMessage::destroyer() const {
3205 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroyer)
3206 return destroyer_ != NULL ? *destroyer_ : *default_instance_->destroyer_;
3207}
3208inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::mutable_destroyer() {
3210 if (destroyer_ == NULL) destroyer_ = new ::bgs::protocol::club::v1::client::MemberDescription;
3211 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMessage.destroyer)
3212 return destroyer_;
3213}
3214inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMessage::release_destroyer() {
3217 destroyer_ = NULL;
3218 return temp;
3219}
3221 delete destroyer_;
3223 if (destroyer) {
3225 } else {
3227 }
3228 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMessage.destroyer)
3229}
3230
3231// optional bool destroyed = 16;
3232inline bool StreamMessage::has_destroyed() const {
3233 return (_has_bits_[0] & 0x00000010u) != 0;
3234}
3236 _has_bits_[0] |= 0x00000010u;
3237}
3239 _has_bits_[0] &= ~0x00000010u;
3240}
3242 destroyed_ = false;
3244}
3245inline bool StreamMessage::destroyed() const {
3246 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroyed)
3247 return destroyed_;
3248}
3249inline void StreamMessage::set_destroyed(bool value) {
3251 destroyed_ = value;
3252 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroyed)
3253}
3254
3255// optional uint64 destroy_time = 17;
3257 return (_has_bits_[0] & 0x00000020u) != 0;
3258}
3260 _has_bits_[0] |= 0x00000020u;
3261}
3263 _has_bits_[0] &= ~0x00000020u;
3264}
3266 destroy_time_ = GOOGLE_ULONGLONG(0);
3268}
3269inline ::google::protobuf::uint64 StreamMessage::destroy_time() const {
3270 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMessage.destroy_time)
3271 return destroy_time_;
3272}
3273inline void StreamMessage::set_destroy_time(::google::protobuf::uint64 value) {
3275 destroy_time_ = value;
3276 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMessage.destroy_time)
3277}
3278
3279// -------------------------------------------------------------------
3280
3281// StreamMention
3282
3283// optional uint64 club_id = 1;
3284inline bool StreamMention::has_club_id() const {
3285 return (_has_bits_[0] & 0x00000001u) != 0;
3286}
3288 _has_bits_[0] |= 0x00000001u;
3289}
3291 _has_bits_[0] &= ~0x00000001u;
3292}
3294 club_id_ = GOOGLE_ULONGLONG(0);
3296}
3297inline ::google::protobuf::uint64 StreamMention::club_id() const {
3298 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.club_id)
3299 return club_id_;
3300}
3301inline void StreamMention::set_club_id(::google::protobuf::uint64 value) {
3303 club_id_ = value;
3304 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.club_id)
3305}
3306
3307// optional uint64 stream_id = 2;
3308inline bool StreamMention::has_stream_id() const {
3309 return (_has_bits_[0] & 0x00000002u) != 0;
3310}
3312 _has_bits_[0] |= 0x00000002u;
3313}
3315 _has_bits_[0] &= ~0x00000002u;
3316}
3318 stream_id_ = GOOGLE_ULONGLONG(0);
3320}
3321inline ::google::protobuf::uint64 StreamMention::stream_id() const {
3322 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.stream_id)
3323 return stream_id_;
3324}
3325inline void StreamMention::set_stream_id(::google::protobuf::uint64 value) {
3327 stream_id_ = value;
3328 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.stream_id)
3329}
3330
3331// optional .bgs.protocol.MessageId message_id = 3;
3333 return (_has_bits_[0] & 0x00000004u) != 0;
3334}
3336 _has_bits_[0] |= 0x00000004u;
3337}
3339 _has_bits_[0] &= ~0x00000004u;
3340}
3342 if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear();
3344}
3345inline const ::bgs::protocol::MessageId& StreamMention::message_id() const {
3346 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.message_id)
3348}
3349inline ::bgs::protocol::MessageId* StreamMention::mutable_message_id() {
3351 if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId;
3352 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message_id)
3353 return message_id_;
3354}
3355inline ::bgs::protocol::MessageId* StreamMention::release_message_id() {
3358 message_id_ = NULL;
3359 return temp;
3360}
3362 delete message_id_;
3364 if (message_id) {
3366 } else {
3368 }
3369 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message_id)
3370}
3371
3372// optional .bgs.protocol.club.v1.client.MemberDescription author = 4;
3373inline bool StreamMention::has_author() const {
3374 return (_has_bits_[0] & 0x00000008u) != 0;
3375}
3377 _has_bits_[0] |= 0x00000008u;
3378}
3380 _has_bits_[0] &= ~0x00000008u;
3381}
3383 if (author_ != NULL) author_->::bgs::protocol::club::v1::client::MemberDescription::Clear();
3385}
3386inline const ::bgs::protocol::club::v1::client::MemberDescription& StreamMention::author() const {
3387 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.author)
3388 return author_ != NULL ? *author_ : *default_instance_->author_;
3389}
3390inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::mutable_author() {
3392 if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::client::MemberDescription;
3393 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.author)
3394 return author_;
3395}
3396inline ::bgs::protocol::club::v1::client::MemberDescription* StreamMention::release_author() {
3399 author_ = NULL;
3400 return temp;
3401}
3403 delete author_;
3404 author_ = author;
3405 if (author) {
3407 } else {
3409 }
3410 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.author)
3411}
3412
3413// optional bool destroyed = 5;
3414inline bool StreamMention::has_destroyed() const {
3415 return (_has_bits_[0] & 0x00000010u) != 0;
3416}
3418 _has_bits_[0] |= 0x00000010u;
3419}
3421 _has_bits_[0] &= ~0x00000010u;
3422}
3424 destroyed_ = false;
3426}
3427inline bool StreamMention::destroyed() const {
3428 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.destroyed)
3429 return destroyed_;
3430}
3431inline void StreamMention::set_destroyed(bool value) {
3433 destroyed_ = value;
3434 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMention.destroyed)
3435}
3436
3437// optional .bgs.protocol.TimeSeriesId mention_id = 6;
3439 return (_has_bits_[0] & 0x00000020u) != 0;
3440}
3442 _has_bits_[0] |= 0x00000020u;
3443}
3445 _has_bits_[0] &= ~0x00000020u;
3446}
3448 if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear();
3450}
3451inline const ::bgs::protocol::TimeSeriesId& StreamMention::mention_id() const {
3452 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.mention_id)
3454}
3455inline ::bgs::protocol::TimeSeriesId* StreamMention::mutable_mention_id() {
3457 if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId;
3458 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.mention_id)
3459 return mention_id_;
3460}
3461inline ::bgs::protocol::TimeSeriesId* StreamMention::release_mention_id() {
3464 mention_id_ = NULL;
3465 return temp;
3466}
3468 delete mention_id_;
3470 if (mention_id) {
3472 } else {
3474 }
3475 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.mention_id)
3476}
3477
3478// optional .bgs.protocol.club.v1.MemberId member_id = 7;
3479inline bool StreamMention::has_member_id() const {
3480 return (_has_bits_[0] & 0x00000040u) != 0;
3481}
3483 _has_bits_[0] |= 0x00000040u;
3484}
3486 _has_bits_[0] &= ~0x00000040u;
3487}
3489 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
3491}
3492inline const ::bgs::protocol::club::v1::MemberId& StreamMention::member_id() const {
3493 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.member_id)
3494 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
3495}
3496inline ::bgs::protocol::club::v1::MemberId* StreamMention::mutable_member_id() {
3498 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
3499 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.member_id)
3500 return member_id_;
3501}
3502inline ::bgs::protocol::club::v1::MemberId* StreamMention::release_member_id() {
3505 member_id_ = NULL;
3506 return temp;
3507}
3509 delete member_id_;
3511 if (member_id) {
3513 } else {
3515 }
3516 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.member_id)
3517}
3518
3519// optional .bgs.protocol.club.v1.client.StreamMessage message = 8;
3520inline bool StreamMention::has_message() const {
3521 return (_has_bits_[0] & 0x00000080u) != 0;
3522}
3524 _has_bits_[0] |= 0x00000080u;
3525}
3527 _has_bits_[0] &= ~0x00000080u;
3528}
3530 if (message_ != NULL) message_->::bgs::protocol::club::v1::client::StreamMessage::Clear();
3532}
3533inline const ::bgs::protocol::club::v1::client::StreamMessage& StreamMention::message() const {
3534 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.message)
3535 return message_ != NULL ? *message_ : *default_instance_->message_;
3536}
3537inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::mutable_message() {
3539 if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::client::StreamMessage;
3540 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.message)
3541 return message_;
3542}
3543inline ::bgs::protocol::club::v1::client::StreamMessage* StreamMention::release_message() {
3546 message_ = NULL;
3547 return temp;
3548}
3550 delete message_;
3551 message_ = message;
3552 if (message) {
3554 } else {
3556 }
3557 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.message)
3558}
3559
3560// optional .bgs.protocol.club.v1.UniqueClubType club_type = 9;
3561inline bool StreamMention::has_club_type() const {
3562 return (_has_bits_[0] & 0x00000100u) != 0;
3563}
3565 _has_bits_[0] |= 0x00000100u;
3566}
3568 _has_bits_[0] &= ~0x00000100u;
3569}
3571 if (club_type_ != NULL) club_type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
3573}
3574inline const ::bgs::protocol::club::v1::UniqueClubType& StreamMention::club_type() const {
3575 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMention.club_type)
3576 return club_type_ != NULL ? *club_type_ : *default_instance_->club_type_;
3577}
3578inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::mutable_club_type() {
3580 if (club_type_ == NULL) club_type_ = new ::bgs::protocol::club::v1::UniqueClubType;
3581 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMention.club_type)
3582 return club_type_;
3583}
3584inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::release_club_type() {
3587 club_type_ = NULL;
3588 return temp;
3589}
3591 delete club_type_;
3593 if (club_type) {
3595 } else {
3597 }
3598 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMention.club_type)
3599}
3600
3601// -------------------------------------------------------------------
3602
3603// StreamView
3604
3605// optional uint64 club_id = 1;
3606inline bool StreamView::has_club_id() const {
3607 return (_has_bits_[0] & 0x00000001u) != 0;
3608}
3610 _has_bits_[0] |= 0x00000001u;
3611}
3613 _has_bits_[0] &= ~0x00000001u;
3614}
3616 club_id_ = GOOGLE_ULONGLONG(0);
3618}
3619inline ::google::protobuf::uint64 StreamView::club_id() const {
3620 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.club_id)
3621 return club_id_;
3622}
3623inline void StreamView::set_club_id(::google::protobuf::uint64 value) {
3625 club_id_ = value;
3626 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.club_id)
3627}
3628
3629// optional uint64 stream_id = 2;
3630inline bool StreamView::has_stream_id() const {
3631 return (_has_bits_[0] & 0x00000002u) != 0;
3632}
3634 _has_bits_[0] |= 0x00000002u;
3635}
3637 _has_bits_[0] &= ~0x00000002u;
3638}
3640 stream_id_ = GOOGLE_ULONGLONG(0);
3642}
3643inline ::google::protobuf::uint64 StreamView::stream_id() const {
3644 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.stream_id)
3645 return stream_id_;
3646}
3647inline void StreamView::set_stream_id(::google::protobuf::uint64 value) {
3649 stream_id_ = value;
3650 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamView.stream_id)
3651}
3652
3653// optional .bgs.protocol.ViewMarker marker = 3;
3654inline bool StreamView::has_marker() const {
3655 return (_has_bits_[0] & 0x00000004u) != 0;
3656}
3658 _has_bits_[0] |= 0x00000004u;
3659}
3661 _has_bits_[0] &= ~0x00000004u;
3662}
3664 if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear();
3666}
3667inline const ::bgs::protocol::ViewMarker& StreamView::marker() const {
3668 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamView.marker)
3669 return marker_ != NULL ? *marker_ : *default_instance_->marker_;
3670}
3671inline ::bgs::protocol::ViewMarker* StreamView::mutable_marker() {
3673 if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker;
3674 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamView.marker)
3675 return marker_;
3676}
3677inline ::bgs::protocol::ViewMarker* StreamView::release_marker() {
3680 marker_ = NULL;
3681 return temp;
3682}
3684 delete marker_;
3685 marker_ = marker;
3686 if (marker) {
3688 } else {
3690 }
3691 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamView.marker)
3692}
3693
3694// -------------------------------------------------------------------
3695
3696// StreamAdvanceViewTime
3697
3698// optional uint64 stream_id = 1;
3700 return (_has_bits_[0] & 0x00000001u) != 0;
3701}
3703 _has_bits_[0] |= 0x00000001u;
3704}
3706 _has_bits_[0] &= ~0x00000001u;
3707}
3709 stream_id_ = GOOGLE_ULONGLONG(0);
3711}
3712inline ::google::protobuf::uint64 StreamAdvanceViewTime::stream_id() const {
3713 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id)
3714 return stream_id_;
3715}
3716inline void StreamAdvanceViewTime::set_stream_id(::google::protobuf::uint64 value) {
3718 stream_id_ = value;
3719 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.stream_id)
3720}
3721
3722// optional uint64 view_time = 2;
3724 return (_has_bits_[0] & 0x00000002u) != 0;
3725}
3727 _has_bits_[0] |= 0x00000002u;
3728}
3730 _has_bits_[0] &= ~0x00000002u;
3731}
3733 view_time_ = GOOGLE_ULONGLONG(0);
3735}
3736inline ::google::protobuf::uint64 StreamAdvanceViewTime::view_time() const {
3737 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time)
3738 return view_time_;
3739}
3740inline void StreamAdvanceViewTime::set_view_time(::google::protobuf::uint64 value) {
3742 view_time_ = value;
3743 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamAdvanceViewTime.view_time)
3744}
3745
3746// -------------------------------------------------------------------
3747
3748// StreamEventTime
3749
3750// optional uint64 stream_id = 1;
3752 return (_has_bits_[0] & 0x00000001u) != 0;
3753}
3755 _has_bits_[0] |= 0x00000001u;
3756}
3758 _has_bits_[0] &= ~0x00000001u;
3759}
3761 stream_id_ = GOOGLE_ULONGLONG(0);
3763}
3764inline ::google::protobuf::uint64 StreamEventTime::stream_id() const {
3765 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamEventTime.stream_id)
3766 return stream_id_;
3767}
3768inline void StreamEventTime::set_stream_id(::google::protobuf::uint64 value) {
3770 stream_id_ = value;
3771 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.stream_id)
3772}
3773
3774// optional uint64 event_time = 2;
3776 return (_has_bits_[0] & 0x00000002u) != 0;
3777}
3779 _has_bits_[0] |= 0x00000002u;
3780}
3782 _has_bits_[0] &= ~0x00000002u;
3783}
3785 event_time_ = GOOGLE_ULONGLONG(0);
3787}
3788inline ::google::protobuf::uint64 StreamEventTime::event_time() const {
3789 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamEventTime.event_time)
3790 return event_time_;
3791}
3792inline void StreamEventTime::set_event_time(::google::protobuf::uint64 value) {
3794 event_time_ = value;
3795 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamEventTime.event_time)
3796}
3797
3798// -------------------------------------------------------------------
3799
3800// StreamMentionView
3801
3802// optional uint64 club_id = 1;
3804 return (_has_bits_[0] & 0x00000001u) != 0;
3805}
3807 _has_bits_[0] |= 0x00000001u;
3808}
3810 _has_bits_[0] &= ~0x00000001u;
3811}
3813 club_id_ = GOOGLE_ULONGLONG(0);
3815}
3816inline ::google::protobuf::uint64 StreamMentionView::club_id() const {
3817 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.club_id)
3818 return club_id_;
3819}
3820inline void StreamMentionView::set_club_id(::google::protobuf::uint64 value) {
3822 club_id_ = value;
3823 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.club_id)
3824}
3825
3826// optional uint64 stream_id = 2;
3828 return (_has_bits_[0] & 0x00000002u) != 0;
3829}
3831 _has_bits_[0] |= 0x00000002u;
3832}
3834 _has_bits_[0] &= ~0x00000002u;
3835}
3837 stream_id_ = GOOGLE_ULONGLONG(0);
3839}
3840inline ::google::protobuf::uint64 StreamMentionView::stream_id() const {
3841 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.stream_id)
3842 return stream_id_;
3843}
3844inline void StreamMentionView::set_stream_id(::google::protobuf::uint64 value) {
3846 stream_id_ = value;
3847 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamMentionView.stream_id)
3848}
3849
3850// optional .bgs.protocol.ViewMarker marker = 3;
3852 return (_has_bits_[0] & 0x00000004u) != 0;
3853}
3855 _has_bits_[0] |= 0x00000004u;
3856}
3858 _has_bits_[0] &= ~0x00000004u;
3859}
3861 if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear();
3863}
3864inline const ::bgs::protocol::ViewMarker& StreamMentionView::marker() const {
3865 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamMentionView.marker)
3866 return marker_ != NULL ? *marker_ : *default_instance_->marker_;
3867}
3868inline ::bgs::protocol::ViewMarker* StreamMentionView::mutable_marker() {
3870 if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker;
3871 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamMentionView.marker)
3872 return marker_;
3873}
3874inline ::bgs::protocol::ViewMarker* StreamMentionView::release_marker() {
3877 marker_ = NULL;
3878 return temp;
3879}
3881 delete marker_;
3882 marker_ = marker;
3883 if (marker) {
3885 } else {
3887 }
3888 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamMentionView.marker)
3889}
3890
3891// -------------------------------------------------------------------
3892
3893// StreamStateOptions
3894
3895// repeated .bgs.protocol.v2.Attribute attribute = 1;
3897 return attribute_.size();
3898}
3900 attribute_.Clear();
3901}
3902inline const ::bgs::protocol::v2::Attribute& StreamStateOptions::attribute(int index) const {
3903 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.attribute)
3904 return attribute_.Get(index);
3905}
3906inline ::bgs::protocol::v2::Attribute* StreamStateOptions::mutable_attribute(int index) {
3907 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.attribute)
3908 return attribute_.Mutable(index);
3909}
3910inline ::bgs::protocol::v2::Attribute* StreamStateOptions::add_attribute() {
3911 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamStateOptions.attribute)
3912 return attribute_.Add();
3913}
3914inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3916 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute)
3917 return attribute_;
3918}
3919inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3921 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateOptions.attribute)
3922 return &attribute_;
3923}
3924
3925// optional string name = 2;
3926inline bool StreamStateOptions::has_name() const {
3927 return (_has_bits_[0] & 0x00000002u) != 0;
3928}
3930 _has_bits_[0] |= 0x00000002u;
3931}
3933 _has_bits_[0] &= ~0x00000002u;
3934}
3936 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3937 name_->clear();
3938 }
3940}
3941inline const ::std::string& StreamStateOptions::name() const {
3942 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.name)
3943 return *name_;
3944}
3945inline void StreamStateOptions::set_name(const ::std::string& value) {
3946 set_has_name();
3947 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3948 name_ = new ::std::string;
3949 }
3950 name_->assign(value);
3951 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.name)
3952}
3953inline void StreamStateOptions::set_name(const char* value) {
3954 set_has_name();
3955 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3956 name_ = new ::std::string;
3957 }
3958 name_->assign(value);
3959 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateOptions.name)
3960}
3961inline void StreamStateOptions::set_name(const char* value, size_t size) {
3962 set_has_name();
3963 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3964 name_ = new ::std::string;
3965 }
3966 name_->assign(reinterpret_cast<const char*>(value), size);
3967 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateOptions.name)
3968}
3969inline ::std::string* StreamStateOptions::mutable_name() {
3970 set_has_name();
3971 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3972 name_ = new ::std::string;
3973 }
3974 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.name)
3975 return name_;
3976}
3977inline ::std::string* StreamStateOptions::release_name() {
3979 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3980 return NULL;
3981 } else {
3982 ::std::string* temp = name_;
3983 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3984 return temp;
3985 }
3986}
3987inline void StreamStateOptions::set_allocated_name(::std::string* name) {
3988 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3989 delete name_;
3990 }
3991 if (name) {
3992 set_has_name();
3993 name_ = name;
3994 } else {
3996 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3997 }
3998 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.name)
3999}
4000
4001// optional string subject = 3;
4003 return (_has_bits_[0] & 0x00000004u) != 0;
4004}
4006 _has_bits_[0] |= 0x00000004u;
4007}
4009 _has_bits_[0] &= ~0x00000004u;
4010}
4012 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4013 subject_->clear();
4014 }
4016}
4017inline const ::std::string& StreamStateOptions::subject() const {
4018 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.subject)
4019 return *subject_;
4020}
4021inline void StreamStateOptions::set_subject(const ::std::string& value) {
4023 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4024 subject_ = new ::std::string;
4025 }
4026 subject_->assign(value);
4027 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.subject)
4028}
4029inline void StreamStateOptions::set_subject(const char* value) {
4031 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4032 subject_ = new ::std::string;
4033 }
4034 subject_->assign(value);
4035 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateOptions.subject)
4036}
4037inline void StreamStateOptions::set_subject(const char* value, size_t size) {
4039 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4040 subject_ = new ::std::string;
4041 }
4042 subject_->assign(reinterpret_cast<const char*>(value), size);
4043 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateOptions.subject)
4044}
4047 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4048 subject_ = new ::std::string;
4049 }
4050 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.subject)
4051 return subject_;
4052}
4055 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4056 return NULL;
4057 } else {
4058 ::std::string* temp = subject_;
4059 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4060 return temp;
4061 }
4062}
4063inline void StreamStateOptions::set_allocated_subject(::std::string* subject) {
4064 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4065 delete subject_;
4066 }
4067 if (subject) {
4069 subject_ = subject;
4070 } else {
4072 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4073 }
4074 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.subject)
4075}
4076
4077// optional .bgs.protocol.club.v1.client.StreamAccess access = 4;
4079 return (_has_bits_[0] & 0x00000008u) != 0;
4080}
4082 _has_bits_[0] |= 0x00000008u;
4083}
4085 _has_bits_[0] &= ~0x00000008u;
4086}
4088 if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear();
4090}
4091inline const ::bgs::protocol::club::v1::client::StreamAccess& StreamStateOptions::access() const {
4092 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.access)
4093 return access_ != NULL ? *access_ : *default_instance_->access_;
4094}
4095inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::mutable_access() {
4097 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess;
4098 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateOptions.access)
4099 return access_;
4100}
4101inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateOptions::release_access() {
4104 access_ = NULL;
4105 return temp;
4106}
4108 delete access_;
4109 access_ = access;
4110 if (access) {
4112 } else {
4114 }
4115 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateOptions.access)
4116}
4117
4118// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 5;
4120 return (_has_bits_[0] & 0x00000010u) != 0;
4121}
4123 _has_bits_[0] |= 0x00000010u;
4124}
4126 _has_bits_[0] &= ~0x00000010u;
4127}
4132inline ::bgs::protocol::club::v1::client::StreamVoiceLevel StreamStateOptions::voice_level() const {
4133 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateOptions.voice_level)
4135}
4139 voice_level_ = value;
4140 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateOptions.voice_level)
4141}
4142
4143// -------------------------------------------------------------------
4144
4145// StreamStateAssignment
4146
4147// optional uint64 stream_id = 1;
4149 return (_has_bits_[0] & 0x00000001u) != 0;
4150}
4152 _has_bits_[0] |= 0x00000001u;
4153}
4155 _has_bits_[0] &= ~0x00000001u;
4156}
4158 stream_id_ = GOOGLE_ULONGLONG(0);
4160}
4161inline ::google::protobuf::uint64 StreamStateAssignment::stream_id() const {
4162 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id)
4163 return stream_id_;
4164}
4165inline void StreamStateAssignment::set_stream_id(::google::protobuf::uint64 value) {
4167 stream_id_ = value;
4168 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_id)
4169}
4170
4171// repeated .bgs.protocol.v2.Attribute attribute = 2;
4173 return attribute_.size();
4174}
4176 attribute_.Clear();
4177}
4178inline const ::bgs::protocol::v2::Attribute& StreamStateAssignment::attribute(int index) const {
4179 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.attribute)
4180 return attribute_.Get(index);
4181}
4182inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::mutable_attribute(int index) {
4183 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.attribute)
4184 return attribute_.Mutable(index);
4185}
4186inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::add_attribute() {
4187 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.client.StreamStateAssignment.attribute)
4188 return attribute_.Add();
4189}
4190inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4192 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute)
4193 return attribute_;
4194}
4195inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4197 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.client.StreamStateAssignment.attribute)
4198 return &attribute_;
4199}
4200
4201// optional string name = 3;
4203 return (_has_bits_[0] & 0x00000004u) != 0;
4204}
4206 _has_bits_[0] |= 0x00000004u;
4207}
4209 _has_bits_[0] &= ~0x00000004u;
4210}
4212 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4213 name_->clear();
4214 }
4216}
4217inline const ::std::string& StreamStateAssignment::name() const {
4218 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.name)
4219 return *name_;
4220}
4221inline void StreamStateAssignment::set_name(const ::std::string& value) {
4222 set_has_name();
4223 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4224 name_ = new ::std::string;
4225 }
4226 name_->assign(value);
4227 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.name)
4228}
4229inline void StreamStateAssignment::set_name(const char* value) {
4230 set_has_name();
4231 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4232 name_ = new ::std::string;
4233 }
4234 name_->assign(value);
4235 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateAssignment.name)
4236}
4237inline void StreamStateAssignment::set_name(const char* value, size_t size) {
4238 set_has_name();
4239 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4240 name_ = new ::std::string;
4241 }
4242 name_->assign(reinterpret_cast<const char*>(value), size);
4243 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateAssignment.name)
4244}
4246 set_has_name();
4247 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4248 name_ = new ::std::string;
4249 }
4250 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.name)
4251 return name_;
4252}
4255 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4256 return NULL;
4257 } else {
4258 ::std::string* temp = name_;
4259 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4260 return temp;
4261 }
4262}
4263inline void StreamStateAssignment::set_allocated_name(::std::string* name) {
4264 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4265 delete name_;
4266 }
4267 if (name) {
4268 set_has_name();
4269 name_ = name;
4270 } else {
4272 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4273 }
4274 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.name)
4275}
4276
4277// optional string subject = 4;
4279 return (_has_bits_[0] & 0x00000008u) != 0;
4280}
4282 _has_bits_[0] |= 0x00000008u;
4283}
4285 _has_bits_[0] &= ~0x00000008u;
4286}
4288 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4289 subject_->clear();
4290 }
4292}
4293inline const ::std::string& StreamStateAssignment::subject() const {
4294 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.subject)
4295 return *subject_;
4296}
4297inline void StreamStateAssignment::set_subject(const ::std::string& value) {
4299 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4300 subject_ = new ::std::string;
4301 }
4302 subject_->assign(value);
4303 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.subject)
4304}
4305inline void StreamStateAssignment::set_subject(const char* value) {
4307 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4308 subject_ = new ::std::string;
4309 }
4310 subject_->assign(value);
4311 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.client.StreamStateAssignment.subject)
4312}
4313inline void StreamStateAssignment::set_subject(const char* value, size_t size) {
4315 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4316 subject_ = new ::std::string;
4317 }
4318 subject_->assign(reinterpret_cast<const char*>(value), size);
4319 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.client.StreamStateAssignment.subject)
4320}
4323 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4324 subject_ = new ::std::string;
4325 }
4326 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.subject)
4327 return subject_;
4328}
4331 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4332 return NULL;
4333 } else {
4334 ::std::string* temp = subject_;
4335 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4336 return temp;
4337 }
4338}
4339inline void StreamStateAssignment::set_allocated_subject(::std::string* subject) {
4340 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4341 delete subject_;
4342 }
4343 if (subject) {
4345 subject_ = subject;
4346 } else {
4348 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4349 }
4350 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.subject)
4351}
4352
4353// optional .bgs.protocol.club.v1.client.StreamAccess access = 5;
4355 return (_has_bits_[0] & 0x00000010u) != 0;
4356}
4358 _has_bits_[0] |= 0x00000010u;
4359}
4361 _has_bits_[0] &= ~0x00000010u;
4362}
4364 if (access_ != NULL) access_->::bgs::protocol::club::v1::client::StreamAccess::Clear();
4366}
4367inline const ::bgs::protocol::club::v1::client::StreamAccess& StreamStateAssignment::access() const {
4368 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.access)
4369 return access_ != NULL ? *access_ : *default_instance_->access_;
4370}
4371inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::mutable_access() {
4373 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::client::StreamAccess;
4374 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamStateAssignment.access)
4375 return access_;
4376}
4377inline ::bgs::protocol::club::v1::client::StreamAccess* StreamStateAssignment::release_access() {
4380 access_ = NULL;
4381 return temp;
4382}
4384 delete access_;
4385 access_ = access;
4386 if (access) {
4388 } else {
4390 }
4391 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamStateAssignment.access)
4392}
4393
4394// optional bool stream_subscription_removed = 6;
4396 return (_has_bits_[0] & 0x00000020u) != 0;
4397}
4409 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed)
4411}
4415 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.stream_subscription_removed)
4416}
4417
4418// optional .bgs.protocol.club.v1.client.StreamVoiceLevel voice_level = 7;
4420 return (_has_bits_[0] & 0x00000040u) != 0;
4421}
4423 _has_bits_[0] |= 0x00000040u;
4424}
4426 _has_bits_[0] &= ~0x00000040u;
4427}
4432inline ::bgs::protocol::club::v1::client::StreamVoiceLevel StreamStateAssignment::voice_level() const {
4433 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level)
4435}
4439 voice_level_ = value;
4440 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamStateAssignment.voice_level)
4441}
4442
4443// -------------------------------------------------------------------
4444
4445// StreamTypingIndicator
4446
4447// optional .bgs.protocol.club.v1.MemberId author_id = 1;
4449 return (_has_bits_[0] & 0x00000001u) != 0;
4450}
4452 _has_bits_[0] |= 0x00000001u;
4453}
4455 _has_bits_[0] &= ~0x00000001u;
4456}
4458 if (author_id_ != NULL) author_id_->::bgs::protocol::club::v1::MemberId::Clear();
4460}
4461inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicator::author_id() const {
4462 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id)
4463 return author_id_ != NULL ? *author_id_ : *default_instance_->author_id_;
4464}
4465inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::mutable_author_id() {
4467 if (author_id_ == NULL) author_id_ = new ::bgs::protocol::club::v1::MemberId;
4468 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id)
4469 return author_id_;
4470}
4471inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::release_author_id() {
4474 author_id_ = NULL;
4475 return temp;
4476}
4478 delete author_id_;
4480 if (author_id) {
4482 } else {
4484 }
4485 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.client.StreamTypingIndicator.author_id)
4486}
4487
4488// optional .bgs.protocol.TypingIndicator indicator = 2;
4490 return (_has_bits_[0] & 0x00000002u) != 0;
4491}
4493 _has_bits_[0] |= 0x00000002u;
4494}
4496 _has_bits_[0] &= ~0x00000002u;
4497}
4502inline ::bgs::protocol::TypingIndicator StreamTypingIndicator::indicator() const {
4503 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator)
4504 return static_cast< ::bgs::protocol::TypingIndicator >(indicator_);
4505}
4509 indicator_ = value;
4510 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.indicator)
4511}
4512
4513// optional uint64 epoch = 3;
4515 return (_has_bits_[0] & 0x00000004u) != 0;
4516}
4518 _has_bits_[0] |= 0x00000004u;
4519}
4521 _has_bits_[0] &= ~0x00000004u;
4522}
4524 epoch_ = GOOGLE_ULONGLONG(0);
4526}
4527inline ::google::protobuf::uint64 StreamTypingIndicator::epoch() const {
4528 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.client.StreamTypingIndicator.epoch)
4529 return epoch_;
4530}
4531inline void StreamTypingIndicator::set_epoch(::google::protobuf::uint64 value) {
4532 set_has_epoch();
4533 epoch_ = value;
4534 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.client.StreamTypingIndicator.epoch)
4535}
4536
4537// @@protoc_insertion_point(namespace_scope)
4538
4539} // namespace client
4540} // namespace v1
4541} // namespace club
4542} // namespace protocol
4543} // namespace bgs
4544
4545#ifndef SWIG
4546namespace google {
4547namespace protobuf {
4548} // namespace google
4549} // namespace protobuf
4550#endif // SWIG
4551
4552// @@protoc_insertion_point(global_scope)
4553
4554#endif // PROTOBUF_api_2fclient_2fv1_2fclub_5fstream_2eproto__INCLUDED
#define TC_PROTO_API
Definition Define.h:105
ClubStreamMessageContainer & operator=(const ClubStreamMessageContainer &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > & message() const
void Swap(ClubStreamMessageContainer *other)
static const ClubStreamMessageContainer & default_instance()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > * mutable_message()
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::bgs::protocol::club::v1::client::StreamMessage * add_message()
ClubStreamMessageContainer(const ClubStreamMessageContainer &from)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::StreamMessage > message_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_edit_time(::google::protobuf::uint64 value)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > * mutable_embed()
void set_content(const ::std::string &value)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_
inline ::bgs::protocol::EmbedInfo * add_embed()
inline ::bgs::protocol::club::v1::client::MentionContent * release_mention()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > & embed() const
void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent *mention)
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_content(::std::string *content)
const ::bgs::protocol::club::v1::client::MentionContent & mention() const
inline ::bgs::protocol::club::v1::client::MentionContent * mutable_mention()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
ContentChain & operator=(const ContentChain &from)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ContentChain & default_instance()
inline ::google::protobuf::uint64 edit_time() const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::bgs::protocol::club::v1::client::MentionContent * mention_
::google::protobuf::UnknownFieldSet _unknown_fields_
static const CreateMessageOptions & default_instance()
CreateMessageOptions & operator=(const CreateMessageOptions &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::club::v1::client::MentionContent * mention_
inline ::bgs::protocol::club::v1::client::MentionContent * release_mention()
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::club::v1::client::MentionContent & mention() const
void set_allocated_mention(::bgs::protocol::club::v1::client::MentionContent *mention)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::client::MentionContent * mutable_mention()
CreateMessageOptions(const CreateMessageOptions &from)
CreateStreamOptions(const CreateStreamOptions &from)
void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value)
::google::protobuf::Metadata GetMetadata() const
void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess *access)
::bgs::protocol::club::v1::client::StreamAccess * access_
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
static const CreateStreamOptions & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::club::v1::client::StreamAccess * mutable_access()
inline ::bgs::protocol::club::v1::client::StreamAccess * release_access()
CreateStreamOptions & operator=(const CreateStreamOptions &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::bgs::protocol::v2::Attribute * add_attribute()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::club::v1::client::StreamAccess & access() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const
static const MentionContent & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
MentionContent(const MentionContent &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > * mutable_member_id()
void add_role(::google::protobuf::uint32 value)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_role(int index, ::google::protobuf::uint32 value)
inline ::bgs::protocol::club::v1::MemberId * add_member_id()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
MentionContent & operator=(const MentionContent &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > & member_id() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_role(int index, ::google::protobuf::uint32 value)
static const StreamAccess & default_instance()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
void add_role(::google::protobuf::uint32 value)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
StreamAccess & operator=(const StreamAccess &from)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
void set_view_time(::google::protobuf::uint64 value)
void set_stream_id(::google::protobuf::uint64 value)
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
StreamAdvanceViewTime & operator=(const StreamAdvanceViewTime &from)
inline ::google::protobuf::uint64 view_time() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const StreamAdvanceViewTime & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
StreamAdvanceViewTime(const StreamAdvanceViewTime &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint64 stream_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::uint64 id() const
StreamDescription & operator=(const StreamDescription &from)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
void set_id(::google::protobuf::uint64 value)
StreamDescription(const StreamDescription &from)
static const StreamDescription & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::uint64 stream_id() const
void set_stream_id(::google::protobuf::uint64 value)
void set_event_time(::google::protobuf::uint64 value)
StreamEventTime(const StreamEventTime &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::google::protobuf::uint64 event_time() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
static const StreamEventTime & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
StreamEventTime & operator=(const StreamEventTime &from)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
StreamMentionView & operator=(const StreamMentionView &from)
void set_stream_id(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
static const StreamMentionView & default_instance()
void set_allocated_marker(::bgs::protocol::ViewMarker *marker)
inline ::google::protobuf::uint64 club_id() const
::google::protobuf::Metadata GetMetadata() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::ViewMarker * mutable_marker()
inline ::google::protobuf::uint64 stream_id() const
StreamMentionView(const StreamMentionView &from)
const ::bgs::protocol::ViewMarker & marker() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_club_id(::google::protobuf::uint64 value)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::bgs::protocol::ViewMarker * release_marker()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint64 club_id() const
inline ::bgs::protocol::club::v1::client::StreamMessage * release_message()
static const StreamMention & default_instance()
::bgs::protocol::TimeSeriesId * mention_id_
::bgs::protocol::club::v1::MemberId * member_id_
const ::bgs::protocol::club::v1::MemberId & member_id() const
const ::bgs::protocol::club::v1::client::StreamMessage & message() const
StreamMention & operator=(const StreamMention &from)
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription *author)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::TimeSeriesId * release_mention_id()
void set_allocated_message(::bgs::protocol::club::v1::client::StreamMessage *message)
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
inline ::bgs::protocol::club::v1::client::MemberDescription * release_author()
::bgs::protocol::club::v1::client::MemberDescription * author_
const ::bgs::protocol::club::v1::client::MemberDescription & author() const
::bgs::protocol::club::v1::client::StreamMessage * message_
void set_club_id(::google::protobuf::uint64 value)
const ::bgs::protocol::MessageId & message_id() const
inline ::bgs::protocol::club::v1::UniqueClubType * mutable_club_type()
const ::bgs::protocol::TimeSeriesId & mention_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::bgs::protocol::club::v1::client::MemberDescription * mutable_author()
const ::bgs::protocol::club::v1::UniqueClubType & club_type() const
inline ::bgs::protocol::club::v1::UniqueClubType * release_club_type()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::Metadata GetMetadata() const
void set_allocated_mention_id(::bgs::protocol::TimeSeriesId *mention_id)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType *club_type)
inline ::bgs::protocol::TimeSeriesId * mutable_mention_id()
void set_stream_id(::google::protobuf::uint64 value)
void set_allocated_message_id(::bgs::protocol::MessageId *message_id)
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
inline ::google::protobuf::uint64 stream_id() const
inline ::bgs::protocol::MessageId * mutable_message_id()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::bgs::protocol::club::v1::UniqueClubType * club_type_
inline ::bgs::protocol::MessageId * release_message_id()
inline ::bgs::protocol::club::v1::client::StreamMessage * mutable_message()
inline ::google::protobuf::uint64 destroy_time() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::MessageId * mutable_id()
inline ::bgs::protocol::MessageId * release_id()
void set_destroy_time(::google::protobuf::uint64 value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain > * mutable_content_chain()
static const StreamMessage & default_instance()
::bgs::protocol::club::v1::client::MemberDescription * destroyer_
::bgs::protocol::club::v1::client::MemberDescription * author_
void set_allocated_author(::bgs::protocol::club::v1::client::MemberDescription *author)
inline ::bgs::protocol::club::v1::client::MemberDescription * release_destroyer()
const ::bgs::protocol::club::v1::client::MemberDescription & author() const
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::club::v1::client::MemberDescription * release_author()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
StreamMessage & operator=(const StreamMessage &from)
const ::bgs::protocol::club::v1::client::MemberDescription & destroyer() const
const ::bgs::protocol::MessageId & id() const
inline ::bgs::protocol::club::v1::client::ContentChain * add_content_chain()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain > content_chain_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::client::ContentChain > & content_chain() const
void set_allocated_id(::bgs::protocol::MessageId *id)
inline ::bgs::protocol::club::v1::client::MemberDescription * mutable_author()
inline ::bgs::protocol::club::v1::client::MemberDescription * mutable_destroyer()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_destroyer(::bgs::protocol::club::v1::client::MemberDescription *destroyer)
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_stream_id()
StreamPosition(const StreamPosition &from)
::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_
StreamPosition & operator=(const StreamPosition &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & stream_id() const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
void set_stream_id(int index, ::google::protobuf::uint64 value)
static const StreamPosition & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
void add_stream_id(::google::protobuf::uint64 value)
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
StreamStateAssignment(const StreamStateAssignment &from)
static const ::google::protobuf::Descriptor * descriptor()
void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const
void set_stream_id(::google::protobuf::uint64 value)
inline ::bgs::protocol::v2::Attribute * add_attribute()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint64 stream_id() const
inline ::bgs::protocol::club::v1::client::StreamAccess * release_access()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
const ::bgs::protocol::club::v1::client::StreamAccess & access() const
inline ::bgs::protocol::club::v1::client::StreamAccess * mutable_access()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
static const StreamStateAssignment & default_instance()
void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess *access)
StreamStateAssignment & operator=(const StreamStateAssignment &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::club::v1::client::StreamAccess * access_
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::bgs::protocol::club::v1::client::StreamAccess * release_access()
StreamStateOptions(const StreamStateOptions &from)
void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess *access)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::club::v1::client::StreamAccess * mutable_access()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::v2::Attribute * add_attribute()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
static const StreamStateOptions & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const
StreamStateOptions & operator=(const StreamStateOptions &from)
void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value)
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::club::v1::client::StreamAccess * access_
const ::bgs::protocol::club::v1::client::StreamAccess & access() const
StreamTypingIndicator(const StreamTypingIndicator &from)
inline ::bgs::protocol::club::v1::MemberId * release_author_id()
::google::protobuf::Metadata GetMetadata() const
StreamTypingIndicator & operator=(const StreamTypingIndicator &from)
inline ::google::protobuf::uint64 epoch() const
inline ::bgs::protocol::club::v1::MemberId * mutable_author_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
static const StreamTypingIndicator & default_instance()
inline ::bgs::protocol::TypingIndicator indicator() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::bgs::protocol::club::v1::MemberId & author_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_indicator(::bgs::protocol::TypingIndicator value)
void set_allocated_author_id(::bgs::protocol::club::v1::MemberId *author_id)
::bgs::protocol::club::v1::MemberId * author_id_
void set_epoch(::google::protobuf::uint64 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_marker(::bgs::protocol::ViewMarker *marker)
StreamView & operator=(const StreamView &from)
::google::protobuf::uint32 _has_bits_[1]
static const ::google::protobuf::Descriptor * descriptor()
static const StreamView & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::uint64 club_id() const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
const ::bgs::protocol::ViewMarker & marker() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::google::protobuf::uint64 stream_id() const
inline ::bgs::protocol::ViewMarker * release_marker()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_stream_id(::google::protobuf::uint64 value)
inline ::bgs::protocol::ViewMarker * mutable_marker()
void set_club_id(::google::protobuf::uint64 value)
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
::google::protobuf::Metadata GetMetadata() const
void set_name(const ::std::string &value)
::google::protobuf::uint64 creation_time_
void set_creation_time(::google::protobuf::uint64 value)
void set_voice_level(::bgs::protocol::club::v1::client::StreamVoiceLevel value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
const ::bgs::protocol::club::v1::client::StreamAccess & access() const
inline ::bgs::protocol::v2::Attribute * add_attribute()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
inline ::google::protobuf::uint64 id() const
void set_id(::google::protobuf::uint64 value)
::bgs::protocol::club::v1::client::StreamAccess * access_
void set_allocated_access(::bgs::protocol::club::v1::client::StreamAccess *access)
::google::protobuf::Metadata GetMetadata() const
Stream & operator=(const Stream &from)
inline ::google::protobuf::uint64 club_id() const
inline ::google::protobuf::uint64 creation_time() const
const ::std::string & subject() const
::google::protobuf::uint32 _has_bits_[1]
const ::std::string & name() const
inline ::bgs::protocol::club::v1::client::StreamVoiceLevel voice_level() const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
void set_allocated_subject(::std::string *subject)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint64 club_id_
void set_subject(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
inline ::bgs::protocol::club::v1::client::StreamAccess * release_access()
void set_allocated_name(::std::string *name)
static const ::google::protobuf::Descriptor * descriptor()
void set_club_id(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
static const Stream & default_instance()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
inline ::bgs::protocol::club::v1::client::StreamAccess * mutable_access()
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
void protobuf_AssignDesc_api_2fclient_2fv1_2fclub_5fstream_2eproto()
TC_PROTO_API bool StreamVoiceLevel_IsValid(int value)
void protobuf_ShutdownFile_api_2fclient_2fv1_2fclub_5fstream_2eproto()
TC_PROTO_API bool TypingIndicator_IsValid(int value)
Definition Session.h:37