TrinityCore
club_stream.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: club_stream.proto
3
4#ifndef PROTOBUF_club_5fstream_2eproto__INCLUDED
5#define PROTOBUF_club_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>
27#include "club_enum.pb.h"
28#include "club_member.pb.h"
29#include "club_type.pb.h"
31#include "embed_types.pb.h"
32#include "event_view_types.pb.h"
33#include "message_types.pb.h"
34#include "ets_types.pb.h"
35#include "Define.h" // for TC_PROTO_API
36// @@protoc_insertion_point(includes)
37
38namespace bgs {
39namespace protocol {
40namespace club {
41namespace v1 {
42
43// Internal implementation detail -- do not call these.
47
48class StreamPosition;
49class StreamAccess;
51class Stream;
53class MentionContent;
56class ContentChain;
57class StreamMessage;
58class StreamMention;
59class StreamView;
61class StreamEventTime;
66
67// ===================================================================
68
69class TC_PROTO_API StreamPosition : public ::google::protobuf::Message {
70 public:
72 virtual ~StreamPosition();
73
75
77 CopyFrom(from);
78 return *this;
79 }
80
81 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
82 return _unknown_fields_;
83 }
84
85 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
86 return &_unknown_fields_;
87 }
88
89 static const ::google::protobuf::Descriptor* descriptor();
91
92 void Swap(StreamPosition* other);
93
94 // implements Message ----------------------------------------------
95
97 int GetCachedSize() const { return _cached_size_; }
98 private:
99 void SharedCtor();
101 void SetCachedSize(int size) const;
102 public:
103 ::google::protobuf::Metadata GetMetadata() const;
104
105 // nested types ----------------------------------------------------
106
107 // accessors -------------------------------------------------------
108
109 // repeated uint64 stream_id = 1 [packed = true];
110 inline int stream_id_size() const;
111 inline void clear_stream_id();
112 static const int kStreamIdFieldNumber = 1;
113 inline ::google::protobuf::uint64 stream_id(int index) const;
114 inline void set_stream_id(int index, ::google::protobuf::uint64 value);
115 inline void add_stream_id(::google::protobuf::uint64 value);
116 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
117 stream_id() const;
118 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
119 mutable_stream_id();
120
121 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamPosition)
122 private:
123
124 ::google::protobuf::UnknownFieldSet _unknown_fields_;
125
127 mutable int _cached_size_;
128 ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_;
132
135};
136// -------------------------------------------------------------------
137
138class TC_PROTO_API StreamAccess : public ::google::protobuf::Message {
139 public:
141 virtual ~StreamAccess();
142
144
145 inline StreamAccess& operator=(const StreamAccess& from) {
146 CopyFrom(from);
147 return *this;
148 }
149
150 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
151 return _unknown_fields_;
152 }
153
154 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
155 return &_unknown_fields_;
156 }
157
158 static const ::google::protobuf::Descriptor* descriptor();
160
161 void Swap(StreamAccess* other);
162
163 // implements Message ----------------------------------------------
164
166 int GetCachedSize() const { return _cached_size_; }
167 private:
170 void SetCachedSize(int size) const;
171 public:
172 ::google::protobuf::Metadata GetMetadata() const;
173
174 // nested types ----------------------------------------------------
175
176 // accessors -------------------------------------------------------
177
178 // repeated uint32 role = 1 [packed = true];
179 inline int role_size() const;
180 inline void clear_role();
181 static const int kRoleFieldNumber = 1;
182 inline ::google::protobuf::uint32 role(int index) const;
183 inline void set_role(int index, ::google::protobuf::uint32 value);
184 inline void add_role(::google::protobuf::uint32 value);
185 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
186 role() const;
187 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
188 mutable_role();
189
190 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAccess)
191 private:
192
193 ::google::protobuf::UnknownFieldSet _unknown_fields_;
194
196 mutable int _cached_size_;
197 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
201
204};
205// -------------------------------------------------------------------
206
207class TC_PROTO_API CreateStreamOptions : public ::google::protobuf::Message {
208 public:
211
213
215 CopyFrom(from);
216 return *this;
217 }
218
219 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
220 return _unknown_fields_;
221 }
222
223 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
224 return &_unknown_fields_;
225 }
226
227 static const ::google::protobuf::Descriptor* descriptor();
229
231
232 // implements Message ----------------------------------------------
233
235 int GetCachedSize() const { return _cached_size_; }
236 private:
239 void SetCachedSize(int size) const;
240 public:
241 ::google::protobuf::Metadata GetMetadata() const;
242
243 // nested types ----------------------------------------------------
244
245 // accessors -------------------------------------------------------
246
247 // repeated .bgs.protocol.v2.Attribute attribute = 1;
248 inline int attribute_size() const;
249 inline void clear_attribute();
250 static const int kAttributeFieldNumber = 1;
251 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
252 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
253 inline ::bgs::protocol::v2::Attribute* add_attribute();
254 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
255 attribute() const;
256 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
257 mutable_attribute();
258
259 // optional string name = 2;
260 inline bool has_name() const;
261 inline void clear_name();
262 static const int kNameFieldNumber = 2;
263 inline const ::std::string& name() const;
264 inline void set_name(const ::std::string& value);
265 inline void set_name(const char* value);
266 inline void set_name(const char* value, size_t size);
267 inline ::std::string* mutable_name();
268 inline ::std::string* release_name();
269 inline void set_allocated_name(::std::string* name);
270
271 // optional string subject = 3;
272 inline bool has_subject() const;
273 inline void clear_subject();
274 static const int kSubjectFieldNumber = 3;
275 inline const ::std::string& subject() const;
276 inline void set_subject(const ::std::string& value);
277 inline void set_subject(const char* value);
278 inline void set_subject(const char* value, size_t size);
279 inline ::std::string* mutable_subject();
280 inline ::std::string* release_subject();
281 inline void set_allocated_subject(::std::string* subject);
282
283 // optional .bgs.protocol.club.v1.StreamAccess access = 4;
284 inline bool has_access() const;
285 inline void clear_access();
286 static const int kAccessFieldNumber = 4;
287 inline const ::bgs::protocol::club::v1::StreamAccess& access() const;
288 inline ::bgs::protocol::club::v1::StreamAccess* mutable_access();
289 inline ::bgs::protocol::club::v1::StreamAccess* release_access();
290 inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access);
291
292 // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5;
293 inline bool has_voice_level() const;
294 inline void clear_voice_level();
295 static const int kVoiceLevelFieldNumber = 5;
297 inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value);
298
299 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateStreamOptions)
300 private:
301 inline void set_has_name();
302 inline void clear_has_name();
303 inline void set_has_subject();
304 inline void clear_has_subject();
305 inline void set_has_access();
306 inline void clear_has_access();
307 inline void set_has_voice_level();
308 inline void clear_has_voice_level();
309
310 ::google::protobuf::UnknownFieldSet _unknown_fields_;
311
313 mutable int _cached_size_;
314 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
315 ::std::string* name_;
316 ::std::string* subject_;
322
325};
326// -------------------------------------------------------------------
327
328class TC_PROTO_API Stream : public ::google::protobuf::Message {
329 public:
331 virtual ~Stream();
332
333 Stream(const Stream& from);
334
335 inline Stream& operator=(const Stream& from) {
336 CopyFrom(from);
337 return *this;
338 }
339
340 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
341 return _unknown_fields_;
342 }
343
344 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
345 return &_unknown_fields_;
346 }
347
348 static const ::google::protobuf::Descriptor* descriptor();
349 static const Stream& default_instance();
350
351 void Swap(Stream* other);
352
353 // implements Message ----------------------------------------------
354
355 Stream* New() const;
356 int GetCachedSize() const { return _cached_size_; }
357 private:
360 void SetCachedSize(int size) const;
361 public:
362 ::google::protobuf::Metadata GetMetadata() const;
363
364 // nested types ----------------------------------------------------
365
366 // accessors -------------------------------------------------------
367
368 // optional uint64 club_id = 1;
369 inline bool has_club_id() const;
370 inline void clear_club_id();
371 static const int kClubIdFieldNumber = 1;
372 inline ::google::protobuf::uint64 club_id() const;
373 inline void set_club_id(::google::protobuf::uint64 value);
374
375 // optional uint64 id = 2;
376 inline bool has_id() const;
377 inline void clear_id();
378 static const int kIdFieldNumber = 2;
380 inline void set_id(::google::protobuf::uint64 value);
381
382 // repeated .bgs.protocol.v2.Attribute attribute = 3;
383 inline int attribute_size() const;
384 inline void clear_attribute();
385 static const int kAttributeFieldNumber = 3;
386 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
387 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
388 inline ::bgs::protocol::v2::Attribute* add_attribute();
389 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
390 attribute() const;
391 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
392 mutable_attribute();
393
394 // optional string name = 4;
395 inline bool has_name() const;
396 inline void clear_name();
397 static const int kNameFieldNumber = 4;
398 inline const ::std::string& name() const;
399 inline void set_name(const ::std::string& value);
400 inline void set_name(const char* value);
401 inline void set_name(const char* value, size_t size);
402 inline ::std::string* mutable_name();
403 inline ::std::string* release_name();
404 inline void set_allocated_name(::std::string* name);
405
406 // optional string subject = 5;
407 inline bool has_subject() const;
408 inline void clear_subject();
409 static const int kSubjectFieldNumber = 5;
410 inline const ::std::string& subject() const;
411 inline void set_subject(const ::std::string& value);
412 inline void set_subject(const char* value);
413 inline void set_subject(const char* value, size_t size);
414 inline ::std::string* mutable_subject();
415 inline ::std::string* release_subject();
416 inline void set_allocated_subject(::std::string* subject);
417
418 // optional .bgs.protocol.club.v1.StreamAccess access = 6;
419 inline bool has_access() const;
420 inline void clear_access();
421 static const int kAccessFieldNumber = 6;
422 inline const ::bgs::protocol::club::v1::StreamAccess& access() const;
423 inline ::bgs::protocol::club::v1::StreamAccess* mutable_access();
424 inline ::bgs::protocol::club::v1::StreamAccess* release_access();
425 inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access);
426
427 // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7;
428 inline bool has_voice_level() const;
429 inline void clear_voice_level();
430 static const int kVoiceLevelFieldNumber = 7;
432 inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value);
433
434 // optional uint64 creation_time = 8;
435 inline bool has_creation_time() const;
436 inline void clear_creation_time();
437 static const int kCreationTimeFieldNumber = 8;
438 inline ::google::protobuf::uint64 creation_time() const;
439 inline void set_creation_time(::google::protobuf::uint64 value);
440
441 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.Stream)
442 private:
443 inline void set_has_club_id();
444 inline void clear_has_club_id();
445 inline void set_has_id();
446 inline void clear_has_id();
447 inline void set_has_name();
448 inline void clear_has_name();
449 inline void set_has_subject();
450 inline void clear_has_subject();
451 inline void set_has_access();
452 inline void clear_has_access();
453 inline void set_has_voice_level();
454 inline void clear_has_voice_level();
455 inline void set_has_creation_time();
456 inline void clear_has_creation_time();
457
458 ::google::protobuf::UnknownFieldSet _unknown_fields_;
459
461 mutable int _cached_size_;
464 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
465 ::std::string* name_;
466 ::std::string* subject_;
473
476};
477// -------------------------------------------------------------------
478
479class TC_PROTO_API StreamDescription : public ::google::protobuf::Message {
480 public:
483
485
487 CopyFrom(from);
488 return *this;
489 }
490
491 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
492 return _unknown_fields_;
493 }
494
495 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
496 return &_unknown_fields_;
497 }
498
499 static const ::google::protobuf::Descriptor* descriptor();
501
503
504 // implements Message ----------------------------------------------
505
507 int GetCachedSize() const { return _cached_size_; }
508 private:
511 void SetCachedSize(int size) const;
512 public:
513 ::google::protobuf::Metadata GetMetadata() const;
514
515 // nested types ----------------------------------------------------
516
517 // accessors -------------------------------------------------------
518
519 // optional uint64 id = 2;
520 inline bool has_id() const;
521 inline void clear_id();
522 static const int kIdFieldNumber = 2;
524 inline void set_id(::google::protobuf::uint64 value);
525
526 // optional string name = 4;
527 inline bool has_name() const;
528 inline void clear_name();
529 static const int kNameFieldNumber = 4;
530 inline const ::std::string& name() const;
531 inline void set_name(const ::std::string& value);
532 inline void set_name(const char* value);
533 inline void set_name(const char* value, size_t size);
534 inline ::std::string* mutable_name();
535 inline ::std::string* release_name();
536 inline void set_allocated_name(::std::string* name);
537
538 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamDescription)
539 private:
540 inline void set_has_id();
541 inline void clear_has_id();
542 inline void set_has_name();
543 inline void clear_has_name();
544
545 ::google::protobuf::UnknownFieldSet _unknown_fields_;
546
548 mutable int _cached_size_;
550 ::std::string* name_;
554
557};
558// -------------------------------------------------------------------
559
560class TC_PROTO_API MentionContent : public ::google::protobuf::Message {
561 public:
564
566
568 CopyFrom(from);
569 return *this;
570 }
571
572 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
573 return _unknown_fields_;
574 }
575
576 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
577 return &_unknown_fields_;
578 }
579
580 static const ::google::protobuf::Descriptor* descriptor();
582
583 void Swap(MentionContent* other);
584
585 // implements Message ----------------------------------------------
586
588 int GetCachedSize() const { return _cached_size_; }
589 private:
592 void SetCachedSize(int size) const;
593 public:
594 ::google::protobuf::Metadata GetMetadata() const;
595
596 // nested types ----------------------------------------------------
597
598 // accessors -------------------------------------------------------
599
600 // optional bool all = 1;
601 inline bool has_all() const;
602 inline void clear_all();
603 static const int kAllFieldNumber = 1;
604 inline bool all() const;
605 inline void set_all(bool value);
606
607 // optional bool here = 2;
608 inline bool has_here() const;
609 inline void clear_here();
610 static const int kHereFieldNumber = 2;
611 inline bool here() const;
612 inline void set_here(bool value);
613
614 // repeated .bgs.protocol.club.v1.MemberId member_id = 3;
615 inline int member_id_size() const;
616 inline void clear_member_id();
617 static const int kMemberIdFieldNumber = 3;
618 inline const ::bgs::protocol::club::v1::MemberId& member_id(int index) const;
619 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id(int index);
620 inline ::bgs::protocol::club::v1::MemberId* add_member_id();
621 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >&
622 member_id() const;
623 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >*
624 mutable_member_id();
625
626 // repeated uint32 role = 4 [packed = true];
627 inline int role_size() const;
628 inline void clear_role();
629 static const int kRoleFieldNumber = 4;
630 inline ::google::protobuf::uint32 role(int index) const;
631 inline void set_role(int index, ::google::protobuf::uint32 value);
632 inline void add_role(::google::protobuf::uint32 value);
633 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
634 role() const;
635 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
636 mutable_role();
637
638 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.MentionContent)
639 private:
640 inline void set_has_all();
641 inline void clear_has_all();
642 inline void set_has_here();
643 inline void clear_has_here();
644
645 ::google::protobuf::UnknownFieldSet _unknown_fields_;
646
648 mutable int _cached_size_;
649 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_;
650 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_;
651 bool all_;
652 bool here_;
656
659};
660// -------------------------------------------------------------------
661
662class TC_PROTO_API CreateMessageOptions : public ::google::protobuf::Message {
663 public:
666
668
670 CopyFrom(from);
671 return *this;
672 }
673
674 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
675 return _unknown_fields_;
676 }
677
678 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
679 return &_unknown_fields_;
680 }
681
682 static const ::google::protobuf::Descriptor* descriptor();
684
686
687 // implements Message ----------------------------------------------
688
690 int GetCachedSize() const { return _cached_size_; }
691 private:
694 void SetCachedSize(int size) const;
695 public:
696 ::google::protobuf::Metadata GetMetadata() const;
697
698 // nested types ----------------------------------------------------
699
700 // accessors -------------------------------------------------------
701
702 // optional string content = 2;
703 inline bool has_content() const;
704 inline void clear_content();
705 static const int kContentFieldNumber = 2;
706 inline const ::std::string& content() const;
707 inline void set_content(const ::std::string& value);
708 inline void set_content(const char* value);
709 inline void set_content(const char* value, size_t size);
710 inline ::std::string* mutable_content();
711 inline ::std::string* release_content();
712 inline void set_allocated_content(::std::string* content);
713
714 // optional .bgs.protocol.club.v1.MentionContent mention = 3;
715 inline bool has_mention() const;
716 inline void clear_mention();
717 static const int kMentionFieldNumber = 3;
718 inline const ::bgs::protocol::club::v1::MentionContent& mention() const;
719 inline ::bgs::protocol::club::v1::MentionContent* mutable_mention();
720 inline ::bgs::protocol::club::v1::MentionContent* release_mention();
721 inline void set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention);
722
723 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.CreateMessageOptions)
724 private:
725 inline void set_has_content();
726 inline void clear_has_content();
727 inline void set_has_mention();
728 inline void clear_has_mention();
729
730 ::google::protobuf::UnknownFieldSet _unknown_fields_;
731
733 mutable int _cached_size_;
734 ::std::string* content_;
739
742};
743// -------------------------------------------------------------------
744
745class TC_PROTO_API ClubStreamMessageContainer : public ::google::protobuf::Message {
746 public:
749
751
753 CopyFrom(from);
754 return *this;
755 }
756
757 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
758 return _unknown_fields_;
759 }
760
761 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
762 return &_unknown_fields_;
763 }
764
765 static const ::google::protobuf::Descriptor* descriptor();
767
769
770 // implements Message ----------------------------------------------
771
773 int GetCachedSize() const { return _cached_size_; }
774 private:
777 void SetCachedSize(int size) const;
778 public:
779 ::google::protobuf::Metadata GetMetadata() const;
780
781 // nested types ----------------------------------------------------
782
783 // accessors -------------------------------------------------------
784
785 // repeated .bgs.protocol.club.v1.StreamMessage message = 1;
786 inline int message_size() const;
787 inline void clear_message();
788 static const int kMessageFieldNumber = 1;
789 inline const ::bgs::protocol::club::v1::StreamMessage& message(int index) const;
790 inline ::bgs::protocol::club::v1::StreamMessage* mutable_message(int index);
791 inline ::bgs::protocol::club::v1::StreamMessage* add_message();
792 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >&
793 message() const;
794 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >*
795 mutable_message();
796
797 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ClubStreamMessageContainer)
798 private:
799
800 ::google::protobuf::UnknownFieldSet _unknown_fields_;
801
803 mutable int _cached_size_;
804 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > message_;
808
811};
812// -------------------------------------------------------------------
813
814class TC_PROTO_API ContentChain : public ::google::protobuf::Message {
815 public:
817 virtual ~ContentChain();
818
820
821 inline ContentChain& operator=(const ContentChain& from) {
822 CopyFrom(from);
823 return *this;
824 }
825
826 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
827 return _unknown_fields_;
828 }
829
830 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
831 return &_unknown_fields_;
832 }
833
834 static const ::google::protobuf::Descriptor* descriptor();
836
837 void Swap(ContentChain* other);
838
839 // implements Message ----------------------------------------------
840
842 int GetCachedSize() const { return _cached_size_; }
843 private:
846 void SetCachedSize(int size) const;
847 public:
848 ::google::protobuf::Metadata GetMetadata() const;
849
850 // nested types ----------------------------------------------------
851
852 // accessors -------------------------------------------------------
853
854 // optional string content = 5;
855 inline bool has_content() const;
856 inline void clear_content();
857 static const int kContentFieldNumber = 5;
858 inline const ::std::string& content() const;
859 inline void set_content(const ::std::string& value);
860 inline void set_content(const char* value);
861 inline void set_content(const char* value, size_t size);
862 inline ::std::string* mutable_content();
863 inline ::std::string* release_content();
864 inline void set_allocated_content(::std::string* content);
865
866 // repeated .bgs.protocol.EmbedInfo embed = 6;
867 inline int embed_size() const;
868 inline void clear_embed();
869 static const int kEmbedFieldNumber = 6;
870 inline const ::bgs::protocol::EmbedInfo& embed(int index) const;
871 inline ::bgs::protocol::EmbedInfo* mutable_embed(int index);
872 inline ::bgs::protocol::EmbedInfo* add_embed();
873 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >&
874 embed() const;
875 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >*
876 mutable_embed();
877
878 // optional .bgs.protocol.club.v1.MentionContent mention = 7;
879 inline bool has_mention() const;
880 inline void clear_mention();
881 static const int kMentionFieldNumber = 7;
882 inline const ::bgs::protocol::club::v1::MentionContent& mention() const;
883 inline ::bgs::protocol::club::v1::MentionContent* mutable_mention();
884 inline ::bgs::protocol::club::v1::MentionContent* release_mention();
885 inline void set_allocated_mention(::bgs::protocol::club::v1::MentionContent* mention);
886
887 // optional uint64 edit_time = 8;
888 inline bool has_edit_time() const;
889 inline void clear_edit_time();
890 static const int kEditTimeFieldNumber = 8;
891 inline ::google::protobuf::uint64 edit_time() const;
892 inline void set_edit_time(::google::protobuf::uint64 value);
893
894 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.ContentChain)
895 private:
896 inline void set_has_content();
897 inline void clear_has_content();
898 inline void set_has_mention();
899 inline void clear_has_mention();
900 inline void set_has_edit_time();
901 inline void clear_has_edit_time();
902
903 ::google::protobuf::UnknownFieldSet _unknown_fields_;
904
906 mutable int _cached_size_;
907 ::std::string* content_;
908 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_;
914
917};
918// -------------------------------------------------------------------
919
920class TC_PROTO_API StreamMessage : public ::google::protobuf::Message {
921 public:
923 virtual ~StreamMessage();
924
926
927 inline StreamMessage& operator=(const StreamMessage& from) {
928 CopyFrom(from);
929 return *this;
930 }
931
932 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
933 return _unknown_fields_;
934 }
935
936 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
937 return &_unknown_fields_;
938 }
939
940 static const ::google::protobuf::Descriptor* descriptor();
942
943 void Swap(StreamMessage* other);
944
945 // implements Message ----------------------------------------------
946
948 int GetCachedSize() const { return _cached_size_; }
949 private:
952 void SetCachedSize(int size) const;
953 public:
954 ::google::protobuf::Metadata GetMetadata() const;
955
956 // nested types ----------------------------------------------------
957
958 // accessors -------------------------------------------------------
959
960 // optional .bgs.protocol.MessageId id = 3;
961 inline bool has_id() const;
962 inline void clear_id();
963 static const int kIdFieldNumber = 3;
964 inline const ::bgs::protocol::MessageId& id() const;
965 inline ::bgs::protocol::MessageId* mutable_id();
966 inline ::bgs::protocol::MessageId* release_id();
967 inline void set_allocated_id(::bgs::protocol::MessageId* id);
968
969 // optional .bgs.protocol.club.v1.MemberDescription author = 4;
970 inline bool has_author() const;
971 inline void clear_author();
972 static const int kAuthorFieldNumber = 4;
973 inline const ::bgs::protocol::club::v1::MemberDescription& author() const;
974 inline ::bgs::protocol::club::v1::MemberDescription* mutable_author();
975 inline ::bgs::protocol::club::v1::MemberDescription* release_author();
976 inline void set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author);
977
978 // repeated .bgs.protocol.club.v1.ContentChain content_chain = 6;
979 inline int content_chain_size() const;
980 inline void clear_content_chain();
981 static const int kContentChainFieldNumber = 6;
982 inline const ::bgs::protocol::club::v1::ContentChain& content_chain(int index) const;
983 inline ::bgs::protocol::club::v1::ContentChain* mutable_content_chain(int index);
984 inline ::bgs::protocol::club::v1::ContentChain* add_content_chain();
985 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >&
986 content_chain() const;
987 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >*
988 mutable_content_chain();
989
990 // optional .bgs.protocol.club.v1.MemberDescription destroyer = 15;
991 inline bool has_destroyer() const;
992 inline void clear_destroyer();
993 static const int kDestroyerFieldNumber = 15;
994 inline const ::bgs::protocol::club::v1::MemberDescription& destroyer() const;
995 inline ::bgs::protocol::club::v1::MemberDescription* mutable_destroyer();
996 inline ::bgs::protocol::club::v1::MemberDescription* release_destroyer();
997 inline void set_allocated_destroyer(::bgs::protocol::club::v1::MemberDescription* destroyer);
998
999 // optional bool destroyed = 16;
1000 inline bool has_destroyed() const;
1001 inline void clear_destroyed();
1002 static const int kDestroyedFieldNumber = 16;
1003 inline bool destroyed() const;
1004 inline void set_destroyed(bool value);
1005
1006 // optional uint64 destroy_time = 17;
1007 inline bool has_destroy_time() const;
1008 inline void clear_destroy_time();
1009 static const int kDestroyTimeFieldNumber = 17;
1010 inline ::google::protobuf::uint64 destroy_time() const;
1011 inline void set_destroy_time(::google::protobuf::uint64 value);
1012
1013 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMessage)
1014 private:
1015 inline void set_has_id();
1016 inline void clear_has_id();
1017 inline void set_has_author();
1018 inline void clear_has_author();
1019 inline void set_has_destroyer();
1020 inline void clear_has_destroyer();
1021 inline void set_has_destroyed();
1022 inline void clear_has_destroyed();
1023 inline void set_has_destroy_time();
1024 inline void clear_has_destroy_time();
1025
1026 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1027
1029 mutable int _cached_size_;
1032 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain > content_chain_;
1039
1042};
1043// -------------------------------------------------------------------
1044
1045class TC_PROTO_API StreamMention : public ::google::protobuf::Message {
1046 public:
1049
1051
1053 CopyFrom(from);
1054 return *this;
1055 }
1056
1057 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1058 return _unknown_fields_;
1059 }
1060
1061 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1062 return &_unknown_fields_;
1063 }
1064
1065 static const ::google::protobuf::Descriptor* descriptor();
1067
1068 void Swap(StreamMention* other);
1069
1070 // implements Message ----------------------------------------------
1071
1073 int GetCachedSize() const { return _cached_size_; }
1074 private:
1077 void SetCachedSize(int size) const;
1078 public:
1079 ::google::protobuf::Metadata GetMetadata() const;
1080
1081 // nested types ----------------------------------------------------
1082
1083 // accessors -------------------------------------------------------
1084
1085 // optional uint64 club_id = 1;
1086 inline bool has_club_id() const;
1087 inline void clear_club_id();
1088 static const int kClubIdFieldNumber = 1;
1089 inline ::google::protobuf::uint64 club_id() const;
1090 inline void set_club_id(::google::protobuf::uint64 value);
1091
1092 // optional uint64 stream_id = 2;
1093 inline bool has_stream_id() const;
1094 inline void clear_stream_id();
1095 static const int kStreamIdFieldNumber = 2;
1096 inline ::google::protobuf::uint64 stream_id() const;
1097 inline void set_stream_id(::google::protobuf::uint64 value);
1098
1099 // optional .bgs.protocol.MessageId message_id = 3;
1100 inline bool has_message_id() const;
1101 inline void clear_message_id();
1102 static const int kMessageIdFieldNumber = 3;
1103 inline const ::bgs::protocol::MessageId& message_id() const;
1104 inline ::bgs::protocol::MessageId* mutable_message_id();
1105 inline ::bgs::protocol::MessageId* release_message_id();
1106 inline void set_allocated_message_id(::bgs::protocol::MessageId* message_id);
1107
1108 // optional .bgs.protocol.club.v1.MemberDescription author = 4;
1109 inline bool has_author() const;
1110 inline void clear_author();
1111 static const int kAuthorFieldNumber = 4;
1112 inline const ::bgs::protocol::club::v1::MemberDescription& author() const;
1113 inline ::bgs::protocol::club::v1::MemberDescription* mutable_author();
1114 inline ::bgs::protocol::club::v1::MemberDescription* release_author();
1115 inline void set_allocated_author(::bgs::protocol::club::v1::MemberDescription* author);
1116
1117 // optional bool destroyed = 5;
1118 inline bool has_destroyed() const;
1119 inline void clear_destroyed();
1120 static const int kDestroyedFieldNumber = 5;
1121 inline bool destroyed() const;
1122 inline void set_destroyed(bool value);
1123
1124 // optional .bgs.protocol.TimeSeriesId mention_id = 6;
1125 inline bool has_mention_id() const;
1126 inline void clear_mention_id();
1127 static const int kMentionIdFieldNumber = 6;
1128 inline const ::bgs::protocol::TimeSeriesId& mention_id() const;
1129 inline ::bgs::protocol::TimeSeriesId* mutable_mention_id();
1130 inline ::bgs::protocol::TimeSeriesId* release_mention_id();
1131 inline void set_allocated_mention_id(::bgs::protocol::TimeSeriesId* mention_id);
1132
1133 // optional .bgs.protocol.club.v1.MemberId member_id = 7;
1134 inline bool has_member_id() const;
1135 inline void clear_member_id();
1136 static const int kMemberIdFieldNumber = 7;
1137 inline const ::bgs::protocol::club::v1::MemberId& member_id() const;
1138 inline ::bgs::protocol::club::v1::MemberId* mutable_member_id();
1139 inline ::bgs::protocol::club::v1::MemberId* release_member_id();
1140 inline void set_allocated_member_id(::bgs::protocol::club::v1::MemberId* member_id);
1141
1142 // optional .bgs.protocol.club.v1.StreamMessage message = 8;
1143 inline bool has_message() const;
1144 inline void clear_message();
1145 static const int kMessageFieldNumber = 8;
1146 inline const ::bgs::protocol::club::v1::StreamMessage& message() const;
1147 inline ::bgs::protocol::club::v1::StreamMessage* mutable_message();
1148 inline ::bgs::protocol::club::v1::StreamMessage* release_message();
1149 inline void set_allocated_message(::bgs::protocol::club::v1::StreamMessage* message);
1150
1151 // optional .bgs.protocol.club.v1.UniqueClubType club_type = 9;
1152 inline bool has_club_type() const;
1153 inline void clear_club_type();
1154 static const int kClubTypeFieldNumber = 9;
1155 inline const ::bgs::protocol::club::v1::UniqueClubType& club_type() const;
1156 inline ::bgs::protocol::club::v1::UniqueClubType* mutable_club_type();
1157 inline ::bgs::protocol::club::v1::UniqueClubType* release_club_type();
1158 inline void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType* club_type);
1159
1160 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMention)
1161 private:
1162 inline void set_has_club_id();
1163 inline void clear_has_club_id();
1164 inline void set_has_stream_id();
1165 inline void clear_has_stream_id();
1166 inline void set_has_message_id();
1167 inline void clear_has_message_id();
1168 inline void set_has_author();
1169 inline void clear_has_author();
1170 inline void set_has_destroyed();
1171 inline void clear_has_destroyed();
1172 inline void set_has_mention_id();
1173 inline void clear_has_mention_id();
1174 inline void set_has_member_id();
1175 inline void clear_has_member_id();
1176 inline void set_has_message();
1177 inline void clear_has_message();
1178 inline void set_has_club_type();
1179 inline void clear_has_club_type();
1180
1181 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1182
1184 mutable int _cached_size_;
1197
1200};
1201// -------------------------------------------------------------------
1202
1203class TC_PROTO_API StreamView : public ::google::protobuf::Message {
1204 public:
1206 virtual ~StreamView();
1207
1209
1210 inline StreamView& operator=(const StreamView& from) {
1211 CopyFrom(from);
1212 return *this;
1213 }
1214
1215 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1216 return _unknown_fields_;
1217 }
1218
1219 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1220 return &_unknown_fields_;
1221 }
1222
1223 static const ::google::protobuf::Descriptor* descriptor();
1225
1226 void Swap(StreamView* other);
1227
1228 // implements Message ----------------------------------------------
1229
1230 StreamView* New() const;
1231 int GetCachedSize() const { return _cached_size_; }
1232 private:
1235 void SetCachedSize(int size) const;
1236 public:
1237 ::google::protobuf::Metadata GetMetadata() const;
1238
1239 // nested types ----------------------------------------------------
1240
1241 // accessors -------------------------------------------------------
1242
1243 // optional uint64 club_id = 1;
1244 inline bool has_club_id() const;
1245 inline void clear_club_id();
1246 static const int kClubIdFieldNumber = 1;
1247 inline ::google::protobuf::uint64 club_id() const;
1248 inline void set_club_id(::google::protobuf::uint64 value);
1249
1250 // optional uint64 stream_id = 2;
1251 inline bool has_stream_id() const;
1252 inline void clear_stream_id();
1253 static const int kStreamIdFieldNumber = 2;
1254 inline ::google::protobuf::uint64 stream_id() const;
1255 inline void set_stream_id(::google::protobuf::uint64 value);
1256
1257 // optional .bgs.protocol.ViewMarker marker = 3;
1258 inline bool has_marker() const;
1259 inline void clear_marker();
1260 static const int kMarkerFieldNumber = 3;
1261 inline const ::bgs::protocol::ViewMarker& marker() const;
1262 inline ::bgs::protocol::ViewMarker* mutable_marker();
1263 inline ::bgs::protocol::ViewMarker* release_marker();
1264 inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker);
1265
1266 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamView)
1267 private:
1268 inline void set_has_club_id();
1269 inline void clear_has_club_id();
1270 inline void set_has_stream_id();
1271 inline void clear_has_stream_id();
1272 inline void set_has_marker();
1273 inline void clear_has_marker();
1274
1275 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1276
1278 mutable int _cached_size_;
1285
1288};
1289// -------------------------------------------------------------------
1290
1291class TC_PROTO_API StreamAdvanceViewTime : public ::google::protobuf::Message {
1292 public:
1295
1297
1299 CopyFrom(from);
1300 return *this;
1301 }
1302
1303 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1304 return _unknown_fields_;
1305 }
1306
1307 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1308 return &_unknown_fields_;
1309 }
1310
1311 static const ::google::protobuf::Descriptor* descriptor();
1313
1315
1316 // implements Message ----------------------------------------------
1317
1319 int GetCachedSize() const { return _cached_size_; }
1320 private:
1323 void SetCachedSize(int size) const;
1324 public:
1325 ::google::protobuf::Metadata GetMetadata() const;
1326
1327 // nested types ----------------------------------------------------
1328
1329 // accessors -------------------------------------------------------
1330
1331 // optional uint64 stream_id = 1;
1332 inline bool has_stream_id() const;
1333 inline void clear_stream_id();
1334 static const int kStreamIdFieldNumber = 1;
1335 inline ::google::protobuf::uint64 stream_id() const;
1336 inline void set_stream_id(::google::protobuf::uint64 value);
1337
1338 // optional uint64 view_time = 2;
1339 inline bool has_view_time() const;
1340 inline void clear_view_time();
1341 static const int kViewTimeFieldNumber = 2;
1342 inline ::google::protobuf::uint64 view_time() const;
1343 inline void set_view_time(::google::protobuf::uint64 value);
1344
1345 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamAdvanceViewTime)
1346 private:
1347 inline void set_has_stream_id();
1348 inline void clear_has_stream_id();
1349 inline void set_has_view_time();
1350 inline void clear_has_view_time();
1351
1352 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1353
1355 mutable int _cached_size_;
1361
1364};
1365// -------------------------------------------------------------------
1366
1367class TC_PROTO_API StreamEventTime : public ::google::protobuf::Message {
1368 public:
1371
1373
1375 CopyFrom(from);
1376 return *this;
1377 }
1378
1379 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1380 return _unknown_fields_;
1381 }
1382
1383 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1384 return &_unknown_fields_;
1385 }
1386
1387 static const ::google::protobuf::Descriptor* descriptor();
1389
1390 void Swap(StreamEventTime* other);
1391
1392 // implements Message ----------------------------------------------
1393
1395 int GetCachedSize() const { return _cached_size_; }
1396 private:
1399 void SetCachedSize(int size) const;
1400 public:
1401 ::google::protobuf::Metadata GetMetadata() const;
1402
1403 // nested types ----------------------------------------------------
1404
1405 // accessors -------------------------------------------------------
1406
1407 // optional uint64 stream_id = 1;
1408 inline bool has_stream_id() const;
1409 inline void clear_stream_id();
1410 static const int kStreamIdFieldNumber = 1;
1411 inline ::google::protobuf::uint64 stream_id() const;
1412 inline void set_stream_id(::google::protobuf::uint64 value);
1413
1414 // optional uint64 event_time = 2;
1415 inline bool has_event_time() const;
1416 inline void clear_event_time();
1417 static const int kEventTimeFieldNumber = 2;
1418 inline ::google::protobuf::uint64 event_time() const;
1419 inline void set_event_time(::google::protobuf::uint64 value);
1420
1421 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamEventTime)
1422 private:
1423 inline void set_has_stream_id();
1424 inline void clear_has_stream_id();
1425 inline void set_has_event_time();
1426 inline void clear_has_event_time();
1427
1428 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1429
1431 mutable int _cached_size_;
1437
1440};
1441// -------------------------------------------------------------------
1442
1443class TC_PROTO_API StreamMentionView : public ::google::protobuf::Message {
1444 public:
1447
1449
1451 CopyFrom(from);
1452 return *this;
1453 }
1454
1455 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1456 return _unknown_fields_;
1457 }
1458
1459 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1460 return &_unknown_fields_;
1461 }
1462
1463 static const ::google::protobuf::Descriptor* descriptor();
1465
1467
1468 // implements Message ----------------------------------------------
1469
1471 int GetCachedSize() const { return _cached_size_; }
1472 private:
1475 void SetCachedSize(int size) const;
1476 public:
1477 ::google::protobuf::Metadata GetMetadata() const;
1478
1479 // nested types ----------------------------------------------------
1480
1481 // accessors -------------------------------------------------------
1482
1483 // optional uint64 club_id = 1;
1484 inline bool has_club_id() const;
1485 inline void clear_club_id();
1486 static const int kClubIdFieldNumber = 1;
1487 inline ::google::protobuf::uint64 club_id() const;
1488 inline void set_club_id(::google::protobuf::uint64 value);
1489
1490 // optional uint64 stream_id = 2;
1491 inline bool has_stream_id() const;
1492 inline void clear_stream_id();
1493 static const int kStreamIdFieldNumber = 2;
1494 inline ::google::protobuf::uint64 stream_id() const;
1495 inline void set_stream_id(::google::protobuf::uint64 value);
1496
1497 // optional .bgs.protocol.ViewMarker marker = 3;
1498 inline bool has_marker() const;
1499 inline void clear_marker();
1500 static const int kMarkerFieldNumber = 3;
1501 inline const ::bgs::protocol::ViewMarker& marker() const;
1502 inline ::bgs::protocol::ViewMarker* mutable_marker();
1503 inline ::bgs::protocol::ViewMarker* release_marker();
1504 inline void set_allocated_marker(::bgs::protocol::ViewMarker* marker);
1505
1506 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamMentionView)
1507 private:
1508 inline void set_has_club_id();
1509 inline void clear_has_club_id();
1510 inline void set_has_stream_id();
1511 inline void clear_has_stream_id();
1512 inline void set_has_marker();
1513 inline void clear_has_marker();
1514
1515 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1516
1518 mutable int _cached_size_;
1525
1528};
1529// -------------------------------------------------------------------
1530
1531class TC_PROTO_API StreamStateOptions : public ::google::protobuf::Message {
1532 public:
1535
1537
1539 CopyFrom(from);
1540 return *this;
1541 }
1542
1543 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1544 return _unknown_fields_;
1545 }
1546
1547 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1548 return &_unknown_fields_;
1549 }
1550
1551 static const ::google::protobuf::Descriptor* descriptor();
1553
1555
1556 // implements Message ----------------------------------------------
1557
1559 int GetCachedSize() const { return _cached_size_; }
1560 private:
1563 void SetCachedSize(int size) const;
1564 public:
1565 ::google::protobuf::Metadata GetMetadata() const;
1566
1567 // nested types ----------------------------------------------------
1568
1569 // accessors -------------------------------------------------------
1570
1571 // repeated .bgs.protocol.v2.Attribute attribute = 1;
1572 inline int attribute_size() const;
1573 inline void clear_attribute();
1574 static const int kAttributeFieldNumber = 1;
1575 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1576 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1577 inline ::bgs::protocol::v2::Attribute* add_attribute();
1578 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1579 attribute() const;
1580 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1581 mutable_attribute();
1582
1583 // optional string name = 2;
1584 inline bool has_name() const;
1585 inline void clear_name();
1586 static const int kNameFieldNumber = 2;
1587 inline const ::std::string& name() const;
1588 inline void set_name(const ::std::string& value);
1589 inline void set_name(const char* value);
1590 inline void set_name(const char* value, size_t size);
1591 inline ::std::string* mutable_name();
1592 inline ::std::string* release_name();
1593 inline void set_allocated_name(::std::string* name);
1594
1595 // optional string subject = 3;
1596 inline bool has_subject() const;
1597 inline void clear_subject();
1598 static const int kSubjectFieldNumber = 3;
1599 inline const ::std::string& subject() const;
1600 inline void set_subject(const ::std::string& value);
1601 inline void set_subject(const char* value);
1602 inline void set_subject(const char* value, size_t size);
1603 inline ::std::string* mutable_subject();
1604 inline ::std::string* release_subject();
1605 inline void set_allocated_subject(::std::string* subject);
1606
1607 // optional .bgs.protocol.club.v1.StreamAccess access = 4;
1608 inline bool has_access() const;
1609 inline void clear_access();
1610 static const int kAccessFieldNumber = 4;
1611 inline const ::bgs::protocol::club::v1::StreamAccess& access() const;
1612 inline ::bgs::protocol::club::v1::StreamAccess* mutable_access();
1613 inline ::bgs::protocol::club::v1::StreamAccess* release_access();
1614 inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access);
1615
1616 // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5;
1617 inline bool has_voice_level() const;
1618 inline void clear_voice_level();
1619 static const int kVoiceLevelFieldNumber = 5;
1621 inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value);
1622
1623 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamStateOptions)
1624 private:
1625 inline void set_has_name();
1626 inline void clear_has_name();
1627 inline void set_has_subject();
1628 inline void clear_has_subject();
1629 inline void set_has_access();
1630 inline void clear_has_access();
1631 inline void set_has_voice_level();
1632 inline void clear_has_voice_level();
1633
1634 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1635
1637 mutable int _cached_size_;
1638 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1639 ::std::string* name_;
1640 ::std::string* subject_;
1646
1649};
1650// -------------------------------------------------------------------
1651
1652class TC_PROTO_API StreamStateAssignment : public ::google::protobuf::Message {
1653 public:
1656
1658
1660 CopyFrom(from);
1661 return *this;
1662 }
1663
1664 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1665 return _unknown_fields_;
1666 }
1667
1668 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1669 return &_unknown_fields_;
1670 }
1671
1672 static const ::google::protobuf::Descriptor* descriptor();
1674
1676
1677 // implements Message ----------------------------------------------
1678
1680 int GetCachedSize() const { return _cached_size_; }
1681 private:
1684 void SetCachedSize(int size) const;
1685 public:
1686 ::google::protobuf::Metadata GetMetadata() const;
1687
1688 // nested types ----------------------------------------------------
1689
1690 // accessors -------------------------------------------------------
1691
1692 // optional uint64 stream_id = 1;
1693 inline bool has_stream_id() const;
1694 inline void clear_stream_id();
1695 static const int kStreamIdFieldNumber = 1;
1696 inline ::google::protobuf::uint64 stream_id() const;
1697 inline void set_stream_id(::google::protobuf::uint64 value);
1698
1699 // repeated .bgs.protocol.v2.Attribute attribute = 2;
1700 inline int attribute_size() const;
1701 inline void clear_attribute();
1702 static const int kAttributeFieldNumber = 2;
1703 inline const ::bgs::protocol::v2::Attribute& attribute(int index) const;
1704 inline ::bgs::protocol::v2::Attribute* mutable_attribute(int index);
1705 inline ::bgs::protocol::v2::Attribute* add_attribute();
1706 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1707 attribute() const;
1708 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1709 mutable_attribute();
1710
1711 // optional string name = 3;
1712 inline bool has_name() const;
1713 inline void clear_name();
1714 static const int kNameFieldNumber = 3;
1715 inline const ::std::string& name() const;
1716 inline void set_name(const ::std::string& value);
1717 inline void set_name(const char* value);
1718 inline void set_name(const char* value, size_t size);
1719 inline ::std::string* mutable_name();
1720 inline ::std::string* release_name();
1721 inline void set_allocated_name(::std::string* name);
1722
1723 // optional string subject = 4;
1724 inline bool has_subject() const;
1725 inline void clear_subject();
1726 static const int kSubjectFieldNumber = 4;
1727 inline const ::std::string& subject() const;
1728 inline void set_subject(const ::std::string& value);
1729 inline void set_subject(const char* value);
1730 inline void set_subject(const char* value, size_t size);
1731 inline ::std::string* mutable_subject();
1732 inline ::std::string* release_subject();
1733 inline void set_allocated_subject(::std::string* subject);
1734
1735 // optional .bgs.protocol.club.v1.StreamAccess access = 5;
1736 inline bool has_access() const;
1737 inline void clear_access();
1738 static const int kAccessFieldNumber = 5;
1739 inline const ::bgs::protocol::club::v1::StreamAccess& access() const;
1740 inline ::bgs::protocol::club::v1::StreamAccess* mutable_access();
1741 inline ::bgs::protocol::club::v1::StreamAccess* release_access();
1742 inline void set_allocated_access(::bgs::protocol::club::v1::StreamAccess* access);
1743
1744 // optional bool stream_subscription_removed = 6;
1745 inline bool has_stream_subscription_removed() const;
1746 inline void clear_stream_subscription_removed();
1747 static const int kStreamSubscriptionRemovedFieldNumber = 6;
1748 inline bool stream_subscription_removed() const;
1749 inline void set_stream_subscription_removed(bool value);
1750
1751 // optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7;
1752 inline bool has_voice_level() const;
1753 inline void clear_voice_level();
1754 static const int kVoiceLevelFieldNumber = 7;
1756 inline void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value);
1757
1758 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamStateAssignment)
1759 private:
1760 inline void set_has_stream_id();
1761 inline void clear_has_stream_id();
1762 inline void set_has_name();
1763 inline void clear_has_name();
1764 inline void set_has_subject();
1765 inline void clear_has_subject();
1766 inline void set_has_access();
1767 inline void clear_has_access();
1768 inline void set_has_stream_subscription_removed();
1769 inline void clear_has_stream_subscription_removed();
1770 inline void set_has_voice_level();
1771 inline void clear_has_voice_level();
1772
1773 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1774
1776 mutable int _cached_size_;
1778 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_;
1779 ::std::string* name_;
1780 ::std::string* subject_;
1787
1790};
1791// -------------------------------------------------------------------
1792
1793class TC_PROTO_API StreamTypingIndicator : public ::google::protobuf::Message {
1794 public:
1797
1799
1801 CopyFrom(from);
1802 return *this;
1803 }
1804
1805 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1806 return _unknown_fields_;
1807 }
1808
1809 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1810 return &_unknown_fields_;
1811 }
1812
1813 static const ::google::protobuf::Descriptor* descriptor();
1815
1817
1818 // implements Message ----------------------------------------------
1819
1821 int GetCachedSize() const { return _cached_size_; }
1822 private:
1825 void SetCachedSize(int size) const;
1826 public:
1827 ::google::protobuf::Metadata GetMetadata() const;
1828
1829 // nested types ----------------------------------------------------
1830
1831 // accessors -------------------------------------------------------
1832
1833 // optional .bgs.protocol.club.v1.MemberId author_id = 1;
1834 inline bool has_author_id() const;
1835 inline void clear_author_id();
1836 static const int kAuthorIdFieldNumber = 1;
1837 inline const ::bgs::protocol::club::v1::MemberId& author_id() const;
1838 inline ::bgs::protocol::club::v1::MemberId* mutable_author_id();
1839 inline ::bgs::protocol::club::v1::MemberId* release_author_id();
1840 inline void set_allocated_author_id(::bgs::protocol::club::v1::MemberId* author_id);
1841
1842 // optional .bgs.protocol.TypingIndicator indicator = 2;
1843 inline bool has_indicator() const;
1844 inline void clear_indicator();
1845 static const int kIndicatorFieldNumber = 2;
1847 inline void set_indicator(::bgs::protocol::TypingIndicator value);
1848
1849 // optional uint64 epoch = 3;
1850 inline bool has_epoch() const;
1851 inline void clear_epoch();
1852 static const int kEpochFieldNumber = 3;
1854 inline void set_epoch(::google::protobuf::uint64 value);
1855
1856 // @@protoc_insertion_point(class_scope:bgs.protocol.club.v1.StreamTypingIndicator)
1857 private:
1858 inline void set_has_author_id();
1859 inline void clear_has_author_id();
1860 inline void set_has_indicator();
1861 inline void clear_has_indicator();
1862 inline void set_has_epoch();
1863 inline void clear_has_epoch();
1864
1865 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1866
1868 mutable int _cached_size_;
1875
1878};
1879// ===================================================================
1880
1881// ===================================================================
1882
1883// ===================================================================
1884
1885// StreamPosition
1886
1887// repeated uint64 stream_id = 1 [packed = true];
1889 return stream_id_.size();
1890}
1892 stream_id_.Clear();
1893}
1895 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamPosition.stream_id)
1896 return stream_id_.Get(index);
1897}
1899 stream_id_.Set(index, value);
1900 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamPosition.stream_id)
1901}
1903 stream_id_.Add(value);
1904 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamPosition.stream_id)
1905}
1906inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1908 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamPosition.stream_id)
1909 return stream_id_;
1910}
1911inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1913 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamPosition.stream_id)
1914 return &stream_id_;
1915}
1916
1917// -------------------------------------------------------------------
1918
1919// StreamAccess
1920
1921// repeated uint32 role = 1 [packed = true];
1922inline int StreamAccess::role_size() const {
1923 return role_.size();
1924}
1926 role_.Clear();
1927}
1929 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAccess.role)
1930 return role_.Get(index);
1931}
1933 role_.Set(index, value);
1934 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAccess.role)
1935}
1937 role_.Add(value);
1938 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamAccess.role)
1939}
1940inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1942 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamAccess.role)
1943 return role_;
1944}
1945inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1947 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamAccess.role)
1948 return &role_;
1949}
1950
1951// -------------------------------------------------------------------
1952
1953// CreateStreamOptions
1954
1955// repeated .bgs.protocol.v2.Attribute attribute = 1;
1957 return attribute_.size();
1958}
1960 attribute_.Clear();
1961}
1962inline const ::bgs::protocol::v2::Attribute& CreateStreamOptions::attribute(int index) const {
1963 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.attribute)
1964 return attribute_.Get(index);
1965}
1966inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::mutable_attribute(int index) {
1967 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.attribute)
1968 return attribute_.Mutable(index);
1969}
1970inline ::bgs::protocol::v2::Attribute* CreateStreamOptions::add_attribute() {
1971 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.CreateStreamOptions.attribute)
1972 return attribute_.Add();
1973}
1974inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
1976 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.CreateStreamOptions.attribute)
1977 return attribute_;
1978}
1979inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
1981 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.CreateStreamOptions.attribute)
1982 return &attribute_;
1983}
1984
1985// optional string name = 2;
1987 return (_has_bits_[0] & 0x00000002u) != 0;
1988}
1990 _has_bits_[0] |= 0x00000002u;
1991}
1993 _has_bits_[0] &= ~0x00000002u;
1994}
1996 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1997 name_->clear();
1998 }
2000}
2001inline const ::std::string& CreateStreamOptions::name() const {
2002 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.name)
2003 return *name_;
2004}
2005inline void CreateStreamOptions::set_name(const ::std::string& value) {
2006 set_has_name();
2007 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2008 name_ = new ::std::string;
2009 }
2010 name_->assign(value);
2011 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.name)
2012}
2013inline void CreateStreamOptions::set_name(const char* value) {
2014 set_has_name();
2015 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2016 name_ = new ::std::string;
2017 }
2018 name_->assign(value);
2019 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateStreamOptions.name)
2020}
2021inline void CreateStreamOptions::set_name(const char* value, size_t size) {
2022 set_has_name();
2023 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2024 name_ = new ::std::string;
2025 }
2026 name_->assign(reinterpret_cast<const char*>(value), size);
2027 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateStreamOptions.name)
2028}
2029inline ::std::string* CreateStreamOptions::mutable_name() {
2030 set_has_name();
2031 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2032 name_ = new ::std::string;
2033 }
2034 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.name)
2035 return name_;
2036}
2037inline ::std::string* CreateStreamOptions::release_name() {
2039 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2040 return NULL;
2041 } else {
2042 ::std::string* temp = name_;
2043 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2044 return temp;
2045 }
2046}
2047inline void CreateStreamOptions::set_allocated_name(::std::string* name) {
2048 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2049 delete name_;
2050 }
2051 if (name) {
2052 set_has_name();
2053 name_ = name;
2054 } else {
2056 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2057 }
2058 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.name)
2059}
2060
2061// optional string subject = 3;
2063 return (_has_bits_[0] & 0x00000004u) != 0;
2064}
2066 _has_bits_[0] |= 0x00000004u;
2067}
2069 _has_bits_[0] &= ~0x00000004u;
2070}
2072 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2073 subject_->clear();
2074 }
2076}
2077inline const ::std::string& CreateStreamOptions::subject() const {
2078 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.subject)
2079 return *subject_;
2080}
2081inline void CreateStreamOptions::set_subject(const ::std::string& value) {
2083 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2084 subject_ = new ::std::string;
2085 }
2086 subject_->assign(value);
2087 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.subject)
2088}
2089inline void CreateStreamOptions::set_subject(const char* value) {
2091 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2092 subject_ = new ::std::string;
2093 }
2094 subject_->assign(value);
2095 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateStreamOptions.subject)
2096}
2097inline void CreateStreamOptions::set_subject(const char* value, size_t size) {
2099 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2100 subject_ = new ::std::string;
2101 }
2102 subject_->assign(reinterpret_cast<const char*>(value), size);
2103 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateStreamOptions.subject)
2104}
2107 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2108 subject_ = new ::std::string;
2109 }
2110 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.subject)
2111 return subject_;
2112}
2115 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2116 return NULL;
2117 } else {
2118 ::std::string* temp = subject_;
2119 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2120 return temp;
2121 }
2122}
2123inline void CreateStreamOptions::set_allocated_subject(::std::string* subject) {
2124 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2125 delete subject_;
2126 }
2127 if (subject) {
2129 subject_ = subject;
2130 } else {
2132 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2133 }
2134 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.subject)
2135}
2136
2137// optional .bgs.protocol.club.v1.StreamAccess access = 4;
2139 return (_has_bits_[0] & 0x00000008u) != 0;
2140}
2142 _has_bits_[0] |= 0x00000008u;
2143}
2145 _has_bits_[0] &= ~0x00000008u;
2146}
2148 if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear();
2150}
2151inline const ::bgs::protocol::club::v1::StreamAccess& CreateStreamOptions::access() const {
2152 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.access)
2153 return access_ != NULL ? *access_ : *default_instance_->access_;
2154}
2155inline ::bgs::protocol::club::v1::StreamAccess* CreateStreamOptions::mutable_access() {
2157 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess;
2158 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateStreamOptions.access)
2159 return access_;
2160}
2161inline ::bgs::protocol::club::v1::StreamAccess* CreateStreamOptions::release_access() {
2164 access_ = NULL;
2165 return temp;
2166}
2168 delete access_;
2169 access_ = access;
2170 if (access) {
2172 } else {
2174 }
2175 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateStreamOptions.access)
2176}
2177
2178// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5;
2180 return (_has_bits_[0] & 0x00000010u) != 0;
2181}
2183 _has_bits_[0] |= 0x00000010u;
2184}
2186 _has_bits_[0] &= ~0x00000010u;
2187}
2189 voice_level_ = 0;
2191}
2193 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateStreamOptions.voice_level)
2195}
2199 voice_level_ = value;
2200 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateStreamOptions.voice_level)
2201}
2202
2203// -------------------------------------------------------------------
2204
2205// Stream
2206
2207// optional uint64 club_id = 1;
2208inline bool Stream::has_club_id() const {
2209 return (_has_bits_[0] & 0x00000001u) != 0;
2210}
2212 _has_bits_[0] |= 0x00000001u;
2213}
2215 _has_bits_[0] &= ~0x00000001u;
2216}
2218 club_id_ = GOOGLE_ULONGLONG(0);
2220}
2222 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.club_id)
2223 return club_id_;
2224}
2227 club_id_ = value;
2228 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.club_id)
2229}
2230
2231// optional uint64 id = 2;
2232inline bool Stream::has_id() const {
2233 return (_has_bits_[0] & 0x00000002u) != 0;
2234}
2235inline void Stream::set_has_id() {
2236 _has_bits_[0] |= 0x00000002u;
2237}
2239 _has_bits_[0] &= ~0x00000002u;
2240}
2241inline void Stream::clear_id() {
2242 id_ = GOOGLE_ULONGLONG(0);
2243 clear_has_id();
2244}
2246 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.id)
2247 return id_;
2248}
2250 set_has_id();
2251 id_ = value;
2252 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.id)
2253}
2254
2255// repeated .bgs.protocol.v2.Attribute attribute = 3;
2256inline int Stream::attribute_size() const {
2257 return attribute_.size();
2258}
2260 attribute_.Clear();
2261}
2262inline const ::bgs::protocol::v2::Attribute& Stream::attribute(int index) const {
2263 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.attribute)
2264 return attribute_.Get(index);
2265}
2266inline ::bgs::protocol::v2::Attribute* Stream::mutable_attribute(int index) {
2267 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.attribute)
2268 return attribute_.Mutable(index);
2269}
2270inline ::bgs::protocol::v2::Attribute* Stream::add_attribute() {
2271 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.Stream.attribute)
2272 return attribute_.Add();
2273}
2274inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
2276 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.Stream.attribute)
2277 return attribute_;
2278}
2279inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
2281 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.Stream.attribute)
2282 return &attribute_;
2283}
2284
2285// optional string name = 4;
2286inline bool Stream::has_name() const {
2287 return (_has_bits_[0] & 0x00000008u) != 0;
2288}
2290 _has_bits_[0] |= 0x00000008u;
2291}
2293 _has_bits_[0] &= ~0x00000008u;
2294}
2295inline void Stream::clear_name() {
2296 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2297 name_->clear();
2298 }
2300}
2301inline const ::std::string& Stream::name() const {
2302 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.name)
2303 return *name_;
2304}
2305inline void Stream::set_name(const ::std::string& value) {
2306 set_has_name();
2307 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2308 name_ = new ::std::string;
2309 }
2310 name_->assign(value);
2311 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.name)
2312}
2313inline void Stream::set_name(const char* value) {
2314 set_has_name();
2315 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2316 name_ = new ::std::string;
2317 }
2318 name_->assign(value);
2319 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Stream.name)
2320}
2321inline void Stream::set_name(const char* value, size_t size) {
2322 set_has_name();
2323 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2324 name_ = new ::std::string;
2325 }
2326 name_->assign(reinterpret_cast<const char*>(value), size);
2327 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Stream.name)
2328}
2329inline ::std::string* Stream::mutable_name() {
2330 set_has_name();
2331 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2332 name_ = new ::std::string;
2333 }
2334 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.name)
2335 return name_;
2336}
2337inline ::std::string* Stream::release_name() {
2339 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2340 return NULL;
2341 } else {
2342 ::std::string* temp = name_;
2343 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2344 return temp;
2345 }
2346}
2347inline void Stream::set_allocated_name(::std::string* name) {
2348 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2349 delete name_;
2350 }
2351 if (name) {
2352 set_has_name();
2353 name_ = name;
2354 } else {
2356 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2357 }
2358 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.name)
2359}
2360
2361// optional string subject = 5;
2362inline bool Stream::has_subject() const {
2363 return (_has_bits_[0] & 0x00000010u) != 0;
2364}
2366 _has_bits_[0] |= 0x00000010u;
2367}
2369 _has_bits_[0] &= ~0x00000010u;
2370}
2372 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2373 subject_->clear();
2374 }
2376}
2377inline const ::std::string& Stream::subject() const {
2378 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.subject)
2379 return *subject_;
2380}
2381inline void Stream::set_subject(const ::std::string& value) {
2383 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2384 subject_ = new ::std::string;
2385 }
2386 subject_->assign(value);
2387 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.subject)
2388}
2389inline void Stream::set_subject(const char* value) {
2391 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2392 subject_ = new ::std::string;
2393 }
2394 subject_->assign(value);
2395 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.Stream.subject)
2396}
2397inline void Stream::set_subject(const char* value, size_t size) {
2399 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2400 subject_ = new ::std::string;
2401 }
2402 subject_->assign(reinterpret_cast<const char*>(value), size);
2403 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.Stream.subject)
2404}
2405inline ::std::string* Stream::mutable_subject() {
2407 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2408 subject_ = new ::std::string;
2409 }
2410 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.subject)
2411 return subject_;
2412}
2413inline ::std::string* Stream::release_subject() {
2415 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2416 return NULL;
2417 } else {
2418 ::std::string* temp = subject_;
2419 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2420 return temp;
2421 }
2422}
2423inline void Stream::set_allocated_subject(::std::string* subject) {
2424 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2425 delete subject_;
2426 }
2427 if (subject) {
2429 subject_ = subject;
2430 } else {
2432 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2433 }
2434 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.subject)
2435}
2436
2437// optional .bgs.protocol.club.v1.StreamAccess access = 6;
2438inline bool Stream::has_access() const {
2439 return (_has_bits_[0] & 0x00000020u) != 0;
2440}
2442 _has_bits_[0] |= 0x00000020u;
2443}
2445 _has_bits_[0] &= ~0x00000020u;
2446}
2448 if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear();
2450}
2451inline const ::bgs::protocol::club::v1::StreamAccess& Stream::access() const {
2452 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.access)
2453 return access_ != NULL ? *access_ : *default_instance_->access_;
2454}
2455inline ::bgs::protocol::club::v1::StreamAccess* Stream::mutable_access() {
2457 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess;
2458 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.Stream.access)
2459 return access_;
2460}
2461inline ::bgs::protocol::club::v1::StreamAccess* Stream::release_access() {
2464 access_ = NULL;
2465 return temp;
2466}
2468 delete access_;
2469 access_ = access;
2470 if (access) {
2472 } else {
2474 }
2475 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.Stream.access)
2476}
2477
2478// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7;
2479inline bool Stream::has_voice_level() const {
2480 return (_has_bits_[0] & 0x00000040u) != 0;
2481}
2483 _has_bits_[0] |= 0x00000040u;
2484}
2486 _has_bits_[0] &= ~0x00000040u;
2487}
2489 voice_level_ = 0;
2491}
2493 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.voice_level)
2495}
2499 voice_level_ = value;
2500 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.voice_level)
2501}
2502
2503// optional uint64 creation_time = 8;
2504inline bool Stream::has_creation_time() const {
2505 return (_has_bits_[0] & 0x00000080u) != 0;
2506}
2508 _has_bits_[0] |= 0x00000080u;
2509}
2511 _has_bits_[0] &= ~0x00000080u;
2512}
2514 creation_time_ = GOOGLE_ULONGLONG(0);
2516}
2518 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.Stream.creation_time)
2519 return creation_time_;
2520}
2523 creation_time_ = value;
2524 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.Stream.creation_time)
2525}
2526
2527// -------------------------------------------------------------------
2528
2529// StreamDescription
2530
2531// optional uint64 id = 2;
2532inline bool StreamDescription::has_id() const {
2533 return (_has_bits_[0] & 0x00000001u) != 0;
2534}
2536 _has_bits_[0] |= 0x00000001u;
2537}
2539 _has_bits_[0] &= ~0x00000001u;
2540}
2542 id_ = GOOGLE_ULONGLONG(0);
2543 clear_has_id();
2544}
2546 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamDescription.id)
2547 return id_;
2548}
2550 set_has_id();
2551 id_ = value;
2552 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamDescription.id)
2553}
2554
2555// optional string name = 4;
2556inline bool StreamDescription::has_name() const {
2557 return (_has_bits_[0] & 0x00000002u) != 0;
2558}
2560 _has_bits_[0] |= 0x00000002u;
2561}
2563 _has_bits_[0] &= ~0x00000002u;
2564}
2566 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2567 name_->clear();
2568 }
2570}
2571inline const ::std::string& StreamDescription::name() const {
2572 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamDescription.name)
2573 return *name_;
2574}
2575inline void StreamDescription::set_name(const ::std::string& value) {
2576 set_has_name();
2577 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2578 name_ = new ::std::string;
2579 }
2580 name_->assign(value);
2581 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamDescription.name)
2582}
2583inline void StreamDescription::set_name(const char* value) {
2584 set_has_name();
2585 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2586 name_ = new ::std::string;
2587 }
2588 name_->assign(value);
2589 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamDescription.name)
2590}
2591inline void StreamDescription::set_name(const char* value, size_t size) {
2592 set_has_name();
2593 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2594 name_ = new ::std::string;
2595 }
2596 name_->assign(reinterpret_cast<const char*>(value), size);
2597 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamDescription.name)
2598}
2599inline ::std::string* StreamDescription::mutable_name() {
2600 set_has_name();
2601 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2602 name_ = new ::std::string;
2603 }
2604 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamDescription.name)
2605 return name_;
2606}
2607inline ::std::string* StreamDescription::release_name() {
2609 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2610 return NULL;
2611 } else {
2612 ::std::string* temp = name_;
2613 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2614 return temp;
2615 }
2616}
2617inline void StreamDescription::set_allocated_name(::std::string* name) {
2618 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2619 delete name_;
2620 }
2621 if (name) {
2622 set_has_name();
2623 name_ = name;
2624 } else {
2626 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2627 }
2628 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamDescription.name)
2629}
2630
2631// -------------------------------------------------------------------
2632
2633// MentionContent
2634
2635// optional bool all = 1;
2636inline bool MentionContent::has_all() const {
2637 return (_has_bits_[0] & 0x00000001u) != 0;
2638}
2640 _has_bits_[0] |= 0x00000001u;
2641}
2643 _has_bits_[0] &= ~0x00000001u;
2644}
2646 all_ = false;
2647 clear_has_all();
2648}
2649inline bool MentionContent::all() const {
2650 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.all)
2651 return all_;
2652}
2653inline void MentionContent::set_all(bool value) {
2654 set_has_all();
2655 all_ = value;
2656 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MentionContent.all)
2657}
2658
2659// optional bool here = 2;
2660inline bool MentionContent::has_here() const {
2661 return (_has_bits_[0] & 0x00000002u) != 0;
2662}
2664 _has_bits_[0] |= 0x00000002u;
2665}
2667 _has_bits_[0] &= ~0x00000002u;
2668}
2670 here_ = false;
2672}
2673inline bool MentionContent::here() const {
2674 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.here)
2675 return here_;
2676}
2677inline void MentionContent::set_here(bool value) {
2678 set_has_here();
2679 here_ = value;
2680 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MentionContent.here)
2681}
2682
2683// repeated .bgs.protocol.club.v1.MemberId member_id = 3;
2685 return member_id_.size();
2686}
2688 member_id_.Clear();
2689}
2690inline const ::bgs::protocol::club::v1::MemberId& MentionContent::member_id(int index) const {
2691 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.member_id)
2692 return member_id_.Get(index);
2693}
2694inline ::bgs::protocol::club::v1::MemberId* MentionContent::mutable_member_id(int index) {
2695 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.MentionContent.member_id)
2696 return member_id_.Mutable(index);
2697}
2698inline ::bgs::protocol::club::v1::MemberId* MentionContent::add_member_id() {
2699 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MentionContent.member_id)
2700 return member_id_.Add();
2701}
2702inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >&
2704 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MentionContent.member_id)
2705 return member_id_;
2706}
2707inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId >*
2709 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MentionContent.member_id)
2710 return &member_id_;
2711}
2712
2713// repeated uint32 role = 4 [packed = true];
2714inline int MentionContent::role_size() const {
2715 return role_.size();
2716}
2718 role_.Clear();
2719}
2721 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.MentionContent.role)
2722 return role_.Get(index);
2723}
2725 role_.Set(index, value);
2726 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.MentionContent.role)
2727}
2729 role_.Add(value);
2730 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.MentionContent.role)
2731}
2732inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2734 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.MentionContent.role)
2735 return role_;
2736}
2737inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2739 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.MentionContent.role)
2740 return &role_;
2741}
2742
2743// -------------------------------------------------------------------
2744
2745// CreateMessageOptions
2746
2747// optional string content = 2;
2749 return (_has_bits_[0] & 0x00000001u) != 0;
2750}
2752 _has_bits_[0] |= 0x00000001u;
2753}
2755 _has_bits_[0] &= ~0x00000001u;
2756}
2758 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2759 content_->clear();
2760 }
2762}
2763inline const ::std::string& CreateMessageOptions::content() const {
2764 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageOptions.content)
2765 return *content_;
2766}
2767inline void CreateMessageOptions::set_content(const ::std::string& value) {
2769 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2770 content_ = new ::std::string;
2771 }
2772 content_->assign(value);
2773 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.CreateMessageOptions.content)
2774}
2775inline void CreateMessageOptions::set_content(const char* value) {
2777 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2778 content_ = new ::std::string;
2779 }
2780 content_->assign(value);
2781 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.CreateMessageOptions.content)
2782}
2783inline void CreateMessageOptions::set_content(const char* value, size_t size) {
2785 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2786 content_ = new ::std::string;
2787 }
2788 content_->assign(reinterpret_cast<const char*>(value), size);
2789 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.CreateMessageOptions.content)
2790}
2793 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2794 content_ = new ::std::string;
2795 }
2796 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageOptions.content)
2797 return content_;
2798}
2801 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2802 return NULL;
2803 } else {
2804 ::std::string* temp = content_;
2805 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2806 return temp;
2807 }
2808}
2809inline void CreateMessageOptions::set_allocated_content(::std::string* content) {
2810 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2811 delete content_;
2812 }
2813 if (content) {
2815 content_ = content;
2816 } else {
2818 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2819 }
2820 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageOptions.content)
2821}
2822
2823// optional .bgs.protocol.club.v1.MentionContent mention = 3;
2825 return (_has_bits_[0] & 0x00000002u) != 0;
2826}
2828 _has_bits_[0] |= 0x00000002u;
2829}
2831 _has_bits_[0] &= ~0x00000002u;
2832}
2834 if (mention_ != NULL) mention_->::bgs::protocol::club::v1::MentionContent::Clear();
2836}
2837inline const ::bgs::protocol::club::v1::MentionContent& CreateMessageOptions::mention() const {
2838 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.CreateMessageOptions.mention)
2839 return mention_ != NULL ? *mention_ : *default_instance_->mention_;
2840}
2841inline ::bgs::protocol::club::v1::MentionContent* CreateMessageOptions::mutable_mention() {
2843 if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::MentionContent;
2844 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.CreateMessageOptions.mention)
2845 return mention_;
2846}
2847inline ::bgs::protocol::club::v1::MentionContent* CreateMessageOptions::release_mention() {
2850 mention_ = NULL;
2851 return temp;
2852}
2854 delete mention_;
2855 mention_ = mention;
2856 if (mention) {
2858 } else {
2860 }
2861 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.CreateMessageOptions.mention)
2862}
2863
2864// -------------------------------------------------------------------
2865
2866// ClubStreamMessageContainer
2867
2868// repeated .bgs.protocol.club.v1.StreamMessage message = 1;
2870 return message_.size();
2871}
2873 message_.Clear();
2874}
2875inline const ::bgs::protocol::club::v1::StreamMessage& ClubStreamMessageContainer::message(int index) const {
2876 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ClubStreamMessageContainer.message)
2877 return message_.Get(index);
2878}
2879inline ::bgs::protocol::club::v1::StreamMessage* ClubStreamMessageContainer::mutable_message(int index) {
2880 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ClubStreamMessageContainer.message)
2881 return message_.Mutable(index);
2882}
2883inline ::bgs::protocol::club::v1::StreamMessage* ClubStreamMessageContainer::add_message() {
2884 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ClubStreamMessageContainer.message)
2885 return message_.Add();
2886}
2887inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >&
2889 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ClubStreamMessageContainer.message)
2890 return message_;
2891}
2892inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage >*
2894 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ClubStreamMessageContainer.message)
2895 return &message_;
2896}
2897
2898// -------------------------------------------------------------------
2899
2900// ContentChain
2901
2902// optional string content = 5;
2903inline bool ContentChain::has_content() const {
2904 return (_has_bits_[0] & 0x00000001u) != 0;
2905}
2907 _has_bits_[0] |= 0x00000001u;
2908}
2910 _has_bits_[0] &= ~0x00000001u;
2911}
2913 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2914 content_->clear();
2915 }
2917}
2918inline const ::std::string& ContentChain::content() const {
2919 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.content)
2920 return *content_;
2921}
2922inline void ContentChain::set_content(const ::std::string& value) {
2924 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2925 content_ = new ::std::string;
2926 }
2927 content_->assign(value);
2928 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ContentChain.content)
2929}
2930inline void ContentChain::set_content(const char* value) {
2932 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2933 content_ = new ::std::string;
2934 }
2935 content_->assign(value);
2936 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.ContentChain.content)
2937}
2938inline void ContentChain::set_content(const char* value, size_t size) {
2940 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2941 content_ = new ::std::string;
2942 }
2943 content_->assign(reinterpret_cast<const char*>(value), size);
2944 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.ContentChain.content)
2945}
2946inline ::std::string* ContentChain::mutable_content() {
2948 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2949 content_ = new ::std::string;
2950 }
2951 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ContentChain.content)
2952 return content_;
2953}
2954inline ::std::string* ContentChain::release_content() {
2956 if (content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2957 return NULL;
2958 } else {
2959 ::std::string* temp = content_;
2960 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2961 return temp;
2962 }
2963}
2964inline void ContentChain::set_allocated_content(::std::string* content) {
2965 if (content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2966 delete content_;
2967 }
2968 if (content) {
2970 content_ = content;
2971 } else {
2973 content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2974 }
2975 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ContentChain.content)
2976}
2977
2978// repeated .bgs.protocol.EmbedInfo embed = 6;
2979inline int ContentChain::embed_size() const {
2980 return embed_.size();
2981}
2983 embed_.Clear();
2984}
2985inline const ::bgs::protocol::EmbedInfo& ContentChain::embed(int index) const {
2986 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.embed)
2987 return embed_.Get(index);
2988}
2989inline ::bgs::protocol::EmbedInfo* ContentChain::mutable_embed(int index) {
2990 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ContentChain.embed)
2991 return embed_.Mutable(index);
2992}
2993inline ::bgs::protocol::EmbedInfo* ContentChain::add_embed() {
2994 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.ContentChain.embed)
2995 return embed_.Add();
2996}
2997inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >&
2999 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.ContentChain.embed)
3000 return embed_;
3001}
3002inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo >*
3004 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.ContentChain.embed)
3005 return &embed_;
3006}
3007
3008// optional .bgs.protocol.club.v1.MentionContent mention = 7;
3009inline bool ContentChain::has_mention() const {
3010 return (_has_bits_[0] & 0x00000004u) != 0;
3011}
3013 _has_bits_[0] |= 0x00000004u;
3014}
3016 _has_bits_[0] &= ~0x00000004u;
3017}
3019 if (mention_ != NULL) mention_->::bgs::protocol::club::v1::MentionContent::Clear();
3021}
3022inline const ::bgs::protocol::club::v1::MentionContent& ContentChain::mention() const {
3023 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.mention)
3024 return mention_ != NULL ? *mention_ : *default_instance_->mention_;
3025}
3026inline ::bgs::protocol::club::v1::MentionContent* ContentChain::mutable_mention() {
3028 if (mention_ == NULL) mention_ = new ::bgs::protocol::club::v1::MentionContent;
3029 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.ContentChain.mention)
3030 return mention_;
3031}
3032inline ::bgs::protocol::club::v1::MentionContent* ContentChain::release_mention() {
3035 mention_ = NULL;
3036 return temp;
3037}
3039 delete mention_;
3040 mention_ = mention;
3041 if (mention) {
3043 } else {
3045 }
3046 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.ContentChain.mention)
3047}
3048
3049// optional uint64 edit_time = 8;
3050inline bool ContentChain::has_edit_time() const {
3051 return (_has_bits_[0] & 0x00000008u) != 0;
3052}
3054 _has_bits_[0] |= 0x00000008u;
3055}
3057 _has_bits_[0] &= ~0x00000008u;
3058}
3060 edit_time_ = GOOGLE_ULONGLONG(0);
3062}
3064 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.ContentChain.edit_time)
3065 return edit_time_;
3066}
3069 edit_time_ = value;
3070 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.ContentChain.edit_time)
3071}
3072
3073// -------------------------------------------------------------------
3074
3075// StreamMessage
3076
3077// optional .bgs.protocol.MessageId id = 3;
3078inline bool StreamMessage::has_id() const {
3079 return (_has_bits_[0] & 0x00000001u) != 0;
3080}
3082 _has_bits_[0] |= 0x00000001u;
3083}
3085 _has_bits_[0] &= ~0x00000001u;
3086}
3088 if (id_ != NULL) id_->::bgs::protocol::MessageId::Clear();
3089 clear_has_id();
3090}
3091inline const ::bgs::protocol::MessageId& StreamMessage::id() const {
3092 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.id)
3093 return id_ != NULL ? *id_ : *default_instance_->id_;
3094}
3095inline ::bgs::protocol::MessageId* StreamMessage::mutable_id() {
3096 set_has_id();
3097 if (id_ == NULL) id_ = new ::bgs::protocol::MessageId;
3098 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.id)
3099 return id_;
3100}
3101inline ::bgs::protocol::MessageId* StreamMessage::release_id() {
3102 clear_has_id();
3104 id_ = NULL;
3105 return temp;
3106}
3108 delete id_;
3109 id_ = id;
3110 if (id) {
3111 set_has_id();
3112 } else {
3113 clear_has_id();
3114 }
3115 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.id)
3116}
3117
3118// optional .bgs.protocol.club.v1.MemberDescription author = 4;
3119inline bool StreamMessage::has_author() const {
3120 return (_has_bits_[0] & 0x00000002u) != 0;
3121}
3123 _has_bits_[0] |= 0x00000002u;
3124}
3126 _has_bits_[0] &= ~0x00000002u;
3127}
3129 if (author_ != NULL) author_->::bgs::protocol::club::v1::MemberDescription::Clear();
3131}
3132inline const ::bgs::protocol::club::v1::MemberDescription& StreamMessage::author() const {
3133 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.author)
3134 return author_ != NULL ? *author_ : *default_instance_->author_;
3135}
3136inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::mutable_author() {
3138 if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::MemberDescription;
3139 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.author)
3140 return author_;
3141}
3142inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::release_author() {
3145 author_ = NULL;
3146 return temp;
3147}
3149 delete author_;
3150 author_ = author;
3151 if (author) {
3153 } else {
3155 }
3156 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.author)
3157}
3158
3159// repeated .bgs.protocol.club.v1.ContentChain content_chain = 6;
3161 return content_chain_.size();
3162}
3164 content_chain_.Clear();
3165}
3166inline const ::bgs::protocol::club::v1::ContentChain& StreamMessage::content_chain(int index) const {
3167 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.content_chain)
3168 return content_chain_.Get(index);
3169}
3170inline ::bgs::protocol::club::v1::ContentChain* StreamMessage::mutable_content_chain(int index) {
3171 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.content_chain)
3172 return content_chain_.Mutable(index);
3173}
3174inline ::bgs::protocol::club::v1::ContentChain* StreamMessage::add_content_chain() {
3175 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamMessage.content_chain)
3176 return content_chain_.Add();
3177}
3178inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >&
3180 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamMessage.content_chain)
3181 return content_chain_;
3182}
3183inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain >*
3185 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamMessage.content_chain)
3186 return &content_chain_;
3187}
3188
3189// optional .bgs.protocol.club.v1.MemberDescription destroyer = 15;
3190inline bool StreamMessage::has_destroyer() const {
3191 return (_has_bits_[0] & 0x00000008u) != 0;
3192}
3194 _has_bits_[0] |= 0x00000008u;
3195}
3197 _has_bits_[0] &= ~0x00000008u;
3198}
3200 if (destroyer_ != NULL) destroyer_->::bgs::protocol::club::v1::MemberDescription::Clear();
3202}
3203inline const ::bgs::protocol::club::v1::MemberDescription& StreamMessage::destroyer() const {
3204 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroyer)
3205 return destroyer_ != NULL ? *destroyer_ : *default_instance_->destroyer_;
3206}
3207inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::mutable_destroyer() {
3209 if (destroyer_ == NULL) destroyer_ = new ::bgs::protocol::club::v1::MemberDescription;
3210 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMessage.destroyer)
3211 return destroyer_;
3212}
3213inline ::bgs::protocol::club::v1::MemberDescription* StreamMessage::release_destroyer() {
3216 destroyer_ = NULL;
3217 return temp;
3218}
3220 delete destroyer_;
3222 if (destroyer) {
3224 } else {
3226 }
3227 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMessage.destroyer)
3228}
3229
3230// optional bool destroyed = 16;
3231inline bool StreamMessage::has_destroyed() const {
3232 return (_has_bits_[0] & 0x00000010u) != 0;
3233}
3235 _has_bits_[0] |= 0x00000010u;
3236}
3238 _has_bits_[0] &= ~0x00000010u;
3239}
3241 destroyed_ = false;
3243}
3244inline bool StreamMessage::destroyed() const {
3245 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroyed)
3246 return destroyed_;
3247}
3248inline void StreamMessage::set_destroyed(bool value) {
3250 destroyed_ = value;
3251 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessage.destroyed)
3252}
3253
3254// optional uint64 destroy_time = 17;
3256 return (_has_bits_[0] & 0x00000020u) != 0;
3257}
3259 _has_bits_[0] |= 0x00000020u;
3260}
3262 _has_bits_[0] &= ~0x00000020u;
3263}
3265 destroy_time_ = GOOGLE_ULONGLONG(0);
3267}
3269 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMessage.destroy_time)
3270 return destroy_time_;
3271}
3274 destroy_time_ = value;
3275 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMessage.destroy_time)
3276}
3277
3278// -------------------------------------------------------------------
3279
3280// StreamMention
3281
3282// optional uint64 club_id = 1;
3283inline bool StreamMention::has_club_id() const {
3284 return (_has_bits_[0] & 0x00000001u) != 0;
3285}
3287 _has_bits_[0] |= 0x00000001u;
3288}
3290 _has_bits_[0] &= ~0x00000001u;
3291}
3293 club_id_ = GOOGLE_ULONGLONG(0);
3295}
3297 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.club_id)
3298 return club_id_;
3299}
3302 club_id_ = value;
3303 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMention.club_id)
3304}
3305
3306// optional uint64 stream_id = 2;
3307inline bool StreamMention::has_stream_id() const {
3308 return (_has_bits_[0] & 0x00000002u) != 0;
3309}
3311 _has_bits_[0] |= 0x00000002u;
3312}
3314 _has_bits_[0] &= ~0x00000002u;
3315}
3317 stream_id_ = GOOGLE_ULONGLONG(0);
3319}
3321 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.stream_id)
3322 return stream_id_;
3323}
3326 stream_id_ = value;
3327 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMention.stream_id)
3328}
3329
3330// optional .bgs.protocol.MessageId message_id = 3;
3332 return (_has_bits_[0] & 0x00000004u) != 0;
3333}
3335 _has_bits_[0] |= 0x00000004u;
3336}
3338 _has_bits_[0] &= ~0x00000004u;
3339}
3341 if (message_id_ != NULL) message_id_->::bgs::protocol::MessageId::Clear();
3343}
3344inline const ::bgs::protocol::MessageId& StreamMention::message_id() const {
3345 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.message_id)
3347}
3348inline ::bgs::protocol::MessageId* StreamMention::mutable_message_id() {
3350 if (message_id_ == NULL) message_id_ = new ::bgs::protocol::MessageId;
3351 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.message_id)
3352 return message_id_;
3353}
3354inline ::bgs::protocol::MessageId* StreamMention::release_message_id() {
3357 message_id_ = NULL;
3358 return temp;
3359}
3361 delete message_id_;
3363 if (message_id) {
3365 } else {
3367 }
3368 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message_id)
3369}
3370
3371// optional .bgs.protocol.club.v1.MemberDescription author = 4;
3372inline bool StreamMention::has_author() const {
3373 return (_has_bits_[0] & 0x00000008u) != 0;
3374}
3376 _has_bits_[0] |= 0x00000008u;
3377}
3379 _has_bits_[0] &= ~0x00000008u;
3380}
3382 if (author_ != NULL) author_->::bgs::protocol::club::v1::MemberDescription::Clear();
3384}
3385inline const ::bgs::protocol::club::v1::MemberDescription& StreamMention::author() const {
3386 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.author)
3387 return author_ != NULL ? *author_ : *default_instance_->author_;
3388}
3389inline ::bgs::protocol::club::v1::MemberDescription* StreamMention::mutable_author() {
3391 if (author_ == NULL) author_ = new ::bgs::protocol::club::v1::MemberDescription;
3392 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.author)
3393 return author_;
3394}
3395inline ::bgs::protocol::club::v1::MemberDescription* StreamMention::release_author() {
3398 author_ = NULL;
3399 return temp;
3400}
3402 delete author_;
3403 author_ = author;
3404 if (author) {
3406 } else {
3408 }
3409 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.author)
3410}
3411
3412// optional bool destroyed = 5;
3413inline bool StreamMention::has_destroyed() const {
3414 return (_has_bits_[0] & 0x00000010u) != 0;
3415}
3417 _has_bits_[0] |= 0x00000010u;
3418}
3420 _has_bits_[0] &= ~0x00000010u;
3421}
3423 destroyed_ = false;
3425}
3426inline bool StreamMention::destroyed() const {
3427 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.destroyed)
3428 return destroyed_;
3429}
3430inline void StreamMention::set_destroyed(bool value) {
3432 destroyed_ = value;
3433 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMention.destroyed)
3434}
3435
3436// optional .bgs.protocol.TimeSeriesId mention_id = 6;
3438 return (_has_bits_[0] & 0x00000020u) != 0;
3439}
3441 _has_bits_[0] |= 0x00000020u;
3442}
3444 _has_bits_[0] &= ~0x00000020u;
3445}
3447 if (mention_id_ != NULL) mention_id_->::bgs::protocol::TimeSeriesId::Clear();
3449}
3450inline const ::bgs::protocol::TimeSeriesId& StreamMention::mention_id() const {
3451 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.mention_id)
3453}
3454inline ::bgs::protocol::TimeSeriesId* StreamMention::mutable_mention_id() {
3456 if (mention_id_ == NULL) mention_id_ = new ::bgs::protocol::TimeSeriesId;
3457 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.mention_id)
3458 return mention_id_;
3459}
3460inline ::bgs::protocol::TimeSeriesId* StreamMention::release_mention_id() {
3463 mention_id_ = NULL;
3464 return temp;
3465}
3467 delete mention_id_;
3469 if (mention_id) {
3471 } else {
3473 }
3474 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.mention_id)
3475}
3476
3477// optional .bgs.protocol.club.v1.MemberId member_id = 7;
3478inline bool StreamMention::has_member_id() const {
3479 return (_has_bits_[0] & 0x00000040u) != 0;
3480}
3482 _has_bits_[0] |= 0x00000040u;
3483}
3485 _has_bits_[0] &= ~0x00000040u;
3486}
3488 if (member_id_ != NULL) member_id_->::bgs::protocol::club::v1::MemberId::Clear();
3490}
3491inline const ::bgs::protocol::club::v1::MemberId& StreamMention::member_id() const {
3492 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.member_id)
3493 return member_id_ != NULL ? *member_id_ : *default_instance_->member_id_;
3494}
3495inline ::bgs::protocol::club::v1::MemberId* StreamMention::mutable_member_id() {
3497 if (member_id_ == NULL) member_id_ = new ::bgs::protocol::club::v1::MemberId;
3498 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.member_id)
3499 return member_id_;
3500}
3501inline ::bgs::protocol::club::v1::MemberId* StreamMention::release_member_id() {
3504 member_id_ = NULL;
3505 return temp;
3506}
3508 delete member_id_;
3510 if (member_id) {
3512 } else {
3514 }
3515 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.member_id)
3516}
3517
3518// optional .bgs.protocol.club.v1.StreamMessage message = 8;
3519inline bool StreamMention::has_message() const {
3520 return (_has_bits_[0] & 0x00000080u) != 0;
3521}
3523 _has_bits_[0] |= 0x00000080u;
3524}
3526 _has_bits_[0] &= ~0x00000080u;
3527}
3529 if (message_ != NULL) message_->::bgs::protocol::club::v1::StreamMessage::Clear();
3531}
3532inline const ::bgs::protocol::club::v1::StreamMessage& StreamMention::message() const {
3533 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.message)
3534 return message_ != NULL ? *message_ : *default_instance_->message_;
3535}
3536inline ::bgs::protocol::club::v1::StreamMessage* StreamMention::mutable_message() {
3538 if (message_ == NULL) message_ = new ::bgs::protocol::club::v1::StreamMessage;
3539 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.message)
3540 return message_;
3541}
3542inline ::bgs::protocol::club::v1::StreamMessage* StreamMention::release_message() {
3545 message_ = NULL;
3546 return temp;
3547}
3549 delete message_;
3550 message_ = message;
3551 if (message) {
3553 } else {
3555 }
3556 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.message)
3557}
3558
3559// optional .bgs.protocol.club.v1.UniqueClubType club_type = 9;
3560inline bool StreamMention::has_club_type() const {
3561 return (_has_bits_[0] & 0x00000100u) != 0;
3562}
3564 _has_bits_[0] |= 0x00000100u;
3565}
3567 _has_bits_[0] &= ~0x00000100u;
3568}
3570 if (club_type_ != NULL) club_type_->::bgs::protocol::club::v1::UniqueClubType::Clear();
3572}
3573inline const ::bgs::protocol::club::v1::UniqueClubType& StreamMention::club_type() const {
3574 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMention.club_type)
3575 return club_type_ != NULL ? *club_type_ : *default_instance_->club_type_;
3576}
3577inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::mutable_club_type() {
3579 if (club_type_ == NULL) club_type_ = new ::bgs::protocol::club::v1::UniqueClubType;
3580 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMention.club_type)
3581 return club_type_;
3582}
3583inline ::bgs::protocol::club::v1::UniqueClubType* StreamMention::release_club_type() {
3586 club_type_ = NULL;
3587 return temp;
3588}
3590 delete club_type_;
3592 if (club_type) {
3594 } else {
3596 }
3597 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMention.club_type)
3598}
3599
3600// -------------------------------------------------------------------
3601
3602// StreamView
3603
3604// optional uint64 club_id = 1;
3605inline bool StreamView::has_club_id() const {
3606 return (_has_bits_[0] & 0x00000001u) != 0;
3607}
3609 _has_bits_[0] |= 0x00000001u;
3610}
3612 _has_bits_[0] &= ~0x00000001u;
3613}
3615 club_id_ = GOOGLE_ULONGLONG(0);
3617}
3619 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.club_id)
3620 return club_id_;
3621}
3624 club_id_ = value;
3625 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamView.club_id)
3626}
3627
3628// optional uint64 stream_id = 2;
3629inline bool StreamView::has_stream_id() const {
3630 return (_has_bits_[0] & 0x00000002u) != 0;
3631}
3633 _has_bits_[0] |= 0x00000002u;
3634}
3636 _has_bits_[0] &= ~0x00000002u;
3637}
3639 stream_id_ = GOOGLE_ULONGLONG(0);
3641}
3643 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.stream_id)
3644 return stream_id_;
3645}
3648 stream_id_ = value;
3649 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamView.stream_id)
3650}
3651
3652// optional .bgs.protocol.ViewMarker marker = 3;
3653inline bool StreamView::has_marker() const {
3654 return (_has_bits_[0] & 0x00000004u) != 0;
3655}
3657 _has_bits_[0] |= 0x00000004u;
3658}
3660 _has_bits_[0] &= ~0x00000004u;
3661}
3663 if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear();
3665}
3666inline const ::bgs::protocol::ViewMarker& StreamView::marker() const {
3667 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamView.marker)
3668 return marker_ != NULL ? *marker_ : *default_instance_->marker_;
3669}
3670inline ::bgs::protocol::ViewMarker* StreamView::mutable_marker() {
3672 if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker;
3673 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamView.marker)
3674 return marker_;
3675}
3676inline ::bgs::protocol::ViewMarker* StreamView::release_marker() {
3679 marker_ = NULL;
3680 return temp;
3681}
3683 delete marker_;
3684 marker_ = marker;
3685 if (marker) {
3687 } else {
3689 }
3690 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamView.marker)
3691}
3692
3693// -------------------------------------------------------------------
3694
3695// StreamAdvanceViewTime
3696
3697// optional uint64 stream_id = 1;
3699 return (_has_bits_[0] & 0x00000001u) != 0;
3700}
3702 _has_bits_[0] |= 0x00000001u;
3703}
3705 _has_bits_[0] &= ~0x00000001u;
3706}
3708 stream_id_ = GOOGLE_ULONGLONG(0);
3710}
3712 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTime.stream_id)
3713 return stream_id_;
3714}
3717 stream_id_ = value;
3718 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAdvanceViewTime.stream_id)
3719}
3720
3721// optional uint64 view_time = 2;
3723 return (_has_bits_[0] & 0x00000002u) != 0;
3724}
3726 _has_bits_[0] |= 0x00000002u;
3727}
3729 _has_bits_[0] &= ~0x00000002u;
3730}
3732 view_time_ = GOOGLE_ULONGLONG(0);
3734}
3736 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamAdvanceViewTime.view_time)
3737 return view_time_;
3738}
3741 view_time_ = value;
3742 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamAdvanceViewTime.view_time)
3743}
3744
3745// -------------------------------------------------------------------
3746
3747// StreamEventTime
3748
3749// optional uint64 stream_id = 1;
3751 return (_has_bits_[0] & 0x00000001u) != 0;
3752}
3754 _has_bits_[0] |= 0x00000001u;
3755}
3757 _has_bits_[0] &= ~0x00000001u;
3758}
3760 stream_id_ = GOOGLE_ULONGLONG(0);
3762}
3764 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamEventTime.stream_id)
3765 return stream_id_;
3766}
3769 stream_id_ = value;
3770 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamEventTime.stream_id)
3771}
3772
3773// optional uint64 event_time = 2;
3775 return (_has_bits_[0] & 0x00000002u) != 0;
3776}
3778 _has_bits_[0] |= 0x00000002u;
3779}
3781 _has_bits_[0] &= ~0x00000002u;
3782}
3784 event_time_ = GOOGLE_ULONGLONG(0);
3786}
3788 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamEventTime.event_time)
3789 return event_time_;
3790}
3793 event_time_ = value;
3794 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamEventTime.event_time)
3795}
3796
3797// -------------------------------------------------------------------
3798
3799// StreamMentionView
3800
3801// optional uint64 club_id = 1;
3803 return (_has_bits_[0] & 0x00000001u) != 0;
3804}
3806 _has_bits_[0] |= 0x00000001u;
3807}
3809 _has_bits_[0] &= ~0x00000001u;
3810}
3812 club_id_ = GOOGLE_ULONGLONG(0);
3814}
3816 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.club_id)
3817 return club_id_;
3818}
3821 club_id_ = value;
3822 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMentionView.club_id)
3823}
3824
3825// optional uint64 stream_id = 2;
3827 return (_has_bits_[0] & 0x00000002u) != 0;
3828}
3830 _has_bits_[0] |= 0x00000002u;
3831}
3833 _has_bits_[0] &= ~0x00000002u;
3834}
3836 stream_id_ = GOOGLE_ULONGLONG(0);
3838}
3840 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.stream_id)
3841 return stream_id_;
3842}
3845 stream_id_ = value;
3846 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamMentionView.stream_id)
3847}
3848
3849// optional .bgs.protocol.ViewMarker marker = 3;
3851 return (_has_bits_[0] & 0x00000004u) != 0;
3852}
3854 _has_bits_[0] |= 0x00000004u;
3855}
3857 _has_bits_[0] &= ~0x00000004u;
3858}
3860 if (marker_ != NULL) marker_->::bgs::protocol::ViewMarker::Clear();
3862}
3863inline const ::bgs::protocol::ViewMarker& StreamMentionView::marker() const {
3864 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamMentionView.marker)
3865 return marker_ != NULL ? *marker_ : *default_instance_->marker_;
3866}
3867inline ::bgs::protocol::ViewMarker* StreamMentionView::mutable_marker() {
3869 if (marker_ == NULL) marker_ = new ::bgs::protocol::ViewMarker;
3870 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamMentionView.marker)
3871 return marker_;
3872}
3873inline ::bgs::protocol::ViewMarker* StreamMentionView::release_marker() {
3876 marker_ = NULL;
3877 return temp;
3878}
3880 delete marker_;
3881 marker_ = marker;
3882 if (marker) {
3884 } else {
3886 }
3887 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamMentionView.marker)
3888}
3889
3890// -------------------------------------------------------------------
3891
3892// StreamStateOptions
3893
3894// repeated .bgs.protocol.v2.Attribute attribute = 1;
3896 return attribute_.size();
3897}
3899 attribute_.Clear();
3900}
3901inline const ::bgs::protocol::v2::Attribute& StreamStateOptions::attribute(int index) const {
3902 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.attribute)
3903 return attribute_.Get(index);
3904}
3905inline ::bgs::protocol::v2::Attribute* StreamStateOptions::mutable_attribute(int index) {
3906 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.attribute)
3907 return attribute_.Mutable(index);
3908}
3909inline ::bgs::protocol::v2::Attribute* StreamStateOptions::add_attribute() {
3910 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamStateOptions.attribute)
3911 return attribute_.Add();
3912}
3913inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
3915 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamStateOptions.attribute)
3916 return attribute_;
3917}
3918inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
3920 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamStateOptions.attribute)
3921 return &attribute_;
3922}
3923
3924// optional string name = 2;
3925inline bool StreamStateOptions::has_name() const {
3926 return (_has_bits_[0] & 0x00000002u) != 0;
3927}
3929 _has_bits_[0] |= 0x00000002u;
3930}
3932 _has_bits_[0] &= ~0x00000002u;
3933}
3935 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3936 name_->clear();
3937 }
3939}
3940inline const ::std::string& StreamStateOptions::name() const {
3941 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.name)
3942 return *name_;
3943}
3944inline void StreamStateOptions::set_name(const ::std::string& value) {
3945 set_has_name();
3946 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3947 name_ = new ::std::string;
3948 }
3949 name_->assign(value);
3950 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.name)
3951}
3952inline void StreamStateOptions::set_name(const char* value) {
3953 set_has_name();
3954 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3955 name_ = new ::std::string;
3956 }
3957 name_->assign(value);
3958 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateOptions.name)
3959}
3960inline void StreamStateOptions::set_name(const char* value, size_t size) {
3961 set_has_name();
3962 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3963 name_ = new ::std::string;
3964 }
3965 name_->assign(reinterpret_cast<const char*>(value), size);
3966 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateOptions.name)
3967}
3968inline ::std::string* StreamStateOptions::mutable_name() {
3969 set_has_name();
3970 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3971 name_ = new ::std::string;
3972 }
3973 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.name)
3974 return name_;
3975}
3976inline ::std::string* StreamStateOptions::release_name() {
3978 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3979 return NULL;
3980 } else {
3981 ::std::string* temp = name_;
3982 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3983 return temp;
3984 }
3985}
3986inline void StreamStateOptions::set_allocated_name(::std::string* name) {
3987 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3988 delete name_;
3989 }
3990 if (name) {
3991 set_has_name();
3992 name_ = name;
3993 } else {
3995 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3996 }
3997 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.name)
3998}
3999
4000// optional string subject = 3;
4002 return (_has_bits_[0] & 0x00000004u) != 0;
4003}
4005 _has_bits_[0] |= 0x00000004u;
4006}
4008 _has_bits_[0] &= ~0x00000004u;
4009}
4011 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4012 subject_->clear();
4013 }
4015}
4016inline const ::std::string& StreamStateOptions::subject() const {
4017 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.subject)
4018 return *subject_;
4019}
4020inline void StreamStateOptions::set_subject(const ::std::string& value) {
4022 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4023 subject_ = new ::std::string;
4024 }
4025 subject_->assign(value);
4026 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.subject)
4027}
4028inline void StreamStateOptions::set_subject(const char* value) {
4030 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4031 subject_ = new ::std::string;
4032 }
4033 subject_->assign(value);
4034 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateOptions.subject)
4035}
4036inline void StreamStateOptions::set_subject(const char* value, size_t size) {
4038 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4039 subject_ = new ::std::string;
4040 }
4041 subject_->assign(reinterpret_cast<const char*>(value), size);
4042 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateOptions.subject)
4043}
4046 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4047 subject_ = new ::std::string;
4048 }
4049 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.subject)
4050 return subject_;
4051}
4054 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4055 return NULL;
4056 } else {
4057 ::std::string* temp = subject_;
4058 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4059 return temp;
4060 }
4061}
4062inline void StreamStateOptions::set_allocated_subject(::std::string* subject) {
4063 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4064 delete subject_;
4065 }
4066 if (subject) {
4068 subject_ = subject;
4069 } else {
4071 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4072 }
4073 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.subject)
4074}
4075
4076// optional .bgs.protocol.club.v1.StreamAccess access = 4;
4078 return (_has_bits_[0] & 0x00000008u) != 0;
4079}
4081 _has_bits_[0] |= 0x00000008u;
4082}
4084 _has_bits_[0] &= ~0x00000008u;
4085}
4087 if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear();
4089}
4090inline const ::bgs::protocol::club::v1::StreamAccess& StreamStateOptions::access() const {
4091 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.access)
4092 return access_ != NULL ? *access_ : *default_instance_->access_;
4093}
4094inline ::bgs::protocol::club::v1::StreamAccess* StreamStateOptions::mutable_access() {
4096 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess;
4097 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateOptions.access)
4098 return access_;
4099}
4100inline ::bgs::protocol::club::v1::StreamAccess* StreamStateOptions::release_access() {
4103 access_ = NULL;
4104 return temp;
4105}
4107 delete access_;
4108 access_ = access;
4109 if (access) {
4111 } else {
4113 }
4114 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateOptions.access)
4115}
4116
4117// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 5;
4119 return (_has_bits_[0] & 0x00000010u) != 0;
4120}
4122 _has_bits_[0] |= 0x00000010u;
4123}
4125 _has_bits_[0] &= ~0x00000010u;
4126}
4128 voice_level_ = 0;
4130}
4132 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateOptions.voice_level)
4134}
4138 voice_level_ = value;
4139 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateOptions.voice_level)
4140}
4141
4142// -------------------------------------------------------------------
4143
4144// StreamStateAssignment
4145
4146// optional uint64 stream_id = 1;
4148 return (_has_bits_[0] & 0x00000001u) != 0;
4149}
4151 _has_bits_[0] |= 0x00000001u;
4152}
4154 _has_bits_[0] &= ~0x00000001u;
4155}
4157 stream_id_ = GOOGLE_ULONGLONG(0);
4159}
4161 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.stream_id)
4162 return stream_id_;
4163}
4166 stream_id_ = value;
4167 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.stream_id)
4168}
4169
4170// repeated .bgs.protocol.v2.Attribute attribute = 2;
4172 return attribute_.size();
4173}
4175 attribute_.Clear();
4176}
4177inline const ::bgs::protocol::v2::Attribute& StreamStateAssignment::attribute(int index) const {
4178 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.attribute)
4179 return attribute_.Get(index);
4180}
4181inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::mutable_attribute(int index) {
4182 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.attribute)
4183 return attribute_.Mutable(index);
4184}
4185inline ::bgs::protocol::v2::Attribute* StreamStateAssignment::add_attribute() {
4186 // @@protoc_insertion_point(field_add:bgs.protocol.club.v1.StreamStateAssignment.attribute)
4187 return attribute_.Add();
4188}
4189inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >&
4191 // @@protoc_insertion_point(field_list:bgs.protocol.club.v1.StreamStateAssignment.attribute)
4192 return attribute_;
4193}
4194inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute >*
4196 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.club.v1.StreamStateAssignment.attribute)
4197 return &attribute_;
4198}
4199
4200// optional string name = 3;
4202 return (_has_bits_[0] & 0x00000004u) != 0;
4203}
4205 _has_bits_[0] |= 0x00000004u;
4206}
4208 _has_bits_[0] &= ~0x00000004u;
4209}
4211 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4212 name_->clear();
4213 }
4215}
4216inline const ::std::string& StreamStateAssignment::name() const {
4217 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.name)
4218 return *name_;
4219}
4220inline void StreamStateAssignment::set_name(const ::std::string& value) {
4221 set_has_name();
4222 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4223 name_ = new ::std::string;
4224 }
4225 name_->assign(value);
4226 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.name)
4227}
4228inline void StreamStateAssignment::set_name(const char* value) {
4229 set_has_name();
4230 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4231 name_ = new ::std::string;
4232 }
4233 name_->assign(value);
4234 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateAssignment.name)
4235}
4236inline void StreamStateAssignment::set_name(const char* value, size_t size) {
4237 set_has_name();
4238 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4239 name_ = new ::std::string;
4240 }
4241 name_->assign(reinterpret_cast<const char*>(value), size);
4242 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateAssignment.name)
4243}
4245 set_has_name();
4246 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4247 name_ = new ::std::string;
4248 }
4249 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.name)
4250 return name_;
4251}
4254 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4255 return NULL;
4256 } else {
4257 ::std::string* temp = name_;
4258 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4259 return temp;
4260 }
4261}
4262inline void StreamStateAssignment::set_allocated_name(::std::string* name) {
4263 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4264 delete name_;
4265 }
4266 if (name) {
4267 set_has_name();
4268 name_ = name;
4269 } else {
4271 name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4272 }
4273 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.name)
4274}
4275
4276// optional string subject = 4;
4278 return (_has_bits_[0] & 0x00000008u) != 0;
4279}
4281 _has_bits_[0] |= 0x00000008u;
4282}
4284 _has_bits_[0] &= ~0x00000008u;
4285}
4287 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4288 subject_->clear();
4289 }
4291}
4292inline const ::std::string& StreamStateAssignment::subject() const {
4293 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.subject)
4294 return *subject_;
4295}
4296inline void StreamStateAssignment::set_subject(const ::std::string& value) {
4298 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4299 subject_ = new ::std::string;
4300 }
4301 subject_->assign(value);
4302 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.subject)
4303}
4304inline void StreamStateAssignment::set_subject(const char* value) {
4306 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4307 subject_ = new ::std::string;
4308 }
4309 subject_->assign(value);
4310 // @@protoc_insertion_point(field_set_char:bgs.protocol.club.v1.StreamStateAssignment.subject)
4311}
4312inline void StreamStateAssignment::set_subject(const char* value, size_t size) {
4314 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4315 subject_ = new ::std::string;
4316 }
4317 subject_->assign(reinterpret_cast<const char*>(value), size);
4318 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.club.v1.StreamStateAssignment.subject)
4319}
4322 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4323 subject_ = new ::std::string;
4324 }
4325 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.subject)
4326 return subject_;
4327}
4330 if (subject_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4331 return NULL;
4332 } else {
4333 ::std::string* temp = subject_;
4334 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4335 return temp;
4336 }
4337}
4338inline void StreamStateAssignment::set_allocated_subject(::std::string* subject) {
4339 if (subject_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4340 delete subject_;
4341 }
4342 if (subject) {
4344 subject_ = subject;
4345 } else {
4347 subject_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4348 }
4349 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.subject)
4350}
4351
4352// optional .bgs.protocol.club.v1.StreamAccess access = 5;
4354 return (_has_bits_[0] & 0x00000010u) != 0;
4355}
4357 _has_bits_[0] |= 0x00000010u;
4358}
4360 _has_bits_[0] &= ~0x00000010u;
4361}
4363 if (access_ != NULL) access_->::bgs::protocol::club::v1::StreamAccess::Clear();
4365}
4366inline const ::bgs::protocol::club::v1::StreamAccess& StreamStateAssignment::access() const {
4367 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.access)
4368 return access_ != NULL ? *access_ : *default_instance_->access_;
4369}
4370inline ::bgs::protocol::club::v1::StreamAccess* StreamStateAssignment::mutable_access() {
4372 if (access_ == NULL) access_ = new ::bgs::protocol::club::v1::StreamAccess;
4373 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamStateAssignment.access)
4374 return access_;
4375}
4376inline ::bgs::protocol::club::v1::StreamAccess* StreamStateAssignment::release_access() {
4379 access_ = NULL;
4380 return temp;
4381}
4383 delete access_;
4384 access_ = access;
4385 if (access) {
4387 } else {
4389 }
4390 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamStateAssignment.access)
4391}
4392
4393// optional bool stream_subscription_removed = 6;
4395 return (_has_bits_[0] & 0x00000020u) != 0;
4396}
4398 _has_bits_[0] |= 0x00000020u;
4399}
4401 _has_bits_[0] &= ~0x00000020u;
4402}
4406}
4408 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.stream_subscription_removed)
4410}
4414 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.stream_subscription_removed)
4415}
4416
4417// optional .bgs.protocol.club.v1.StreamVoiceLevel voice_level = 7;
4419 return (_has_bits_[0] & 0x00000040u) != 0;
4420}
4422 _has_bits_[0] |= 0x00000040u;
4423}
4425 _has_bits_[0] &= ~0x00000040u;
4426}
4428 voice_level_ = 0;
4430}
4432 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamStateAssignment.voice_level)
4434}
4438 voice_level_ = value;
4439 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamStateAssignment.voice_level)
4440}
4441
4442// -------------------------------------------------------------------
4443
4444// StreamTypingIndicator
4445
4446// optional .bgs.protocol.club.v1.MemberId author_id = 1;
4448 return (_has_bits_[0] & 0x00000001u) != 0;
4449}
4451 _has_bits_[0] |= 0x00000001u;
4452}
4454 _has_bits_[0] &= ~0x00000001u;
4455}
4457 if (author_id_ != NULL) author_id_->::bgs::protocol::club::v1::MemberId::Clear();
4459}
4460inline const ::bgs::protocol::club::v1::MemberId& StreamTypingIndicator::author_id() const {
4461 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.author_id)
4462 return author_id_ != NULL ? *author_id_ : *default_instance_->author_id_;
4463}
4464inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::mutable_author_id() {
4466 if (author_id_ == NULL) author_id_ = new ::bgs::protocol::club::v1::MemberId;
4467 // @@protoc_insertion_point(field_mutable:bgs.protocol.club.v1.StreamTypingIndicator.author_id)
4468 return author_id_;
4469}
4470inline ::bgs::protocol::club::v1::MemberId* StreamTypingIndicator::release_author_id() {
4473 author_id_ = NULL;
4474 return temp;
4475}
4477 delete author_id_;
4479 if (author_id) {
4481 } else {
4483 }
4484 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.club.v1.StreamTypingIndicator.author_id)
4485}
4486
4487// optional .bgs.protocol.TypingIndicator indicator = 2;
4489 return (_has_bits_[0] & 0x00000002u) != 0;
4490}
4492 _has_bits_[0] |= 0x00000002u;
4493}
4495 _has_bits_[0] &= ~0x00000002u;
4496}
4498 indicator_ = 0;
4500}
4502 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.indicator)
4503 return static_cast< ::bgs::protocol::TypingIndicator >(indicator_);
4504}
4508 indicator_ = value;
4509 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamTypingIndicator.indicator)
4510}
4511
4512// optional uint64 epoch = 3;
4514 return (_has_bits_[0] & 0x00000004u) != 0;
4515}
4517 _has_bits_[0] |= 0x00000004u;
4518}
4520 _has_bits_[0] &= ~0x00000004u;
4521}
4523 epoch_ = GOOGLE_ULONGLONG(0);
4525}
4527 // @@protoc_insertion_point(field_get:bgs.protocol.club.v1.StreamTypingIndicator.epoch)
4528 return epoch_;
4529}
4531 set_has_epoch();
4532 epoch_ = value;
4533 // @@protoc_insertion_point(field_set:bgs.protocol.club.v1.StreamTypingIndicator.epoch)
4534}
4535
4536// @@protoc_insertion_point(namespace_scope)
4537
4538} // namespace v1
4539} // namespace club
4540} // namespace protocol
4541} // namespace bgs
4542
4543#ifndef SWIG
4544namespace google {
4545namespace protobuf {
4546} // namespace google
4547} // namespace protobuf
4548#endif // SWIG
4549
4550// @@protoc_insertion_point(global_scope)
4551
4552#endif // PROTOBUF_club_5fstream_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > message_
ClubStreamMessageContainer(const ClubStreamMessageContainer &from)
static const ::google::protobuf::Descriptor * descriptor()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > * mutable_message()
ClubStreamMessageContainer & operator=(const ClubStreamMessageContainer &from)
ClubStreamMessageContainer * New() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::StreamMessage > & message() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ClubStreamMessageContainer & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::StreamMessage * add_message()
void Swap(ClubStreamMessageContainer *other)
static ClubStreamMessageContainer * default_instance_
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
inline ::bgs::protocol::club::v1::MentionContent * mutable_mention()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
const ::bgs::protocol::club::v1::MentionContent & mention() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint64 edit_time() const
inline ::bgs::protocol::EmbedInfo * add_embed()
void set_allocated_mention(::bgs::protocol::club::v1::MentionContent *mention)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > * mutable_embed()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > & embed() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EmbedInfo > embed_
inline ::std::string * release_content()
inline ::std::string * mutable_content()
static const ContentChain & default_instance()
void set_edit_time(::google::protobuf::uint64 value)
static ContentChain * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
ContentChain(const ContentChain &from)
::google::protobuf::Metadata GetMetadata() const
void set_allocated_content(::std::string *content)
const ::std::string & content() const
void set_content(const ::std::string &value)
void Swap(ContentChain *other)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint64 edit_time_
ContentChain & operator=(const ContentChain &from)
::bgs::protocol::club::v1::MentionContent * mention_
inline ::bgs::protocol::club::v1::MentionContent * release_mention()
::google::protobuf::uint32 _has_bits_[1]
void set_content(const ::std::string &value)
static const ::google::protobuf::Descriptor * descriptor()
CreateMessageOptions(const CreateMessageOptions &from)
::google::protobuf::uint32 _has_bits_[1]
CreateMessageOptions * New() const
void Swap(CreateMessageOptions *other)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const CreateMessageOptions & default_instance()
inline ::bgs::protocol::club::v1::MentionContent * mutable_mention()
::bgs::protocol::club::v1::MentionContent * mention_
void set_allocated_content(::std::string *content)
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
inline ::bgs::protocol::club::v1::MentionContent * release_mention()
static CreateMessageOptions * default_instance_
const ::bgs::protocol::club::v1::MentionContent & mention() const
void set_allocated_mention(::bgs::protocol::club::v1::MentionContent *mention)
CreateMessageOptions & operator=(const CreateMessageOptions &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::club::v1::StreamAccess * mutable_access()
inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const
void set_name(const ::std::string &value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
void set_allocated_access(::bgs::protocol::club::v1::StreamAccess *access)
CreateStreamOptions(const CreateStreamOptions &from)
::google::protobuf::uint32 _has_bits_[1]
void Swap(CreateStreamOptions *other)
static CreateStreamOptions * default_instance_
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
CreateStreamOptions & operator=(const CreateStreamOptions &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::bgs::protocol::club::v1::StreamAccess & access() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
CreateStreamOptions * New() const
static const CreateStreamOptions & default_instance()
void set_allocated_subject(::std::string *subject)
::bgs::protocol::club::v1::StreamAccess * access_
void set_subject(const ::std::string &value)
void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value)
inline ::bgs::protocol::club::v1::StreamAccess * release_access()
inline ::bgs::protocol::v2::Attribute * add_attribute()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
void add_role(::google::protobuf::uint32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
void Swap(MentionContent *other)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > * mutable_member_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
MentionContent & operator=(const MentionContent &from)
void set_role(int index, ::google::protobuf::uint32 value)
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
static MentionContent * default_instance_
static const MentionContent & default_instance()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::club::v1::MemberId * add_member_id()
MentionContent(const MentionContent &from)
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > & member_id() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::MemberId > member_id_
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
void Swap(StreamAccess *other)
static const ::google::protobuf::Descriptor * descriptor()
void set_role(int index, ::google::protobuf::uint32 value)
StreamAccess & operator=(const StreamAccess &from)
StreamAccess(const StreamAccess &from)
static const StreamAccess & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
void add_role(::google::protobuf::uint32 value)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::Metadata GetMetadata() const
static StreamAccess * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_view_time(::google::protobuf::uint64 value)
StreamAdvanceViewTime & operator=(const StreamAdvanceViewTime &from)
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::uint64 view_time() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
inline ::google::protobuf::uint64 stream_id() const
static StreamAdvanceViewTime * default_instance_
void set_stream_id(::google::protobuf::uint64 value)
static const StreamAdvanceViewTime & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
StreamAdvanceViewTime(const StreamAdvanceViewTime &from)
StreamAdvanceViewTime * New() const
static const ::google::protobuf::Descriptor * descriptor()
void Swap(StreamAdvanceViewTime *other)
static const StreamDescription & default_instance()
::google::protobuf::UnknownFieldSet _unknown_fields_
StreamDescription & operator=(const StreamDescription &from)
::google::protobuf::Metadata GetMetadata() const
void set_allocated_name(::std::string *name)
void Swap(StreamDescription *other)
void set_id(::google::protobuf::uint64 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_name(const ::std::string &value)
static StreamDescription * default_instance_
const ::std::string & name() const
inline ::google::protobuf::uint64 id() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::uint32 _has_bits_[1]
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
StreamDescription(const StreamDescription &from)
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
StreamEventTime & operator=(const StreamEventTime &from)
void set_event_time(::google::protobuf::uint64 value)
static StreamEventTime * default_instance_
::google::protobuf::uint64 event_time_
inline ::google::protobuf::uint64 event_time() const
StreamEventTime(const StreamEventTime &from)
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_stream_id(::google::protobuf::uint64 value)
inline ::google::protobuf::uint64 stream_id() const
::google::protobuf::uint32 _has_bits_[1]
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::uint64 stream_id_
void Swap(StreamEventTime *other)
static const StreamEventTime & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::ViewMarker * release_marker()
void set_allocated_marker(::bgs::protocol::ViewMarker *marker)
StreamMentionView & operator=(const StreamMentionView &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::ViewMarker & marker() const
inline ::bgs::protocol::ViewMarker * mutable_marker()
StreamMentionView(const StreamMentionView &from)
::google::protobuf::Metadata GetMetadata() const
void set_stream_id(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
inline ::google::protobuf::uint64 club_id() const
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint64 stream_id() const
void set_club_id(::google::protobuf::uint64 value)
static const StreamMentionView & default_instance()
static StreamMentionView * default_instance_
void Swap(StreamMentionView *other)
::bgs::protocol::ViewMarker * marker_
::bgs::protocol::club::v1::MemberId * member_id_
const ::bgs::protocol::club::v1::UniqueClubType & club_type() const
StreamMention & operator=(const StreamMention &from)
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
inline ::bgs::protocol::club::v1::StreamMessage * release_message()
void set_allocated_message(::bgs::protocol::club::v1::StreamMessage *message)
void set_allocated_author(::bgs::protocol::club::v1::MemberDescription *author)
inline ::bgs::protocol::MessageId * mutable_message_id()
inline ::bgs::protocol::TimeSeriesId * release_mention_id()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_allocated_member_id(::bgs::protocol::club::v1::MemberId *member_id)
const ::bgs::protocol::MessageId & message_id() const
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::StreamMessage * mutable_message()
void set_allocated_mention_id(::bgs::protocol::TimeSeriesId *mention_id)
const ::bgs::protocol::club::v1::MemberId & member_id() const
inline ::google::protobuf::uint64 stream_id() const
::google::protobuf::uint64 stream_id_
inline ::bgs::protocol::club::v1::MemberDescription * release_author()
void Swap(StreamMention *other)
const ::bgs::protocol::club::v1::MemberDescription & author() const
void set_allocated_club_type(::bgs::protocol::club::v1::UniqueClubType *club_type)
inline ::bgs::protocol::club::v1::MemberId * release_member_id()
void set_stream_id(::google::protobuf::uint64 value)
void set_club_id(::google::protobuf::uint64 value)
void set_allocated_message_id(::bgs::protocol::MessageId *message_id)
static StreamMention * default_instance_
::google::protobuf::uint32 _has_bits_[1]
static const ::google::protobuf::Descriptor * descriptor()
StreamMention(const StreamMention &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::uint64 club_id_
static const StreamMention & default_instance()
::bgs::protocol::MessageId * message_id_
inline ::bgs::protocol::club::v1::UniqueClubType * mutable_club_type()
inline ::bgs::protocol::TimeSeriesId * mutable_mention_id()
const ::bgs::protocol::club::v1::StreamMessage & message() const
inline ::bgs::protocol::MessageId * release_message_id()
inline ::google::protobuf::uint64 club_id() const
inline ::bgs::protocol::club::v1::MemberId * mutable_member_id()
const ::bgs::protocol::TimeSeriesId & mention_id() const
::bgs::protocol::club::v1::MemberDescription * author_
inline ::bgs::protocol::club::v1::UniqueClubType * release_club_type()
::bgs::protocol::TimeSeriesId * mention_id_
inline ::bgs::protocol::club::v1::MemberDescription * mutable_author()
::bgs::protocol::club::v1::UniqueClubType * club_type_
::bgs::protocol::club::v1::StreamMessage * message_
::bgs::protocol::club::v1::MemberDescription * destroyer_
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint32 _has_bits_[1]
static StreamMessage * default_instance_
const ::bgs::protocol::club::v1::MemberDescription & destroyer() const
void set_allocated_author(::bgs::protocol::club::v1::MemberDescription *author)
inline ::bgs::protocol::club::v1::MemberDescription * release_destroyer()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain > & content_chain() const
const ::bgs::protocol::MessageId & id() const
void set_destroy_time(::google::protobuf::uint64 value)
inline ::google::protobuf::uint64 destroy_time() const
inline ::bgs::protocol::club::v1::MemberDescription * release_author()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain > content_chain_
inline ::bgs::protocol::MessageId * release_id()
static const ::google::protobuf::Descriptor * descriptor()
void Swap(StreamMessage *other)
void set_allocated_destroyer(::bgs::protocol::club::v1::MemberDescription *destroyer)
static const StreamMessage & default_instance()
void set_allocated_id(::bgs::protocol::MessageId *id)
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::MessageId * id_
::bgs::protocol::club::v1::MemberDescription * author_
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
inline ::bgs::protocol::MessageId * mutable_id()
inline ::bgs::protocol::club::v1::MemberDescription * mutable_destroyer()
StreamMessage(const StreamMessage &from)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::club::v1::ContentChain > * mutable_content_chain()
inline ::bgs::protocol::club::v1::MemberDescription * mutable_author()
::google::protobuf::uint64 destroy_time_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::bgs::protocol::club::v1::MemberDescription & author() const
::google::protobuf::UnknownFieldSet _unknown_fields_
StreamMessage & operator=(const StreamMessage &from)
inline ::bgs::protocol::club::v1::ContentChain * add_content_chain()
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
StreamPosition & operator=(const StreamPosition &from)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > & stream_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
StreamPosition(const StreamPosition &from)
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > * mutable_stream_id()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const StreamPosition & default_instance()
void set_stream_id(int index, ::google::protobuf::uint64 value)
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
static StreamPosition * default_instance_
void Swap(StreamPosition *other)
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedField< ::google::protobuf::uint64 > stream_id_
void add_stream_id(::google::protobuf::uint64 value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_subject(const ::std::string &value)
static StreamStateAssignment * default_instance_
inline ::bgs::protocol::club::v1::StreamAccess * mutable_access()
::bgs::protocol::club::v1::StreamAccess * access_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
::google::protobuf::Metadata GetMetadata() const
StreamStateAssignment * New() const
void set_allocated_subject(::std::string *subject)
static const StreamStateAssignment & default_instance()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::club::v1::StreamAccess * release_access()
StreamStateAssignment(const StreamStateAssignment &from)
void set_name(const ::std::string &value)
void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const
void set_stream_id(::google::protobuf::uint64 value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
inline ::google::protobuf::uint64 stream_id() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void Swap(StreamStateAssignment *other)
StreamStateAssignment & operator=(const StreamStateAssignment &from)
inline ::bgs::protocol::v2::Attribute * add_attribute()
const ::bgs::protocol::club::v1::StreamAccess & access() const
void set_allocated_access(::bgs::protocol::club::v1::StreamAccess *access)
void set_allocated_subject(::std::string *subject)
void set_allocated_access(::bgs::protocol::club::v1::StreamAccess *access)
const ::std::string & subject() const
inline ::bgs::protocol::club::v1::StreamAccess * mutable_access()
static StreamStateOptions * default_instance_
inline ::bgs::protocol::club::v1::StreamAccess * release_access()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::club::v1::StreamAccess * access_
StreamStateOptions & operator=(const StreamStateOptions &from)
StreamStateOptions(const StreamStateOptions &from)
void set_allocated_name(::std::string *name)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
static const StreamStateOptions & default_instance()
void Swap(StreamStateOptions *other)
void set_subject(const ::std::string &value)
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::uint32 _has_bits_[1]
void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value)
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
void set_name(const ::std::string &value)
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
StreamStateOptions * New() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::v2::Attribute * add_attribute()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::bgs::protocol::club::v1::StreamAccess & access() const
void set_allocated_author_id(::bgs::protocol::club::v1::MemberId *author_id)
inline ::bgs::protocol::club::v1::MemberId * release_author_id()
::google::protobuf::UnknownFieldSet _unknown_fields_
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_epoch(::google::protobuf::uint64 value)
::google::protobuf::Metadata GetMetadata() const
StreamTypingIndicator(const StreamTypingIndicator &from)
inline ::google::protobuf::uint64 epoch() const
inline ::bgs::protocol::club::v1::MemberId * mutable_author_id()
::bgs::protocol::club::v1::MemberId * author_id_
static const StreamTypingIndicator & default_instance()
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
void set_indicator(::bgs::protocol::TypingIndicator value)
static StreamTypingIndicator * default_instance_
const ::bgs::protocol::club::v1::MemberId & author_id() const
inline ::bgs::protocol::TypingIndicator indicator() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
StreamTypingIndicator & operator=(const StreamTypingIndicator &from)
void Swap(StreamTypingIndicator *other)
StreamTypingIndicator * New() const
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
inline ::google::protobuf::uint64 club_id() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::ViewMarker * release_marker()
void SetCachedSize(int size) const
::google::protobuf::uint64 club_id_
void Swap(StreamView *other)
void set_allocated_marker(::bgs::protocol::ViewMarker *marker)
const ::bgs::protocol::ViewMarker & marker() const
::bgs::protocol::ViewMarker * marker_
StreamView(const StreamView &from)
static const StreamView & default_instance()
void set_club_id(::google::protobuf::uint64 value)
::google::protobuf::uint64 stream_id_
::google::protobuf::Metadata GetMetadata() const
StreamView & operator=(const StreamView &from)
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint64 stream_id() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::ViewMarker * mutable_marker()
void set_stream_id(::google::protobuf::uint64 value)
::google::protobuf::uint32 _has_bits_[1]
friend void protobuf_ShutdownFile_club_5fstream_2eproto()
static const Stream & default_instance()
friend void protobuf_AssignDesc_club_5fstream_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > * mutable_attribute()
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::club::v1::StreamAccess * mutable_access()
inline ::bgs::protocol::club::v1::StreamAccess * release_access()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
const ::std::string & subject() const
void SetCachedSize(int size) const
inline ::std::string * release_name()
inline ::std::string * release_subject()
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::club::v1::StreamAccess * access_
Stream(const Stream &from)
void set_name(const ::std::string &value)
inline ::google::protobuf::uint64 id() const
void set_creation_time(::google::protobuf::uint64 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::std::string & name() const
inline ::std::string * mutable_name()
friend void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
inline ::bgs::protocol::club::v1::StreamVoiceLevel voice_level() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > & attribute() const
void set_allocated_subject(::std::string *subject)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::v2::Attribute > attribute_
void set_club_id(::google::protobuf::uint64 value)
void set_allocated_name(::std::string *name)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_subject(const ::std::string &value)
inline ::google::protobuf::uint64 creation_time() const
::google::protobuf::uint64 id_
void set_id(::google::protobuf::uint64 value)
void set_voice_level(::bgs::protocol::club::v1::StreamVoiceLevel value)
inline ::bgs::protocol::v2::Attribute * add_attribute()
void set_allocated_access(::bgs::protocol::club::v1::StreamAccess *access)
inline ::std::string * mutable_subject()
Stream & operator=(const Stream &from)
::google::protobuf::uint64 creation_time_
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint64 club_id_
const ::bgs::protocol::club::v1::StreamAccess & access() const
inline ::google::protobuf::uint64 club_id() const
constexpr std::size_t size()
Definition: UpdateField.h:796
void TC_PROTO_API protobuf_AddDesc_club_5fstream_2eproto()
void protobuf_AssignDesc_club_5fstream_2eproto()
void protobuf_ShutdownFile_club_5fstream_2eproto()
TC_PROTO_API bool StreamVoiceLevel_IsValid(int value)
TC_PROTO_API bool TypingIndicator_IsValid(int value)
Definition: Session.h:36