4#ifndef PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_api_2fclient_2fv1_2fchannel_5ftypes_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
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
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.
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/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
29#include "attribute_types.pb.h"
70 return ::google::protobuf::internal::NameOfEnum(
75 return ::google::protobuf::internal::ParseNamedEnum<ChannelState_PrivacyLevel>(
93 return _unknown_fields_;
97 return &_unknown_fields_;
121 inline int attribute_size()
const;
122 inline void clear_attribute();
123 static const int kAttributeFieldNumber = 1;
124 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
125 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
126 inline ::bgs::protocol::Attribute* add_attribute();
127 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
129 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
132 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(
Message)
140 ::google::protobuf::uint32 _has_bits_[1];
142 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attribute_;
165 return _unknown_fields_;
169 return &_unknown_fields_;
193 inline bool has_start_index()
const;
194 inline void clear_start_index();
195 static const int kStartIndexFieldNumber = 1;
196 inline ::google::protobuf::uint32 start_index()
const;
197 inline void set_start_index(::google::protobuf::uint32 value);
200 inline bool has_max_results()
const;
201 inline void clear_max_results();
202 static const int kMaxResultsFieldNumber = 2;
203 inline ::google::protobuf::uint32 max_results()
const;
204 inline void set_max_results(::google::protobuf::uint32 value);
207 inline bool has_name()
const;
208 inline void clear_name();
209 static const int kNameFieldNumber = 3;
210 inline const ::std::string& name()
const;
211 inline void set_name(const ::std::string& value);
212 inline void set_name(
const char* value);
213 inline void set_name(
const char* value,
size_t size);
214 inline ::std::string* mutable_name();
215 inline ::std::string* release_name();
216 inline void set_allocated_name(::std::string* name);
219 inline bool has_program()
const;
220 inline void clear_program();
221 static const int kProgramFieldNumber = 4;
222 inline ::google::protobuf::uint32 program()
const;
223 inline void set_program(::google::protobuf::uint32 value);
226 inline bool has_locale()
const;
227 inline void clear_locale();
228 static const int kLocaleFieldNumber = 5;
229 inline ::google::protobuf::uint32 locale()
const;
230 inline void set_locale(::google::protobuf::uint32 value);
233 inline bool has_capacity_full()
const;
234 inline void clear_capacity_full();
235 static const int kCapacityFullFieldNumber = 6;
236 inline ::google::protobuf::uint32 capacity_full()
const;
237 inline void set_capacity_full(::google::protobuf::uint32 value);
240 inline bool has_attribute_filter()
const;
241 inline void clear_attribute_filter();
242 static const int kAttributeFilterFieldNumber = 7;
243 inline const ::bgs::protocol::AttributeFilter& attribute_filter()
const;
244 inline ::bgs::protocol::AttributeFilter* mutable_attribute_filter();
245 inline ::bgs::protocol::AttributeFilter* release_attribute_filter();
249 inline bool has_channel_type()
const;
250 inline void clear_channel_type();
251 static const int kChannelTypeFieldNumber = 8;
252 inline const ::std::string& channel_type()
const;
253 inline void set_channel_type(const ::std::string& value);
254 inline void set_channel_type(
const char* value);
255 inline void set_channel_type(
const char* value,
size_t size);
256 inline ::std::string* mutable_channel_type();
257 inline ::std::string* release_channel_type();
258 inline void set_allocated_channel_type(::std::string* channel_type);
262 inline void set_has_start_index();
263 inline void clear_has_start_index();
264 inline void set_has_max_results();
265 inline void clear_has_max_results();
266 inline void set_has_name();
267 inline void clear_has_name();
268 inline void set_has_program();
269 inline void clear_has_program();
270 inline void set_has_locale();
271 inline void clear_has_locale();
272 inline void set_has_capacity_full();
273 inline void clear_has_capacity_full();
274 inline void set_has_attribute_filter();
275 inline void clear_has_attribute_filter();
276 inline void set_has_channel_type();
277 inline void clear_has_channel_type();
281 ::google::protobuf::uint32 _has_bits_[1];
313 return _unknown_fields_;
317 return &_unknown_fields_;
341 inline bool has_channel_id()
const;
342 inline void clear_channel_id();
343 static const int kChannelIdFieldNumber = 1;
344 inline const ::bgs::protocol::EntityId& channel_id()
const;
345 inline ::bgs::protocol::EntityId* mutable_channel_id();
346 inline ::bgs::protocol::EntityId* release_channel_id();
350 inline bool has_current_members()
const;
351 inline void clear_current_members();
352 static const int kCurrentMembersFieldNumber = 2;
353 inline ::google::protobuf::uint32 current_members()
const;
354 inline void set_current_members(::google::protobuf::uint32 value);
357 inline bool has_state()
const;
358 inline void clear_state();
359 static const int kStateFieldNumber = 3;
360 inline const ::bgs::protocol::channel::v1::ChannelState& state()
const;
361 inline ::bgs::protocol::channel::v1::ChannelState* mutable_state();
362 inline ::bgs::protocol::channel::v1::ChannelState* release_state();
367 inline void set_has_channel_id();
368 inline void clear_has_channel_id();
369 inline void set_has_current_members();
370 inline void clear_has_current_members();
371 inline void set_has_state();
372 inline void clear_has_state();
376 ::google::protobuf::uint32 _has_bits_[1];
403 return _unknown_fields_;
407 return &_unknown_fields_;
431 inline bool has_description()
const;
432 inline void clear_description();
433 static const int kDescriptionFieldNumber = 1;
434 inline const ::bgs::protocol::channel::v1::ChannelDescription& description()
const;
435 inline ::bgs::protocol::channel::v1::ChannelDescription* mutable_description();
436 inline ::bgs::protocol::channel::v1::ChannelDescription* release_description();
440 inline int member_size()
const;
441 inline void clear_member();
442 static const int kMemberFieldNumber = 2;
443 inline const ::bgs::protocol::channel::v1::Member& member(
int index)
const;
444 inline ::bgs::protocol::channel::v1::Member* mutable_member(
int index);
445 inline ::bgs::protocol::channel::v1::Member* add_member();
446 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >&
448 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >*
453 inline void set_has_description();
454 inline void clear_has_description();
458 ::google::protobuf::uint32 _has_bits_[1];
461 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >
member_;
484 return _unknown_fields_;
488 return &_unknown_fields_;
521 static const int PrivacyLevel_ARRAYSIZE =
523 static inline const ::google::protobuf::EnumDescriptor*
538 inline bool has_max_members()
const;
539 inline void clear_max_members();
540 static const int kMaxMembersFieldNumber = 1;
541 inline ::google::protobuf::uint32 max_members()
const;
542 inline void set_max_members(::google::protobuf::uint32 value);
545 inline bool has_min_members()
const;
546 inline void clear_min_members();
547 static const int kMinMembersFieldNumber = 2;
548 inline ::google::protobuf::uint32 min_members()
const;
549 inline void set_min_members(::google::protobuf::uint32 value);
552 inline int attribute_size()
const;
553 inline void clear_attribute();
554 static const int kAttributeFieldNumber = 3;
555 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
556 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
557 inline ::bgs::protocol::Attribute* add_attribute();
558 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
560 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
564 inline int invitation_size()
const;
565 inline void clear_invitation();
566 static const int kInvitationFieldNumber = 4;
567 inline const ::bgs::protocol::Invitation& invitation(
int index)
const;
568 inline ::bgs::protocol::Invitation* mutable_invitation(
int index);
569 inline ::bgs::protocol::Invitation* add_invitation();
570 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >&
572 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >*
573 mutable_invitation();
576 inline bool has_reason()
const;
577 inline void clear_reason();
578 static const int kReasonFieldNumber = 6;
579 inline ::google::protobuf::uint32 reason()
const;
580 inline void set_reason(::google::protobuf::uint32 value);
583 inline bool has_privacy_level()
const;
584 inline void clear_privacy_level();
585 static const int kPrivacyLevelFieldNumber = 7;
586 inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel privacy_level()
const;
590 inline bool has_name()
const;
591 inline void clear_name();
592 static const int kNameFieldNumber = 8;
593 inline const ::std::string& name()
const;
594 inline void set_name(const ::std::string& value);
595 inline void set_name(
const char* value);
596 inline void set_name(
const char* value,
size_t size);
597 inline ::std::string* mutable_name();
598 inline ::std::string* release_name();
599 inline void set_allocated_name(::std::string* name);
602 inline bool has_channel_type()
const;
603 inline void clear_channel_type();
604 static const int kChannelTypeFieldNumber = 10;
605 inline const ::std::string& channel_type()
const;
606 inline void set_channel_type(const ::std::string& value);
607 inline void set_channel_type(
const char* value);
608 inline void set_channel_type(
const char* value,
size_t size);
609 inline ::std::string* mutable_channel_type();
610 inline ::std::string* release_channel_type();
611 inline void set_allocated_channel_type(::std::string* channel_type);
614 inline bool has_program()
const;
615 inline void clear_program();
616 static const int kProgramFieldNumber = 11;
617 inline ::google::protobuf::uint32 program()
const;
618 inline void set_program(::google::protobuf::uint32 value);
621 inline bool has_subscribe_to_presence()
const;
622 inline void clear_subscribe_to_presence();
623 static const int kSubscribeToPresenceFieldNumber = 13;
624 inline bool subscribe_to_presence()
const;
625 inline void set_subscribe_to_presence(
bool value);
630 inline void set_has_max_members();
631 inline void clear_has_max_members();
632 inline void set_has_min_members();
633 inline void clear_has_min_members();
634 inline void set_has_reason();
635 inline void clear_has_reason();
636 inline void set_has_privacy_level();
637 inline void clear_has_privacy_level();
638 inline void set_has_name();
639 inline void clear_has_name();
640 inline void set_has_channel_type();
641 inline void clear_has_channel_type();
642 inline void set_has_program();
643 inline void clear_has_program();
644 inline void set_has_subscribe_to_presence();
645 inline void clear_has_subscribe_to_presence();
651 ::google::protobuf::uint32 _has_bits_[1];
655 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attribute_;
656 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >
invitation_;
686 return _unknown_fields_;
690 return &_unknown_fields_;
714 inline bool has_battle_tag()
const;
715 inline void clear_battle_tag();
716 static const int kBattleTagFieldNumber = 3;
717 inline const ::std::string& battle_tag()
const;
718 inline void set_battle_tag(const ::std::string& value);
719 inline void set_battle_tag(
const char* value);
720 inline void set_battle_tag(
const char* value,
size_t size);
721 inline ::std::string* mutable_battle_tag();
722 inline ::std::string* release_battle_tag();
723 inline void set_allocated_battle_tag(::std::string* battle_tag);
727 inline void set_has_battle_tag();
728 inline void clear_has_battle_tag();
732 ::google::protobuf::uint32 _has_bits_[1];
757 return _unknown_fields_;
761 return &_unknown_fields_;
785 inline int attribute_size()
const;
786 inline void clear_attribute();
787 static const int kAttributeFieldNumber = 1;
788 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
789 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
790 inline ::bgs::protocol::Attribute* add_attribute();
791 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
793 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
797 inline int role_size()
const;
798 inline void clear_role();
799 static const int kRoleFieldNumber = 2;
800 inline ::google::protobuf::uint32 role(
int index)
const;
801 inline void set_role(
int index, ::google::protobuf::uint32 value);
802 inline void add_role(::google::protobuf::uint32 value);
803 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
805 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
809 inline bool has_privileges()
const;
810 inline void clear_privileges();
811 static const int kPrivilegesFieldNumber = 3;
812 inline ::google::protobuf::uint64 privileges()
const;
813 inline void set_privileges(::google::protobuf::uint64 value);
816 inline bool has_info()
const;
817 inline void clear_info();
818 static const int kInfoFieldNumber = 4;
819 inline const ::bgs::protocol::channel::v1::MemberAccountInfo& info()
const;
820 inline ::bgs::protocol::channel::v1::MemberAccountInfo* mutable_info();
821 inline ::bgs::protocol::channel::v1::MemberAccountInfo* release_info();
826 inline void set_has_privileges();
827 inline void clear_has_privileges();
828 inline void set_has_info();
829 inline void clear_has_info();
833 ::google::protobuf::uint32 _has_bits_[1];
835 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attribute_;
836 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >
role_;
861 return _unknown_fields_;
865 return &_unknown_fields_;
889 inline bool has_identity()
const;
890 inline void clear_identity();
891 static const int kIdentityFieldNumber = 1;
892 inline const ::bgs::protocol::Identity& identity()
const;
893 inline ::bgs::protocol::Identity* mutable_identity();
894 inline ::bgs::protocol::Identity* release_identity();
898 inline bool has_state()
const;
899 inline void clear_state();
900 static const int kStateFieldNumber = 2;
901 inline const ::bgs::protocol::channel::v1::MemberState& state()
const;
902 inline ::bgs::protocol::channel::v1::MemberState* mutable_state();
903 inline ::bgs::protocol::channel::v1::MemberState* release_state();
908 inline void set_has_identity();
909 inline void clear_has_identity();
910 inline void set_has_state();
911 inline void clear_has_state();
915 ::google::protobuf::uint32 _has_bits_[1];
941 return _unknown_fields_;
945 return &_unknown_fields_;
969 inline bool has_account() const PROTOBUF_DEPRECATED;
970 inline
void clear_account() PROTOBUF_DEPRECATED;
971 static const
int kAccountFieldNumber = 1;
972 inline const ::
bgs::protocol::account::
v1::AccountId& account() const PROTOBUF_DEPRECATED;
973 inline ::
bgs::protocol::account::
v1::AccountId* mutable_account() PROTOBUF_DEPRECATED;
974 inline ::
bgs::protocol::account::
v1::AccountId* release_account() PROTOBUF_DEPRECATED;
975 inline
void set_allocated_account(::
bgs::protocol::account::
v1::AccountId* account) PROTOBUF_DEPRECATED;
978 inline
bool has_game_account() const;
979 inline
void clear_game_account();
980 static const
int kGameAccountFieldNumber = 2;
981 inline const ::
bgs::protocol::account::
v1::GameAccountHandle& game_account() const;
982 inline ::
bgs::protocol::account::
v1::GameAccountHandle* mutable_game_account();
983 inline ::
bgs::protocol::account::
v1::GameAccountHandle* release_game_account();
984 inline
void set_allocated_game_account(::
bgs::protocol::account::
v1::GameAccountHandle* game_account);
987 inline
bool has_process() const;
988 inline
void clear_process();
989 static const
int kProcessFieldNumber = 3;
990 inline const ::
bgs::protocol::
ProcessId& process() const;
993 inline
void set_allocated_process(::
bgs::protocol::
ProcessId* process);
997 inline
void set_has_account();
998 inline
void clear_has_account();
999 inline
void set_has_game_account();
1000 inline
void clear_has_game_account();
1001 inline
void set_has_process();
1002 inline
void clear_has_process();
1004 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
1007 mutable
int _cached_size_;
1008 ::
bgs::protocol::account::
v1::AccountId* account_;
1009 ::
bgs::protocol::account::
v1::GameAccountHandle* game_account_;
1011 friend
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto();
1012 friend
void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto();
1013 friend
void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto();
1015 void InitAsDefaultInstance();
1028 return attribute_.size();
1030inline void Message::clear_attribute() {
1033inline const ::bgs::protocol::Attribute& Message::attribute(
int index)
const {
1035 return attribute_.Get(index);
1037inline ::bgs::protocol::Attribute* Message::mutable_attribute(
int index) {
1039 return attribute_.Mutable(index);
1041inline ::bgs::protocol::Attribute* Message::add_attribute() {
1043 return attribute_.Add();
1045inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1046Message::attribute()
const {
1050inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1051Message::mutable_attribute() {
1061inline bool ListChannelsOptions::has_start_index()
const {
1062 return (_has_bits_[0] & 0x00000001u) != 0;
1064inline void ListChannelsOptions::set_has_start_index() {
1065 _has_bits_[0] |= 0x00000001u;
1067inline void ListChannelsOptions::clear_has_start_index() {
1068 _has_bits_[0] &= ~0x00000001u;
1070inline void ListChannelsOptions::clear_start_index() {
1072 clear_has_start_index();
1074inline ::google::protobuf::uint32 ListChannelsOptions::start_index()
const {
1076 return start_index_;
1078inline void ListChannelsOptions::set_start_index(::google::protobuf::uint32 value) {
1079 set_has_start_index();
1080 start_index_ = value;
1085inline bool ListChannelsOptions::has_max_results()
const {
1086 return (_has_bits_[0] & 0x00000002u) != 0;
1088inline void ListChannelsOptions::set_has_max_results() {
1089 _has_bits_[0] |= 0x00000002u;
1091inline void ListChannelsOptions::clear_has_max_results() {
1092 _has_bits_[0] &= ~0x00000002u;
1094inline void ListChannelsOptions::clear_max_results() {
1096 clear_has_max_results();
1098inline ::google::protobuf::uint32 ListChannelsOptions::max_results()
const {
1100 return max_results_;
1102inline void ListChannelsOptions::set_max_results(::google::protobuf::uint32 value) {
1103 set_has_max_results();
1104 max_results_ = value;
1109inline bool ListChannelsOptions::has_name()
const {
1110 return (_has_bits_[0] & 0x00000004u) != 0;
1112inline void ListChannelsOptions::set_has_name() {
1113 _has_bits_[0] |= 0x00000004u;
1115inline void ListChannelsOptions::clear_has_name() {
1116 _has_bits_[0] &= ~0x00000004u;
1118inline void ListChannelsOptions::clear_name() {
1119 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1124inline const ::std::string& ListChannelsOptions::name()
const {
1128inline void ListChannelsOptions::set_name(const ::std::string& value) {
1130 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1131 name_ = new ::std::string;
1133 name_->assign(value);
1136inline void ListChannelsOptions::set_name(
const char* value) {
1138 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1139 name_ = new ::std::string;
1141 name_->assign(value);
1144inline void ListChannelsOptions::set_name(
const char* value,
size_t size) {
1146 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1147 name_ = new ::std::string;
1149 name_->assign(
reinterpret_cast<const char*
>(value), size);
1152inline ::std::string* ListChannelsOptions::mutable_name() {
1154 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1155 name_ = new ::std::string;
1160inline ::std::string* ListChannelsOptions::release_name() {
1162 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1165 ::std::string* temp = name_;
1166 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1170inline void ListChannelsOptions::set_allocated_name(::std::string* name) {
1171 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1179 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1185inline bool ListChannelsOptions::has_program()
const {
1186 return (_has_bits_[0] & 0x00000008u) != 0;
1188inline void ListChannelsOptions::set_has_program() {
1189 _has_bits_[0] |= 0x00000008u;
1191inline void ListChannelsOptions::clear_has_program() {
1192 _has_bits_[0] &= ~0x00000008u;
1194inline void ListChannelsOptions::clear_program() {
1196 clear_has_program();
1198inline ::google::protobuf::uint32 ListChannelsOptions::program()
const {
1202inline void ListChannelsOptions::set_program(::google::protobuf::uint32 value) {
1209inline bool ListChannelsOptions::has_locale()
const {
1210 return (_has_bits_[0] & 0x00000010u) != 0;
1212inline void ListChannelsOptions::set_has_locale() {
1213 _has_bits_[0] |= 0x00000010u;
1215inline void ListChannelsOptions::clear_has_locale() {
1216 _has_bits_[0] &= ~0x00000010u;
1218inline void ListChannelsOptions::clear_locale() {
1222inline ::google::protobuf::uint32 ListChannelsOptions::locale()
const {
1226inline void ListChannelsOptions::set_locale(::google::protobuf::uint32 value) {
1233inline bool ListChannelsOptions::has_capacity_full()
const {
1234 return (_has_bits_[0] & 0x00000020u) != 0;
1236inline void ListChannelsOptions::set_has_capacity_full() {
1237 _has_bits_[0] |= 0x00000020u;
1239inline void ListChannelsOptions::clear_has_capacity_full() {
1240 _has_bits_[0] &= ~0x00000020u;
1242inline void ListChannelsOptions::clear_capacity_full() {
1243 capacity_full_ = 0u;
1244 clear_has_capacity_full();
1246inline ::google::protobuf::uint32 ListChannelsOptions::capacity_full()
const {
1248 return capacity_full_;
1250inline void ListChannelsOptions::set_capacity_full(::google::protobuf::uint32 value) {
1251 set_has_capacity_full();
1252 capacity_full_ = value;
1257inline bool ListChannelsOptions::has_attribute_filter()
const {
1258 return (_has_bits_[0] & 0x00000040u) != 0;
1260inline void ListChannelsOptions::set_has_attribute_filter() {
1261 _has_bits_[0] |= 0x00000040u;
1263inline void ListChannelsOptions::clear_has_attribute_filter() {
1264 _has_bits_[0] &= ~0x00000040u;
1266inline void ListChannelsOptions::clear_attribute_filter() {
1267 if (attribute_filter_ != NULL) attribute_filter_->::bgs::protocol::AttributeFilter::Clear();
1268 clear_has_attribute_filter();
1270inline const ::bgs::protocol::AttributeFilter& ListChannelsOptions::attribute_filter()
const {
1272 return attribute_filter_ != NULL ? *attribute_filter_ : *default_instance_->attribute_filter_;
1274inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::mutable_attribute_filter() {
1275 set_has_attribute_filter();
1276 if (attribute_filter_ == NULL) attribute_filter_ = new ::bgs::protocol::AttributeFilter;
1278 return attribute_filter_;
1280inline ::bgs::protocol::AttributeFilter* ListChannelsOptions::release_attribute_filter() {
1281 clear_has_attribute_filter();
1283 attribute_filter_ = NULL;
1287 delete attribute_filter_;
1288 attribute_filter_ = attribute_filter;
1289 if (attribute_filter) {
1290 set_has_attribute_filter();
1292 clear_has_attribute_filter();
1298inline bool ListChannelsOptions::has_channel_type()
const {
1299 return (_has_bits_[0] & 0x00000080u) != 0;
1301inline void ListChannelsOptions::set_has_channel_type() {
1302 _has_bits_[0] |= 0x00000080u;
1304inline void ListChannelsOptions::clear_has_channel_type() {
1305 _has_bits_[0] &= ~0x00000080u;
1307inline void ListChannelsOptions::clear_channel_type() {
1308 if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1309 channel_type_->clear();
1311 clear_has_channel_type();
1313inline const ::std::string& ListChannelsOptions::channel_type()
const {
1315 return *channel_type_;
1317inline void ListChannelsOptions::set_channel_type(const ::std::string& value) {
1318 set_has_channel_type();
1319 if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1320 channel_type_ = new ::std::string;
1322 channel_type_->assign(value);
1325inline void ListChannelsOptions::set_channel_type(
const char* value) {
1326 set_has_channel_type();
1327 if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1328 channel_type_ = new ::std::string;
1330 channel_type_->assign(value);
1333inline void ListChannelsOptions::set_channel_type(
const char* value,
size_t size) {
1334 set_has_channel_type();
1335 if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1336 channel_type_ = new ::std::string;
1338 channel_type_->assign(
reinterpret_cast<const char*
>(value), size);
1341inline ::std::string* ListChannelsOptions::mutable_channel_type() {
1342 set_has_channel_type();
1343 if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1344 channel_type_ = new ::std::string;
1347 return channel_type_;
1349inline ::std::string* ListChannelsOptions::release_channel_type() {
1350 clear_has_channel_type();
1351 if (channel_type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1354 ::std::string* temp = channel_type_;
1355 channel_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1359inline void ListChannelsOptions::set_allocated_channel_type(::std::string* channel_type) {
1360 if (channel_type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1361 delete channel_type_;
1364 set_has_channel_type();
1365 channel_type_ = channel_type;
1367 clear_has_channel_type();
1368 channel_type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1378inline bool ChannelDescription::has_channel_id()
const {
1379 return (_has_bits_[0] & 0x00000001u) != 0;
1381inline void ChannelDescription::set_has_channel_id() {
1382 _has_bits_[0] |= 0x00000001u;
1384inline void ChannelDescription::clear_has_channel_id() {
1385 _has_bits_[0] &= ~0x00000001u;
1387inline void ChannelDescription::clear_channel_id() {
1388 if (channel_id_ != NULL) channel_id_->::bgs::protocol::EntityId::Clear();
1389 clear_has_channel_id();
1391inline const ::bgs::protocol::EntityId& ChannelDescription::channel_id()
const {
1393 return channel_id_ != NULL ? *channel_id_ : *default_instance_->channel_id_;
1395inline ::bgs::protocol::EntityId* ChannelDescription::mutable_channel_id() {
1396 set_has_channel_id();
1397 if (channel_id_ == NULL) channel_id_ = new ::bgs::protocol::EntityId;
1401inline ::bgs::protocol::EntityId* ChannelDescription::release_channel_id() {
1402 clear_has_channel_id();
1409 channel_id_ = channel_id;
1411 set_has_channel_id();
1413 clear_has_channel_id();
1419inline bool ChannelDescription::has_current_members()
const {
1420 return (_has_bits_[0] & 0x00000002u) != 0;
1422inline void ChannelDescription::set_has_current_members() {
1423 _has_bits_[0] |= 0x00000002u;
1425inline void ChannelDescription::clear_has_current_members() {
1426 _has_bits_[0] &= ~0x00000002u;
1428inline void ChannelDescription::clear_current_members() {
1429 current_members_ = 0u;
1430 clear_has_current_members();
1432inline ::google::protobuf::uint32 ChannelDescription::current_members()
const {
1434 return current_members_;
1436inline void ChannelDescription::set_current_members(::google::protobuf::uint32 value) {
1437 set_has_current_members();
1438 current_members_ = value;
1443inline bool ChannelDescription::has_state()
const {
1444 return (_has_bits_[0] & 0x00000004u) != 0;
1446inline void ChannelDescription::set_has_state() {
1447 _has_bits_[0] |= 0x00000004u;
1449inline void ChannelDescription::clear_has_state() {
1450 _has_bits_[0] &= ~0x00000004u;
1452inline void ChannelDescription::clear_state() {
1453 if (state_ != NULL) state_->::bgs::protocol::channel::v1::ChannelState::Clear();
1456inline const ::bgs::protocol::channel::v1::ChannelState& ChannelDescription::state()
const {
1458 return state_ != NULL ? *state_ : *default_instance_->state_;
1460inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::mutable_state() {
1462 if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::ChannelState;
1466inline ::bgs::protocol::channel::v1::ChannelState* ChannelDescription::release_state() {
1488inline bool ChannelInfo::has_description()
const {
1489 return (_has_bits_[0] & 0x00000001u) != 0;
1491inline void ChannelInfo::set_has_description() {
1492 _has_bits_[0] |= 0x00000001u;
1494inline void ChannelInfo::clear_has_description() {
1495 _has_bits_[0] &= ~0x00000001u;
1497inline void ChannelInfo::clear_description() {
1498 if (description_ != NULL) description_->::bgs::protocol::channel::v1::ChannelDescription::Clear();
1499 clear_has_description();
1501inline const ::bgs::protocol::channel::v1::ChannelDescription& ChannelInfo::description()
const {
1503 return description_ != NULL ? *description_ : *default_instance_->description_;
1505inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::mutable_description() {
1506 set_has_description();
1507 if (description_ == NULL) description_ = new ::bgs::protocol::channel::v1::ChannelDescription;
1509 return description_;
1511inline ::bgs::protocol::channel::v1::ChannelDescription* ChannelInfo::release_description() {
1512 clear_has_description();
1514 description_ = NULL;
1518 delete description_;
1519 description_ = description;
1521 set_has_description();
1523 clear_has_description();
1529inline int ChannelInfo::member_size()
const {
1530 return member_.size();
1532inline void ChannelInfo::clear_member() {
1535inline const ::bgs::protocol::channel::v1::Member& ChannelInfo::member(
int index)
const {
1537 return member_.Get(index);
1539inline ::bgs::protocol::channel::v1::Member* ChannelInfo::mutable_member(
int index) {
1541 return member_.Mutable(index);
1543inline ::bgs::protocol::channel::v1::Member* ChannelInfo::add_member() {
1545 return member_.Add();
1547inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >&
1548ChannelInfo::member()
const {
1552inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member >*
1553ChannelInfo::mutable_member() {
1563inline bool ChannelState::has_max_members()
const {
1564 return (_has_bits_[0] & 0x00000001u) != 0;
1566inline void ChannelState::set_has_max_members() {
1567 _has_bits_[0] |= 0x00000001u;
1569inline void ChannelState::clear_has_max_members() {
1570 _has_bits_[0] &= ~0x00000001u;
1572inline void ChannelState::clear_max_members() {
1574 clear_has_max_members();
1576inline ::google::protobuf::uint32 ChannelState::max_members()
const {
1578 return max_members_;
1580inline void ChannelState::set_max_members(::google::protobuf::uint32 value) {
1581 set_has_max_members();
1582 max_members_ = value;
1587inline bool ChannelState::has_min_members()
const {
1588 return (_has_bits_[0] & 0x00000002u) != 0;
1590inline void ChannelState::set_has_min_members() {
1591 _has_bits_[0] |= 0x00000002u;
1593inline void ChannelState::clear_has_min_members() {
1594 _has_bits_[0] &= ~0x00000002u;
1596inline void ChannelState::clear_min_members() {
1598 clear_has_min_members();
1600inline ::google::protobuf::uint32 ChannelState::min_members()
const {
1602 return min_members_;
1604inline void ChannelState::set_min_members(::google::protobuf::uint32 value) {
1605 set_has_min_members();
1606 min_members_ = value;
1611inline int ChannelState::attribute_size()
const {
1612 return attribute_.size();
1614inline void ChannelState::clear_attribute() {
1617inline const ::bgs::protocol::Attribute& ChannelState::attribute(
int index)
const {
1619 return attribute_.Get(index);
1621inline ::bgs::protocol::Attribute* ChannelState::mutable_attribute(
int index) {
1623 return attribute_.Mutable(index);
1625inline ::bgs::protocol::Attribute* ChannelState::add_attribute() {
1627 return attribute_.Add();
1629inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1630ChannelState::attribute()
const {
1634inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1635ChannelState::mutable_attribute() {
1641inline int ChannelState::invitation_size()
const {
1642 return invitation_.size();
1644inline void ChannelState::clear_invitation() {
1645 invitation_.Clear();
1647inline const ::bgs::protocol::Invitation& ChannelState::invitation(
int index)
const {
1649 return invitation_.Get(index);
1651inline ::bgs::protocol::Invitation* ChannelState::mutable_invitation(
int index) {
1653 return invitation_.Mutable(index);
1655inline ::bgs::protocol::Invitation* ChannelState::add_invitation() {
1657 return invitation_.Add();
1659inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >&
1660ChannelState::invitation()
const {
1664inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation >*
1665ChannelState::mutable_invitation() {
1667 return &invitation_;
1671inline bool ChannelState::has_reason()
const {
1672 return (_has_bits_[0] & 0x00000010u) != 0;
1674inline void ChannelState::set_has_reason() {
1675 _has_bits_[0] |= 0x00000010u;
1677inline void ChannelState::clear_has_reason() {
1678 _has_bits_[0] &= ~0x00000010u;
1680inline void ChannelState::clear_reason() {
1684inline ::google::protobuf::uint32 ChannelState::reason()
const {
1688inline void ChannelState::set_reason(::google::protobuf::uint32 value) {
1695inline bool ChannelState::has_privacy_level()
const {
1696 return (_has_bits_[0] & 0x00000020u) != 0;
1698inline void ChannelState::set_has_privacy_level() {
1699 _has_bits_[0] |= 0x00000020u;
1701inline void ChannelState::clear_has_privacy_level() {
1702 _has_bits_[0] &= ~0x00000020u;
1704inline void ChannelState::clear_privacy_level() {
1706 clear_has_privacy_level();
1708inline ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel ChannelState::privacy_level()
const {
1714 set_has_privacy_level();
1715 privacy_level_ = value;
1720inline bool ChannelState::has_name()
const {
1721 return (_has_bits_[0] & 0x00000040u) != 0;
1723inline void ChannelState::set_has_name() {
1724 _has_bits_[0] |= 0x00000040u;
1726inline void ChannelState::clear_has_name() {
1727 _has_bits_[0] &= ~0x00000040u;
1729inline void ChannelState::clear_name() {
1730 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1735inline const ::std::string& ChannelState::name()
const {
1739inline void ChannelState::set_name(const ::std::string& value) {
1741 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1742 name_ = new ::std::string;
1744 name_->assign(value);
1747inline void ChannelState::set_name(
const char* value) {
1749 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1750 name_ = new ::std::string;
1752 name_->assign(value);
1755inline void ChannelState::set_name(
const char* value,
size_t size) {
1757 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1758 name_ = new ::std::string;
1760 name_->assign(
reinterpret_cast<const char*
>(value), size);
1763inline ::std::string* ChannelState::mutable_name() {
1765 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1766 name_ = new ::std::string;
1771inline ::std::string* ChannelState::release_name() {
1773 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1776 ::std::string* temp = name_;
1777 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1781inline void ChannelState::set_allocated_name(::std::string* name) {
1782 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1790 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1796inline bool ChannelState::has_channel_type()
const {
1797 return (_has_bits_[0] & 0x00000080u) != 0;
1799inline void ChannelState::set_has_channel_type() {
1800 _has_bits_[0] |= 0x00000080u;
1802inline void ChannelState::clear_has_channel_type() {
1803 _has_bits_[0] &= ~0x00000080u;
1805inline void ChannelState::clear_channel_type() {
1806 if (channel_type_ != _default_channel_type_) {
1807 channel_type_->assign(*_default_channel_type_);
1809 clear_has_channel_type();
1811inline const ::std::string& ChannelState::channel_type()
const {
1813 return *channel_type_;
1815inline void ChannelState::set_channel_type(const ::std::string& value) {
1816 set_has_channel_type();
1817 if (channel_type_ == _default_channel_type_) {
1818 channel_type_ = new ::std::string;
1820 channel_type_->assign(value);
1823inline void ChannelState::set_channel_type(
const char* value) {
1824 set_has_channel_type();
1825 if (channel_type_ == _default_channel_type_) {
1826 channel_type_ = new ::std::string;
1828 channel_type_->assign(value);
1831inline void ChannelState::set_channel_type(
const char* value,
size_t size) {
1832 set_has_channel_type();
1833 if (channel_type_ == _default_channel_type_) {
1834 channel_type_ = new ::std::string;
1836 channel_type_->assign(
reinterpret_cast<const char*
>(value), size);
1839inline ::std::string* ChannelState::mutable_channel_type() {
1840 set_has_channel_type();
1841 if (channel_type_ == _default_channel_type_) {
1842 channel_type_ = new ::std::string(*_default_channel_type_);
1845 return channel_type_;
1847inline ::std::string* ChannelState::release_channel_type() {
1848 clear_has_channel_type();
1849 if (channel_type_ == _default_channel_type_) {
1852 ::std::string* temp = channel_type_;
1853 channel_type_ =
const_cast< ::std::string*
>(_default_channel_type_);
1857inline void ChannelState::set_allocated_channel_type(::std::string* channel_type) {
1858 if (channel_type_ != _default_channel_type_) {
1859 delete channel_type_;
1862 set_has_channel_type();
1863 channel_type_ = channel_type;
1865 clear_has_channel_type();
1866 channel_type_ =
const_cast< ::std::string*
>(_default_channel_type_);
1872inline bool ChannelState::has_program()
const {
1873 return (_has_bits_[0] & 0x00000100u) != 0;
1875inline void ChannelState::set_has_program() {
1876 _has_bits_[0] |= 0x00000100u;
1878inline void ChannelState::clear_has_program() {
1879 _has_bits_[0] &= ~0x00000100u;
1881inline void ChannelState::clear_program() {
1883 clear_has_program();
1885inline ::google::protobuf::uint32 ChannelState::program()
const {
1889inline void ChannelState::set_program(::google::protobuf::uint32 value) {
1896inline bool ChannelState::has_subscribe_to_presence()
const {
1897 return (_has_bits_[0] & 0x00000200u) != 0;
1899inline void ChannelState::set_has_subscribe_to_presence() {
1900 _has_bits_[0] |= 0x00000200u;
1902inline void ChannelState::clear_has_subscribe_to_presence() {
1903 _has_bits_[0] &= ~0x00000200u;
1905inline void ChannelState::clear_subscribe_to_presence() {
1906 subscribe_to_presence_ =
true;
1907 clear_has_subscribe_to_presence();
1909inline bool ChannelState::subscribe_to_presence()
const {
1911 return subscribe_to_presence_;
1913inline void ChannelState::set_subscribe_to_presence(
bool value) {
1914 set_has_subscribe_to_presence();
1915 subscribe_to_presence_ = value;
1924inline bool MemberAccountInfo::has_battle_tag()
const {
1925 return (_has_bits_[0] & 0x00000001u) != 0;
1927inline void MemberAccountInfo::set_has_battle_tag() {
1928 _has_bits_[0] |= 0x00000001u;
1930inline void MemberAccountInfo::clear_has_battle_tag() {
1931 _has_bits_[0] &= ~0x00000001u;
1933inline void MemberAccountInfo::clear_battle_tag() {
1934 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1935 battle_tag_->clear();
1937 clear_has_battle_tag();
1939inline const ::std::string& MemberAccountInfo::battle_tag()
const {
1941 return *battle_tag_;
1943inline void MemberAccountInfo::set_battle_tag(const ::std::string& value) {
1944 set_has_battle_tag();
1945 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1946 battle_tag_ = new ::std::string;
1948 battle_tag_->assign(value);
1951inline void MemberAccountInfo::set_battle_tag(
const char* value) {
1952 set_has_battle_tag();
1953 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1954 battle_tag_ = new ::std::string;
1956 battle_tag_->assign(value);
1959inline void MemberAccountInfo::set_battle_tag(
const char* value,
size_t size) {
1960 set_has_battle_tag();
1961 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1962 battle_tag_ = new ::std::string;
1964 battle_tag_->assign(
reinterpret_cast<const char*
>(value), size);
1967inline ::std::string* MemberAccountInfo::mutable_battle_tag() {
1968 set_has_battle_tag();
1969 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1970 battle_tag_ = new ::std::string;
1975inline ::std::string* MemberAccountInfo::release_battle_tag() {
1976 clear_has_battle_tag();
1977 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1980 ::std::string* temp = battle_tag_;
1981 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1985inline void MemberAccountInfo::set_allocated_battle_tag(::std::string* battle_tag) {
1986 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1990 set_has_battle_tag();
1991 battle_tag_ = battle_tag;
1993 clear_has_battle_tag();
1994 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2004inline int MemberState::attribute_size()
const {
2005 return attribute_.size();
2007inline void MemberState::clear_attribute() {
2010inline const ::bgs::protocol::Attribute& MemberState::attribute(
int index)
const {
2012 return attribute_.Get(index);
2014inline ::bgs::protocol::Attribute* MemberState::mutable_attribute(
int index) {
2016 return attribute_.Mutable(index);
2018inline ::bgs::protocol::Attribute* MemberState::add_attribute() {
2020 return attribute_.Add();
2022inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
2023MemberState::attribute()
const {
2027inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
2028MemberState::mutable_attribute() {
2034inline int MemberState::role_size()
const {
2035 return role_.size();
2037inline void MemberState::clear_role() {
2040inline ::google::protobuf::uint32 MemberState::role(
int index)
const {
2042 return role_.Get(index);
2044inline void MemberState::set_role(
int index, ::google::protobuf::uint32 value) {
2045 role_.Set(index, value);
2048inline void MemberState::add_role(::google::protobuf::uint32 value) {
2052inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2053MemberState::role()
const {
2057inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2058MemberState::mutable_role() {
2064inline bool MemberState::has_privileges()
const {
2065 return (_has_bits_[0] & 0x00000004u) != 0;
2067inline void MemberState::set_has_privileges() {
2068 _has_bits_[0] |= 0x00000004u;
2070inline void MemberState::clear_has_privileges() {
2071 _has_bits_[0] &= ~0x00000004u;
2073inline void MemberState::clear_privileges() {
2074 privileges_ = GOOGLE_ULONGLONG(0);
2075 clear_has_privileges();
2077inline ::google::protobuf::uint64 MemberState::privileges()
const {
2081inline void MemberState::set_privileges(::google::protobuf::uint64 value) {
2082 set_has_privileges();
2083 privileges_ = value;
2088inline bool MemberState::has_info()
const {
2089 return (_has_bits_[0] & 0x00000008u) != 0;
2091inline void MemberState::set_has_info() {
2092 _has_bits_[0] |= 0x00000008u;
2094inline void MemberState::clear_has_info() {
2095 _has_bits_[0] &= ~0x00000008u;
2097inline void MemberState::clear_info() {
2098 if (info_ != NULL) info_->::bgs::protocol::channel::v1::MemberAccountInfo::Clear();
2101inline const ::bgs::protocol::channel::v1::MemberAccountInfo& MemberState::info()
const {
2103 return info_ != NULL ? *info_ : *default_instance_->info_;
2105inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::mutable_info() {
2107 if (info_ == NULL) info_ = new ::bgs::protocol::channel::v1::MemberAccountInfo;
2111inline ::bgs::protocol::channel::v1::MemberAccountInfo* MemberState::release_info() {
2133inline bool Member::has_identity()
const {
2134 return (_has_bits_[0] & 0x00000001u) != 0;
2136inline void Member::set_has_identity() {
2137 _has_bits_[0] |= 0x00000001u;
2139inline void Member::clear_has_identity() {
2140 _has_bits_[0] &= ~0x00000001u;
2142inline void Member::clear_identity() {
2143 if (identity_ != NULL) identity_->::bgs::protocol::Identity::Clear();
2144 clear_has_identity();
2146inline const ::bgs::protocol::Identity& Member::identity()
const {
2148 return identity_ != NULL ? *identity_ : *default_instance_->identity_;
2150inline ::bgs::protocol::Identity* Member::mutable_identity() {
2152 if (identity_ == NULL) identity_ = new ::bgs::protocol::Identity;
2156inline ::bgs::protocol::Identity* Member::release_identity() {
2157 clear_has_identity();
2164 identity_ = identity;
2168 clear_has_identity();
2174inline bool Member::has_state()
const {
2175 return (_has_bits_[0] & 0x00000002u) != 0;
2177inline void Member::set_has_state() {
2178 _has_bits_[0] |= 0x00000002u;
2180inline void Member::clear_has_state() {
2181 _has_bits_[0] &= ~0x00000002u;
2183inline void Member::clear_state() {
2184 if (state_ != NULL) state_->::bgs::protocol::channel::v1::MemberState::Clear();
2187inline const ::bgs::protocol::channel::v1::MemberState& Member::state()
const {
2189 return state_ != NULL ? *state_ : *default_instance_->state_;
2191inline ::bgs::protocol::channel::v1::MemberState* Member::mutable_state() {
2193 if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::MemberState;
2197inline ::bgs::protocol::channel::v1::MemberState* Member::release_state() {
2219inline bool SubscriberId::has_account()
const {
2220 return (_has_bits_[0] & 0x00000001u) != 0;
2222inline void SubscriberId::set_has_account() {
2223 _has_bits_[0] |= 0x00000001u;
2225inline void SubscriberId::clear_has_account() {
2226 _has_bits_[0] &= ~0x00000001u;
2228inline void SubscriberId::clear_account() {
2229 if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
2230 clear_has_account();
2232inline const ::bgs::protocol::account::v1::AccountId& SubscriberId::account()
const {
2234 return account_ != NULL ? *account_ : *default_instance_->account_;
2236inline ::bgs::protocol::account::v1::AccountId* SubscriberId::mutable_account() {
2238 if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
2242inline ::bgs::protocol::account::v1::AccountId* SubscriberId::release_account() {
2243 clear_has_account();
2254 clear_has_account();
2260inline bool SubscriberId::has_game_account()
const {
2261 return (_has_bits_[0] & 0x00000002u) != 0;
2263inline void SubscriberId::set_has_game_account() {
2264 _has_bits_[0] |= 0x00000002u;
2266inline void SubscriberId::clear_has_game_account() {
2267 _has_bits_[0] &= ~0x00000002u;
2269inline void SubscriberId::clear_game_account() {
2270 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
2271 clear_has_game_account();
2273inline const ::bgs::protocol::account::v1::GameAccountHandle& SubscriberId::game_account()
const {
2275 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
2277inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::mutable_game_account() {
2278 set_has_game_account();
2279 if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
2281 return game_account_;
2283inline ::bgs::protocol::account::v1::GameAccountHandle* SubscriberId::release_game_account() {
2284 clear_has_game_account();
2286 game_account_ = NULL;
2290 delete game_account_;
2291 game_account_ = game_account;
2293 set_has_game_account();
2295 clear_has_game_account();
2301inline bool SubscriberId::has_process()
const {
2302 return (_has_bits_[0] & 0x00000004u) != 0;
2304inline void SubscriberId::set_has_process() {
2305 _has_bits_[0] |= 0x00000004u;
2307inline void SubscriberId::clear_has_process() {
2308 _has_bits_[0] &= ~0x00000004u;
2310inline void SubscriberId::clear_process() {
2311 if (process_ != NULL) process_->::bgs::protocol::ProcessId::Clear();
2312 clear_has_process();
2314inline const ::bgs::protocol::ProcessId& SubscriberId::process()
const {
2316 return process_ != NULL ? *process_ : *default_instance_->process_;
2318inline ::bgs::protocol::ProcessId* SubscriberId::mutable_process() {
2320 if (process_ == NULL) process_ = new ::bgs::protocol::ProcessId;
2324inline ::bgs::protocol::ProcessId* SubscriberId::release_process() {
2325 clear_has_process();
2336 clear_has_process();
2353inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel>() {
2354 return ::bgs::protocol::channel::v1::ChannelState_PrivacyLevel_descriptor();
ChannelDescription(const ChannelDescription &from)
::google::protobuf::uint32 current_members_
ChannelDescription & operator=(const ChannelDescription &from)
static ChannelDescription * default_instance_
virtual ~ChannelDescription()
ChannelDescription * New() const
::bgs::protocol::channel::v1::ChannelState * state_
int GetCachedSize() const
static const ChannelDescription & default_instance()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::bgs::protocol::EntityId * channel_id_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
void Swap(ChannelDescription *other)
::google::protobuf::Metadata GetMetadata() const
void InitAsDefaultInstance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
ChannelInfo(const ChannelInfo &from)
::google::protobuf::UnknownFieldSet _unknown_fields_
ChannelInfo & operator=(const ChannelInfo &from)
static ChannelInfo * default_instance_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void SetCachedSize(int size) const
static const ::google::protobuf::Descriptor * descriptor()
int GetCachedSize() const
::bgs::protocol::channel::v1::ChannelDescription * description_
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::channel::v1::Member > member_
void Swap(ChannelInfo *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitAsDefaultInstance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
ChannelInfo * New() const
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
static const ChannelInfo & default_instance()
ChannelState(const ChannelState &from)
void SetCachedSize(int size) const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Invitation > invitation_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::std::string * channel_type_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static bool PrivacyLevel_IsValid(int value)
::google::protobuf::UnknownFieldSet _unknown_fields_
ChannelState_PrivacyLevel PrivacyLevel
ChannelState * New() const
::google::protobuf::uint32 program_
static const ChannelState & default_instance()
ChannelState & operator=(const ChannelState &from)
static const ::google::protobuf::EnumDescriptor * PrivacyLevel_descriptor()
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
static ChannelState * default_instance_
void Swap(ChannelState *other)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::google::protobuf::uint32 max_members_
bool subscribe_to_presence_
static bool PrivacyLevel_Parse(const ::std::string &name, PrivacyLevel *value)
::google::protobuf::uint32 reason_
::google::protobuf::internal::ExtensionSet _extensions_
void InitAsDefaultInstance()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
int GetCachedSize() const
::google::protobuf::uint32 min_members_
::std::string * _default_channel_type_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
static const ::std::string & PrivacyLevel_Name(PrivacyLevel value)
ListChannelsOptions(const ListChannelsOptions &from)
ListChannelsOptions * New() const
int GetCachedSize() const
static const ListChannelsOptions & default_instance()
::bgs::protocol::AttributeFilter * attribute_filter_
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 max_results_
void InitAsDefaultInstance()
::std::string * channel_type_
::google::protobuf::uint32 locale_
void Swap(ListChannelsOptions *other)
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
ListChannelsOptions & operator=(const ListChannelsOptions &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::uint32 capacity_full_
static ListChannelsOptions * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::uint32 program_
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::google::protobuf::uint32 start_index_
virtual ~ListChannelsOptions()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
int GetCachedSize() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::std::string * battle_tag_
void SetCachedSize(int size) const
MemberAccountInfo * New() const
::google::protobuf::Metadata GetMetadata() const
virtual ~MemberAccountInfo()
void Swap(MemberAccountInfo *other)
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
MemberAccountInfo(const MemberAccountInfo &from)
void InitAsDefaultInstance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static MemberAccountInfo * default_instance_
MemberAccountInfo & operator=(const MemberAccountInfo &from)
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
static const MemberAccountInfo & default_instance()
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
MemberState * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void SetCachedSize(int size) const
MemberState & operator=(const MemberState &from)
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
MemberState(const MemberState &from)
static const MemberState & default_instance()
void Swap(MemberState *other)
void InitAsDefaultInstance()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
int GetCachedSize() const
::google::protobuf::uint64 privileges_
static MemberState * default_instance_
static const ::google::protobuf::Descriptor * descriptor()
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::bgs::protocol::channel::v1::MemberAccountInfo * info_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void SetCachedSize(int size) const
static const Member & default_instance()
int GetCachedSize() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::bgs::protocol::Identity * identity_
void InitAsDefaultInstance()
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
Member & operator=(const Member &from)
Member(const Member &from)
::google::protobuf::Metadata GetMetadata() const
::bgs::protocol::channel::v1::MemberState * state_
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
static Member * default_instance_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
Message(const Message &from)
static const ::google::protobuf::Descriptor * descriptor()
void SetCachedSize(int size) const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Message & operator=(const Message &from)
static Message * default_instance_
int GetCachedSize() const
friend void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void InitAsDefaultInstance()
::google::protobuf::internal::ExtensionSet _extensions_
static const Message & default_instance()
::google::protobuf::Metadata GetMetadata() const
friend void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
void Swap(Message *other)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
friend void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
void Swap(SubscriberId *other)
SubscriberId * New() const
SubscriberId(const SubscriberId &from)
void SetCachedSize(int size) const
int GetCachedSize() const
static const ::google::protobuf::Descriptor * descriptor()
static const SubscriberId & default_instance()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
SubscriberId & operator=(const SubscriberId &from)
void protobuf_ShutdownFile_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
bool ChannelState_PrivacyLevel_Parse(const ::std::string &name, ChannelState_PrivacyLevel *value)
const int ChannelState_PrivacyLevel_PrivacyLevel_ARRAYSIZE
void protobuf_AssignDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * ChannelState_PrivacyLevel_descriptor()
const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MAX
TC_PROTO_API bool ChannelState_PrivacyLevel_IsValid(int value)
const ChannelState_PrivacyLevel ChannelState_PrivacyLevel_PrivacyLevel_MIN
void TC_PROTO_API protobuf_AddDesc_api_2fclient_2fv1_2fchannel_5ftypes_2eproto()
ChannelState_PrivacyLevel
@ ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN
@ ChannelState_PrivacyLevel_PRIVACY_LEVEL_CLOSED
@ ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION
@ ChannelState_PrivacyLevel_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND
const ::std::string & ChannelState_PrivacyLevel_Name(ChannelState_PrivacyLevel value)