4#ifndef PROTOBUF_friends_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_friends_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/unknown_field_set.h>
69 return _unknown_fields_;
73 return &_unknown_fields_;
76 static const ::google::protobuf::Descriptor*
descriptor();
97 inline bool has_account_id()
const;
98 inline void clear_account_id();
99 static const int kAccountIdFieldNumber = 1;
100 inline const ::bgs::protocol::EntityId& account_id()
const;
101 inline ::bgs::protocol::EntityId* mutable_account_id();
102 inline ::bgs::protocol::EntityId* release_account_id();
106 inline int attribute_size()
const;
107 inline void clear_attribute();
108 static const int kAttributeFieldNumber = 2;
109 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
110 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
111 inline ::bgs::protocol::Attribute* add_attribute();
112 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
114 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
118 inline int role_size()
const;
119 inline void clear_role();
120 static const int kRoleFieldNumber = 3;
124 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
126 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
130 inline bool has_privileges()
const;
131 inline void clear_privileges();
132 static const int kPrivilegesFieldNumber = 4;
137 inline bool has_attributes_epoch() const PROTOBUF_DEPRECATED;
138 inline
void clear_attributes_epoch() PROTOBUF_DEPRECATED;
139 static const
int kAttributesEpochFieldNumber = 5;
140 inline ::
google::protobuf::
uint64 attributes_epoch() const PROTOBUF_DEPRECATED;
141 inline
void set_attributes_epoch(::
google::protobuf::
uint64 value) PROTOBUF_DEPRECATED;
144 inline
bool has_creation_time() const;
145 inline
void clear_creation_time();
146 static const
int kCreationTimeFieldNumber = 6;
147 inline ::
google::protobuf::
uint64 creation_time() const;
148 inline
void set_creation_time(::
google::protobuf::
uint64 value);
152 inline
void set_has_account_id();
153 inline
void clear_has_account_id();
154 inline
void set_has_privileges();
155 inline
void clear_has_privileges();
156 inline
void set_has_attributes_epoch();
157 inline
void clear_has_attributes_epoch();
158 inline
void set_has_creation_time();
159 inline
void clear_has_creation_time();
161 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
164 mutable
int _cached_size_;
175 void InitAsDefaultInstance();
193 return _unknown_fields_;
197 return &_unknown_fields_;
221 inline bool has_account_id()
const;
222 inline void clear_account_id();
223 static const int kAccountIdFieldNumber = 1;
224 inline const ::bgs::protocol::EntityId& account_id()
const;
225 inline ::bgs::protocol::EntityId* mutable_account_id();
226 inline ::bgs::protocol::EntityId* release_account_id();
230 inline int role_size()
const;
231 inline void clear_role();
232 static const int kRoleFieldNumber = 3;
236 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
238 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
242 inline bool has_privileges()
const;
243 inline void clear_privileges();
244 static const int kPrivilegesFieldNumber = 4;
249 inline bool has_full_name()
const;
250 inline void clear_full_name();
251 static const int kFullNameFieldNumber = 6;
252 inline const ::std::string& full_name()
const;
253 inline void set_full_name(const ::std::string& value);
254 inline void set_full_name(
const char* value);
255 inline void set_full_name(
const char* value,
size_t size);
256 inline ::std::string* mutable_full_name();
257 inline ::std::string* release_full_name();
258 inline void set_allocated_full_name(::std::string* full_name);
261 inline bool has_battle_tag()
const;
262 inline void clear_battle_tag();
263 static const int kBattleTagFieldNumber = 7;
264 inline const ::std::string& battle_tag()
const;
265 inline void set_battle_tag(const ::std::string& value);
266 inline void set_battle_tag(
const char* value);
267 inline void set_battle_tag(
const char* value,
size_t size);
268 inline ::std::string* mutable_battle_tag();
269 inline ::std::string* release_battle_tag();
270 inline void set_allocated_battle_tag(::std::string* battle_tag);
274 inline void set_has_account_id();
275 inline void clear_has_account_id();
276 inline void set_has_privileges();
277 inline void clear_has_privileges();
278 inline void set_has_full_name();
279 inline void clear_has_full_name();
280 inline void set_has_battle_tag();
281 inline void clear_has_battle_tag();
288 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >
role_;
314 return _unknown_fields_;
318 return &_unknown_fields_;
342 inline bool has_id()
const;
343 inline void clear_id();
344 static const int kIdFieldNumber = 1;
349 inline bool has_inviter_identity()
const;
350 inline void clear_inviter_identity();
351 static const int kInviterIdentityFieldNumber = 2;
352 inline const ::bgs::protocol::Identity& inviter_identity()
const;
353 inline ::bgs::protocol::Identity* mutable_inviter_identity();
354 inline ::bgs::protocol::Identity* release_inviter_identity();
358 inline bool has_invitee_identity()
const;
359 inline void clear_invitee_identity();
360 static const int kInviteeIdentityFieldNumber = 3;
361 inline const ::bgs::protocol::Identity& invitee_identity()
const;
362 inline ::bgs::protocol::Identity* mutable_invitee_identity();
363 inline ::bgs::protocol::Identity* release_invitee_identity();
367 inline bool has_inviter_name()
const;
368 inline void clear_inviter_name();
369 static const int kInviterNameFieldNumber = 4;
370 inline const ::std::string& inviter_name()
const;
371 inline void set_inviter_name(const ::std::string& value);
372 inline void set_inviter_name(
const char* value);
373 inline void set_inviter_name(
const char* value,
size_t size);
374 inline ::std::string* mutable_inviter_name();
375 inline ::std::string* release_inviter_name();
376 inline void set_allocated_inviter_name(::std::string* inviter_name);
379 inline bool has_invitee_name()
const;
380 inline void clear_invitee_name();
381 static const int kInviteeNameFieldNumber = 5;
382 inline const ::std::string& invitee_name()
const;
383 inline void set_invitee_name(const ::std::string& value);
384 inline void set_invitee_name(
const char* value);
385 inline void set_invitee_name(
const char* value,
size_t size);
386 inline ::std::string* mutable_invitee_name();
387 inline ::std::string* release_invitee_name();
388 inline void set_allocated_invitee_name(::std::string* invitee_name);
391 inline bool has_creation_time()
const;
392 inline void clear_creation_time();
393 static const int kCreationTimeFieldNumber = 7;
398 inline bool has_program()
const;
399 inline void clear_program();
400 static const int kProgramFieldNumber = 9;
407 inline void set_has_id();
408 inline void clear_has_id();
409 inline void set_has_inviter_identity();
410 inline void clear_has_inviter_identity();
411 inline void set_has_invitee_identity();
412 inline void clear_has_invitee_identity();
413 inline void set_has_inviter_name();
414 inline void clear_has_inviter_name();
415 inline void set_has_invitee_name();
416 inline void clear_has_invitee_name();
417 inline void set_has_creation_time();
418 inline void clear_has_creation_time();
419 inline void set_has_program();
420 inline void clear_has_program();
457 return _unknown_fields_;
461 return &_unknown_fields_;
485 inline int role_size()
const;
486 inline void clear_role();
487 static const int kRoleFieldNumber = 2;
491 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
493 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
497 inline int attribute_size()
const;
498 inline void clear_attribute();
499 static const int kAttributeFieldNumber = 3;
500 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
501 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
502 inline ::bgs::protocol::Attribute* add_attribute();
503 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
505 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
508 static const int kFriendInvitationFieldNumber = 103;
510 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::friends::v1::FriendInvitation >, 11,
false >
519 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >
role_;
520 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attribute_;
543 return _unknown_fields_;
547 return &_unknown_fields_;
571 inline bool has_id()
const;
572 inline void clear_id();
573 static const int kIdFieldNumber = 1;
578 inline bool has_target_name()
const;
579 inline void clear_target_name();
580 static const int kTargetNameFieldNumber = 2;
581 inline const ::std::string& target_name()
const;
582 inline void set_target_name(const ::std::string& value);
583 inline void set_target_name(
const char* value);
584 inline void set_target_name(
const char* value,
size_t size);
585 inline ::std::string* mutable_target_name();
586 inline ::std::string* release_target_name();
587 inline void set_allocated_target_name(::std::string* target_name);
590 inline bool has_role()
const;
591 inline void clear_role();
592 static const int kRoleFieldNumber = 3;
597 inline int attribute_size()
const;
598 inline void clear_attribute();
599 static const int kAttributeFieldNumber = 4;
600 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
601 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
602 inline ::bgs::protocol::Attribute* add_attribute();
603 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
605 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
609 inline bool has_creation_time()
const;
610 inline void clear_creation_time();
611 static const int kCreationTimeFieldNumber = 5;
616 inline bool has_program()
const;
617 inline void clear_program();
618 static const int kProgramFieldNumber = 6;
624 inline void set_has_id();
625 inline void clear_has_id();
626 inline void set_has_target_name();
627 inline void clear_has_target_name();
628 inline void set_has_role();
629 inline void clear_has_role();
630 inline void set_has_creation_time();
631 inline void clear_has_creation_time();
632 inline void set_has_program();
633 inline void clear_has_program();
641 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attribute_;
667 return _unknown_fields_;
671 return &_unknown_fields_;
695 inline bool has_target_email()
const;
696 inline void clear_target_email();
697 static const int kTargetEmailFieldNumber = 1;
698 inline const ::std::string& target_email()
const;
699 inline void set_target_email(const ::std::string& value);
700 inline void set_target_email(
const char* value);
701 inline void set_target_email(
const char* value,
size_t size);
702 inline ::std::string* mutable_target_email();
703 inline ::std::string* release_target_email();
704 inline void set_allocated_target_email(::std::string* target_email);
707 inline bool has_target_battle_tag()
const;
708 inline void clear_target_battle_tag();
709 static const int kTargetBattleTagFieldNumber = 2;
710 inline const ::std::string& target_battle_tag()
const;
711 inline void set_target_battle_tag(const ::std::string& value);
712 inline void set_target_battle_tag(
const char* value);
713 inline void set_target_battle_tag(
const char* value,
size_t size);
714 inline ::std::string* mutable_target_battle_tag();
715 inline ::std::string* release_target_battle_tag();
716 inline void set_allocated_target_battle_tag(::std::string* target_battle_tag);
719 inline int role_size()
const;
720 inline void clear_role();
721 static const int kRoleFieldNumber = 6;
725 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
727 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
731 inline int attribute_size()
const;
732 inline void clear_attribute();
733 static const int kAttributeFieldNumber = 8;
734 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
735 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
736 inline ::bgs::protocol::Attribute* add_attribute();
737 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
739 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
743 inline bool has_target_name()
const;
744 inline void clear_target_name();
745 static const int kTargetNameFieldNumber = 9;
746 inline const ::std::string& target_name()
const;
747 inline void set_target_name(const ::std::string& value);
748 inline void set_target_name(
const char* value);
749 inline void set_target_name(
const char* value,
size_t size);
750 inline ::std::string* mutable_target_name();
751 inline ::std::string* release_target_name();
752 inline void set_allocated_target_name(::std::string* target_name);
755 inline bool has_program() const PROTOBUF_DEPRECATED;
756 inline
void clear_program() PROTOBUF_DEPRECATED;
757 static const
int kProgramFieldNumber = 10;
758 inline ::
google::protobuf::
uint32 program() const PROTOBUF_DEPRECATED;
759 inline
void set_program(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
762 inline
bool has_target_phone_number() const;
763 inline
void clear_target_phone_number();
764 static const
int kTargetPhoneNumberFieldNumber = 11;
765 inline const ::
std::
string& target_phone_number() const;
766 inline
void set_target_phone_number(const ::
std::
string& value);
767 inline
void set_target_phone_number(const
char* value);
768 inline
void set_target_phone_number(const
char* value,
size_t size);
769 inline ::
std::
string* mutable_target_phone_number();
770 inline ::
std::
string* release_target_phone_number();
771 inline
void set_allocated_target_phone_number(::
std::
string* target_phone_number);
773 static const
int kFriendParamsFieldNumber = 103;
779 inline
void set_has_target_email();
780 inline
void clear_has_target_email();
781 inline
void set_has_target_battle_tag();
782 inline
void clear_has_target_battle_tag();
783 inline
void set_has_target_name();
784 inline
void clear_has_target_name();
785 inline
void set_has_program();
786 inline
void clear_has_program();
787 inline
void set_has_target_phone_number();
788 inline
void clear_has_target_phone_number();
790 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
793 mutable
int _cached_size_;
794 ::
std::
string* target_email_;
795 ::
std::
string* target_battle_tag_;
798 ::
std::
string* target_name_;
799 ::
std::
string* target_phone_number_;
805 void InitAsDefaultInstance();
823 return _unknown_fields_;
827 return &_unknown_fields_;
851 inline bool has_max_friends() const PROTOBUF_DEPRECATED;
852 inline
void clear_max_friends() PROTOBUF_DEPRECATED;
853 static const
int kMaxFriendsFieldNumber = 1;
854 inline ::
google::protobuf::
uint32 max_friends() const PROTOBUF_DEPRECATED;
855 inline
void set_max_friends(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
858 inline
bool has_max_received_invitations() const PROTOBUF_DEPRECATED;
859 inline
void clear_max_received_invitations() PROTOBUF_DEPRECATED;
860 static const
int kMaxReceivedInvitationsFieldNumber = 2;
861 inline ::
google::protobuf::
uint32 max_received_invitations() const PROTOBUF_DEPRECATED;
862 inline
void set_max_received_invitations(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
865 inline
bool has_max_sent_invitations() const PROTOBUF_DEPRECATED;
866 inline
void clear_max_sent_invitations() PROTOBUF_DEPRECATED;
867 static const
int kMaxSentInvitationsFieldNumber = 3;
868 inline ::
google::protobuf::
uint32 max_sent_invitations() const PROTOBUF_DEPRECATED;
869 inline
void set_max_sent_invitations(::
google::protobuf::
uint32 value) PROTOBUF_DEPRECATED;
872 inline
int role_size() const;
873 inline
void clear_role();
874 static const
int kRoleFieldNumber = 4;
875 inline const ::
bgs::protocol::
Role& role(
int index) const;
876 inline ::
bgs::protocol::
Role* mutable_role(
int index);
877 inline ::
bgs::protocol::
Role* add_role();
878 inline const ::
google::protobuf::RepeatedPtrField< ::
bgs::protocol::
Role >&
880 inline ::
google::protobuf::RepeatedPtrField< ::
bgs::protocol::
Role >*
884 inline
int friends_size() const;
885 inline
void clear_friends();
886 static const
int kFriendsFieldNumber = 5;
887 inline const ::
bgs::protocol::friends::v1::
Friend& friends(
int index) const;
888 inline ::
bgs::protocol::friends::v1::
Friend* mutable_friends(
int index);
889 inline ::
bgs::protocol::friends::v1::
Friend* add_friends();
890 inline const ::
google::protobuf::RepeatedPtrField< ::
bgs::protocol::friends::v1::
Friend >&
892 inline ::
google::protobuf::RepeatedPtrField< ::
bgs::protocol::friends::v1::
Friend >*
896 inline
int received_invitations_size() const;
897 inline
void clear_received_invitations();
898 static const
int kReceivedInvitationsFieldNumber = 7;
899 inline const ::
bgs::protocol::friends::v1::
ReceivedInvitation& received_invitations(
int index) const;
903 received_invitations() const;
905 mutable_received_invitations();
908 inline
int sent_invitations_size() const;
909 inline
void clear_sent_invitations();
910 static const
int kSentInvitationsFieldNumber = 8;
911 inline const ::
bgs::protocol::friends::v1::
SentInvitation& sent_invitations(
int index) const;
912 inline ::
bgs::protocol::friends::v1::
SentInvitation* mutable_sent_invitations(
int index);
915 sent_invitations() const;
917 mutable_sent_invitations();
921 inline
void set_has_max_friends();
922 inline
void clear_has_max_friends();
923 inline
void set_has_max_received_invitations();
924 inline
void clear_has_max_received_invitations();
925 inline
void set_has_max_sent_invitations();
926 inline
void clear_has_max_sent_invitations();
928 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
931 mutable
int _cached_size_;
935 ::
google::protobuf::RepeatedPtrField< ::
bgs::protocol::friends::v1::
Friend > friends_;
943 void InitAsDefaultInstance();
961 return _unknown_fields_;
965 return &_unknown_fields_;
989 inline bool has_role()
const;
990 inline void clear_role();
991 static const int kRoleFieldNumber = 1;
996 inline bool has_program()
const;
997 inline void clear_program();
998 static const int kProgramFieldNumber = 2;
1004 inline void set_has_role();
1005 inline void clear_has_role();
1006 inline void set_has_program();
1007 inline void clear_has_program();
1032 return (_has_bits_[0] & 0x00000001u) != 0;
1035 _has_bits_[0] |= 0x00000001u;
1038 _has_bits_[0] &= ~0x00000001u;
1041 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
1042 clear_has_account_id();
1046 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
1049 set_has_account_id();
1050 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
1055 clear_has_account_id();
1062 account_id_ = account_id;
1064 set_has_account_id();
1066 clear_has_account_id();
1073 return attribute_.size();
1080 return attribute_.Get(index);
1084 return attribute_.Mutable(index);
1088 return attribute_.Add();
1090inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1095inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1103 return role_.size();
1110 return role_.Get(index);
1113 role_.Set(index, value);
1120inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1125inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1133 return (_has_bits_[0] & 0x00000008u) != 0;
1136 _has_bits_[0] |= 0x00000008u;
1139 _has_bits_[0] &= ~0x00000008u;
1142 privileges_ = GOOGLE_ULONGLONG(0);
1143 clear_has_privileges();
1150 set_has_privileges();
1151 privileges_ = value;
1157 return (_has_bits_[0] & 0x00000010u) != 0;
1160 _has_bits_[0] |= 0x00000010u;
1163 _has_bits_[0] &= ~0x00000010u;
1166 attributes_epoch_ = GOOGLE_ULONGLONG(0);
1167 clear_has_attributes_epoch();
1171 return attributes_epoch_;
1174 set_has_attributes_epoch();
1175 attributes_epoch_ = value;
1181 return (_has_bits_[0] & 0x00000020u) != 0;
1184 _has_bits_[0] |= 0x00000020u;
1187 _has_bits_[0] &= ~0x00000020u;
1190 creation_time_ = GOOGLE_ULONGLONG(0);
1191 clear_has_creation_time();
1195 return creation_time_;
1198 set_has_creation_time();
1199 creation_time_ = value;
1209 return (_has_bits_[0] & 0x00000001u) != 0;
1212 _has_bits_[0] |= 0x00000001u;
1215 _has_bits_[0] &= ~0x00000001u;
1218 if (account_id_ != NULL) account_id_->::bgs::protocol::EntityId::Clear();
1219 clear_has_account_id();
1223 return account_id_ != NULL ? *account_id_ : *default_instance_->account_id_;
1226 set_has_account_id();
1227 if (account_id_ == NULL) account_id_ = new ::bgs::protocol::EntityId;
1232 clear_has_account_id();
1239 account_id_ = account_id;
1241 set_has_account_id();
1243 clear_has_account_id();
1250 return role_.size();
1257 return role_.Get(index);
1260 role_.Set(index, value);
1267inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1272inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1280 return (_has_bits_[0] & 0x00000004u) != 0;
1283 _has_bits_[0] |= 0x00000004u;
1286 _has_bits_[0] &= ~0x00000004u;
1289 privileges_ = GOOGLE_ULONGLONG(0);
1290 clear_has_privileges();
1297 set_has_privileges();
1298 privileges_ = value;
1304 return (_has_bits_[0] & 0x00000008u) != 0;
1307 _has_bits_[0] |= 0x00000008u;
1310 _has_bits_[0] &= ~0x00000008u;
1313 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1314 full_name_->clear();
1316 clear_has_full_name();
1323 set_has_full_name();
1324 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1325 full_name_ = new ::std::string;
1327 full_name_->assign(value);
1331 set_has_full_name();
1332 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1333 full_name_ = new ::std::string;
1335 full_name_->assign(value);
1339 set_has_full_name();
1340 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1341 full_name_ = new ::std::string;
1343 full_name_->assign(
reinterpret_cast<const char*
>(value),
size);
1347 set_has_full_name();
1348 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1349 full_name_ = new ::std::string;
1355 clear_has_full_name();
1356 if (full_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1359 ::std::string* temp = full_name_;
1360 full_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1365 if (full_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1369 set_has_full_name();
1370 full_name_ = full_name;
1372 clear_has_full_name();
1373 full_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1380 return (_has_bits_[0] & 0x00000010u) != 0;
1383 _has_bits_[0] |= 0x00000010u;
1386 _has_bits_[0] &= ~0x00000010u;
1389 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1390 battle_tag_->clear();
1392 clear_has_battle_tag();
1396 return *battle_tag_;
1399 set_has_battle_tag();
1400 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1401 battle_tag_ = new ::std::string;
1403 battle_tag_->assign(value);
1407 set_has_battle_tag();
1408 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1409 battle_tag_ = new ::std::string;
1411 battle_tag_->assign(value);
1415 set_has_battle_tag();
1416 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1417 battle_tag_ = new ::std::string;
1419 battle_tag_->assign(
reinterpret_cast<const char*
>(value),
size);
1423 set_has_battle_tag();
1424 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1425 battle_tag_ = new ::std::string;
1431 clear_has_battle_tag();
1432 if (battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1435 ::std::string* temp = battle_tag_;
1436 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1441 if (battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1445 set_has_battle_tag();
1446 battle_tag_ = battle_tag;
1448 clear_has_battle_tag();
1449 battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1460 return (_has_bits_[0] & 0x00000001u) != 0;
1463 _has_bits_[0] |= 0x00000001u;
1466 _has_bits_[0] &= ~0x00000001u;
1469 id_ = GOOGLE_ULONGLONG(0);
1484 return (_has_bits_[0] & 0x00000002u) != 0;
1487 _has_bits_[0] |= 0x00000002u;
1490 _has_bits_[0] &= ~0x00000002u;
1493 if (inviter_identity_ != NULL) inviter_identity_->::bgs::protocol::Identity::Clear();
1494 clear_has_inviter_identity();
1498 return inviter_identity_ != NULL ? *inviter_identity_ : *default_instance_->inviter_identity_;
1501 set_has_inviter_identity();
1502 if (inviter_identity_ == NULL) inviter_identity_ = new ::bgs::protocol::Identity;
1504 return inviter_identity_;
1507 clear_has_inviter_identity();
1509 inviter_identity_ = NULL;
1513 delete inviter_identity_;
1514 inviter_identity_ = inviter_identity;
1515 if (inviter_identity) {
1516 set_has_inviter_identity();
1518 clear_has_inviter_identity();
1525 return (_has_bits_[0] & 0x00000004u) != 0;
1528 _has_bits_[0] |= 0x00000004u;
1531 _has_bits_[0] &= ~0x00000004u;
1534 if (invitee_identity_ != NULL) invitee_identity_->::bgs::protocol::Identity::Clear();
1535 clear_has_invitee_identity();
1539 return invitee_identity_ != NULL ? *invitee_identity_ : *default_instance_->invitee_identity_;
1542 set_has_invitee_identity();
1543 if (invitee_identity_ == NULL) invitee_identity_ = new ::bgs::protocol::Identity;
1545 return invitee_identity_;
1548 clear_has_invitee_identity();
1550 invitee_identity_ = NULL;
1554 delete invitee_identity_;
1555 invitee_identity_ = invitee_identity;
1556 if (invitee_identity) {
1557 set_has_invitee_identity();
1559 clear_has_invitee_identity();
1566 return (_has_bits_[0] & 0x00000008u) != 0;
1569 _has_bits_[0] |= 0x00000008u;
1572 _has_bits_[0] &= ~0x00000008u;
1575 if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1576 inviter_name_->clear();
1578 clear_has_inviter_name();
1582 return *inviter_name_;
1585 set_has_inviter_name();
1586 if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1587 inviter_name_ = new ::std::string;
1589 inviter_name_->assign(value);
1593 set_has_inviter_name();
1594 if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1595 inviter_name_ = new ::std::string;
1597 inviter_name_->assign(value);
1601 set_has_inviter_name();
1602 if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1603 inviter_name_ = new ::std::string;
1605 inviter_name_->assign(
reinterpret_cast<const char*
>(value),
size);
1609 set_has_inviter_name();
1610 if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1611 inviter_name_ = new ::std::string;
1614 return inviter_name_;
1617 clear_has_inviter_name();
1618 if (inviter_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1621 ::std::string* temp = inviter_name_;
1622 inviter_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1627 if (inviter_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1628 delete inviter_name_;
1631 set_has_inviter_name();
1632 inviter_name_ = inviter_name;
1634 clear_has_inviter_name();
1635 inviter_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1642 return (_has_bits_[0] & 0x00000010u) != 0;
1645 _has_bits_[0] |= 0x00000010u;
1648 _has_bits_[0] &= ~0x00000010u;
1651 if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1652 invitee_name_->clear();
1654 clear_has_invitee_name();
1658 return *invitee_name_;
1661 set_has_invitee_name();
1662 if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1663 invitee_name_ = new ::std::string;
1665 invitee_name_->assign(value);
1669 set_has_invitee_name();
1670 if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1671 invitee_name_ = new ::std::string;
1673 invitee_name_->assign(value);
1677 set_has_invitee_name();
1678 if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1679 invitee_name_ = new ::std::string;
1681 invitee_name_->assign(
reinterpret_cast<const char*
>(value),
size);
1685 set_has_invitee_name();
1686 if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1687 invitee_name_ = new ::std::string;
1690 return invitee_name_;
1693 clear_has_invitee_name();
1694 if (invitee_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1697 ::std::string* temp = invitee_name_;
1698 invitee_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1703 if (invitee_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1704 delete invitee_name_;
1707 set_has_invitee_name();
1708 invitee_name_ = invitee_name;
1710 clear_has_invitee_name();
1711 invitee_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1718 return (_has_bits_[0] & 0x00000020u) != 0;
1721 _has_bits_[0] |= 0x00000020u;
1724 _has_bits_[0] &= ~0x00000020u;
1727 creation_time_ = GOOGLE_ULONGLONG(0);
1728 clear_has_creation_time();
1732 return creation_time_;
1735 set_has_creation_time();
1736 creation_time_ = value;
1742 return (_has_bits_[0] & 0x00000040u) != 0;
1745 _has_bits_[0] |= 0x00000040u;
1748 _has_bits_[0] &= ~0x00000040u;
1752 clear_has_program();
1770 return role_.size();
1777 return role_.Get(index);
1780 role_.Set(index, value);
1787inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1792inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1800 return attribute_.size();
1807 return attribute_.Get(index);
1811 return attribute_.Mutable(index);
1815 return attribute_.Add();
1817inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1822inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1834 return (_has_bits_[0] & 0x00000001u) != 0;
1837 _has_bits_[0] |= 0x00000001u;
1840 _has_bits_[0] &= ~0x00000001u;
1843 id_ = GOOGLE_ULONGLONG(0);
1858 return (_has_bits_[0] & 0x00000002u) != 0;
1861 _has_bits_[0] |= 0x00000002u;
1864 _has_bits_[0] &= ~0x00000002u;
1867 if (target_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1868 target_name_->clear();
1870 clear_has_target_name();
1874 return *target_name_;
1877 set_has_target_name();
1878 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1879 target_name_ = new ::std::string;
1881 target_name_->assign(value);
1885 set_has_target_name();
1886 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1887 target_name_ = new ::std::string;
1889 target_name_->assign(value);
1893 set_has_target_name();
1894 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1895 target_name_ = new ::std::string;
1897 target_name_->assign(
reinterpret_cast<const char*
>(value),
size);
1901 set_has_target_name();
1902 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1903 target_name_ = new ::std::string;
1906 return target_name_;
1909 clear_has_target_name();
1910 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1913 ::std::string* temp = target_name_;
1914 target_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1919 if (target_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1920 delete target_name_;
1923 set_has_target_name();
1924 target_name_ = target_name;
1926 clear_has_target_name();
1927 target_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1934 return (_has_bits_[0] & 0x00000004u) != 0;
1937 _has_bits_[0] |= 0x00000004u;
1940 _has_bits_[0] &= ~0x00000004u;
1958 return attribute_.size();
1965 return attribute_.Get(index);
1969 return attribute_.Mutable(index);
1973 return attribute_.Add();
1975inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
1980inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
1988 return (_has_bits_[0] & 0x00000010u) != 0;
1991 _has_bits_[0] |= 0x00000010u;
1994 _has_bits_[0] &= ~0x00000010u;
1997 creation_time_ = GOOGLE_ULONGLONG(0);
1998 clear_has_creation_time();
2002 return creation_time_;
2005 set_has_creation_time();
2006 creation_time_ = value;
2012 return (_has_bits_[0] & 0x00000020u) != 0;
2015 _has_bits_[0] |= 0x00000020u;
2018 _has_bits_[0] &= ~0x00000020u;
2022 clear_has_program();
2040 return (_has_bits_[0] & 0x00000001u) != 0;
2043 _has_bits_[0] |= 0x00000001u;
2046 _has_bits_[0] &= ~0x00000001u;
2049 if (target_email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2050 target_email_->clear();
2052 clear_has_target_email();
2056 return *target_email_;
2059 set_has_target_email();
2060 if (target_email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2061 target_email_ = new ::std::string;
2063 target_email_->assign(value);
2067 set_has_target_email();
2068 if (target_email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2069 target_email_ = new ::std::string;
2071 target_email_->assign(value);
2075 set_has_target_email();
2076 if (target_email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2077 target_email_ = new ::std::string;
2079 target_email_->assign(
reinterpret_cast<const char*
>(value),
size);
2083 set_has_target_email();
2084 if (target_email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2085 target_email_ = new ::std::string;
2088 return target_email_;
2091 clear_has_target_email();
2092 if (target_email_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2095 ::std::string* temp = target_email_;
2096 target_email_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2101 if (target_email_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2102 delete target_email_;
2105 set_has_target_email();
2106 target_email_ = target_email;
2108 clear_has_target_email();
2109 target_email_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2116 return (_has_bits_[0] & 0x00000002u) != 0;
2119 _has_bits_[0] |= 0x00000002u;
2122 _has_bits_[0] &= ~0x00000002u;
2125 if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2126 target_battle_tag_->clear();
2128 clear_has_target_battle_tag();
2132 return *target_battle_tag_;
2135 set_has_target_battle_tag();
2136 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2137 target_battle_tag_ = new ::std::string;
2139 target_battle_tag_->assign(value);
2143 set_has_target_battle_tag();
2144 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2145 target_battle_tag_ = new ::std::string;
2147 target_battle_tag_->assign(value);
2151 set_has_target_battle_tag();
2152 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2153 target_battle_tag_ = new ::std::string;
2155 target_battle_tag_->assign(
reinterpret_cast<const char*
>(value),
size);
2159 set_has_target_battle_tag();
2160 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2161 target_battle_tag_ = new ::std::string;
2164 return target_battle_tag_;
2167 clear_has_target_battle_tag();
2168 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2171 ::std::string* temp = target_battle_tag_;
2172 target_battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2177 if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2178 delete target_battle_tag_;
2180 if (target_battle_tag) {
2181 set_has_target_battle_tag();
2182 target_battle_tag_ = target_battle_tag;
2184 clear_has_target_battle_tag();
2185 target_battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2192 return role_.size();
2199 return role_.Get(index);
2202 role_.Set(index, value);
2209inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2214inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2222 return attribute_.size();
2229 return attribute_.Get(index);
2233 return attribute_.Mutable(index);
2237 return attribute_.Add();
2239inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
2244inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
2252 return (_has_bits_[0] & 0x00000010u) != 0;
2255 _has_bits_[0] |= 0x00000010u;
2258 _has_bits_[0] &= ~0x00000010u;
2261 if (target_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2262 target_name_->clear();
2264 clear_has_target_name();
2268 return *target_name_;
2271 set_has_target_name();
2272 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2273 target_name_ = new ::std::string;
2275 target_name_->assign(value);
2279 set_has_target_name();
2280 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2281 target_name_ = new ::std::string;
2283 target_name_->assign(value);
2287 set_has_target_name();
2288 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2289 target_name_ = new ::std::string;
2291 target_name_->assign(
reinterpret_cast<const char*
>(value),
size);
2295 set_has_target_name();
2296 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2297 target_name_ = new ::std::string;
2300 return target_name_;
2303 clear_has_target_name();
2304 if (target_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2307 ::std::string* temp = target_name_;
2308 target_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2313 if (target_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2314 delete target_name_;
2317 set_has_target_name();
2318 target_name_ = target_name;
2320 clear_has_target_name();
2321 target_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2328 return (_has_bits_[0] & 0x00000020u) != 0;
2331 _has_bits_[0] |= 0x00000020u;
2334 _has_bits_[0] &= ~0x00000020u;
2338 clear_has_program();
2352 return (_has_bits_[0] & 0x00000040u) != 0;
2355 _has_bits_[0] |= 0x00000040u;
2358 _has_bits_[0] &= ~0x00000040u;
2361 if (target_phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2362 target_phone_number_->clear();
2364 clear_has_target_phone_number();
2368 return *target_phone_number_;
2371 set_has_target_phone_number();
2372 if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2373 target_phone_number_ = new ::std::string;
2375 target_phone_number_->assign(value);
2379 set_has_target_phone_number();
2380 if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2381 target_phone_number_ = new ::std::string;
2383 target_phone_number_->assign(value);
2387 set_has_target_phone_number();
2388 if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2389 target_phone_number_ = new ::std::string;
2391 target_phone_number_->assign(
reinterpret_cast<const char*
>(value),
size);
2395 set_has_target_phone_number();
2396 if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2397 target_phone_number_ = new ::std::string;
2400 return target_phone_number_;
2403 clear_has_target_phone_number();
2404 if (target_phone_number_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2407 ::std::string* temp = target_phone_number_;
2408 target_phone_number_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2413 if (target_phone_number_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2414 delete target_phone_number_;
2416 if (target_phone_number) {
2417 set_has_target_phone_number();
2418 target_phone_number_ = target_phone_number;
2420 clear_has_target_phone_number();
2421 target_phone_number_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2432 return (_has_bits_[0] & 0x00000001u) != 0;
2435 _has_bits_[0] |= 0x00000001u;
2438 _has_bits_[0] &= ~0x00000001u;
2442 clear_has_max_friends();
2446 return max_friends_;
2449 set_has_max_friends();
2450 max_friends_ = value;
2456 return (_has_bits_[0] & 0x00000002u) != 0;
2459 _has_bits_[0] |= 0x00000002u;
2462 _has_bits_[0] &= ~0x00000002u;
2465 max_received_invitations_ = 0u;
2466 clear_has_max_received_invitations();
2470 return max_received_invitations_;
2473 set_has_max_received_invitations();
2474 max_received_invitations_ = value;
2480 return (_has_bits_[0] & 0x00000004u) != 0;
2483 _has_bits_[0] |= 0x00000004u;
2486 _has_bits_[0] &= ~0x00000004u;
2489 max_sent_invitations_ = 0u;
2490 clear_has_max_sent_invitations();
2494 return max_sent_invitations_;
2497 set_has_max_sent_invitations();
2498 max_sent_invitations_ = value;
2504 return role_.size();
2511 return role_.Get(index);
2515 return role_.Mutable(index);
2521inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Role >&
2526inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Role >*
2534 return friends_.size();
2541 return friends_.Get(index);
2545 return friends_.Mutable(index);
2549 return friends_.Add();
2551inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::Friend >&
2556inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::Friend >*
2564 return received_invitations_.size();
2567 received_invitations_.Clear();
2571 return received_invitations_.Get(index);
2575 return received_invitations_.Mutable(index);
2579 return received_invitations_.Add();
2581inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::ReceivedInvitation >&
2584 return received_invitations_;
2586inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::ReceivedInvitation >*
2589 return &received_invitations_;
2594 return sent_invitations_.size();
2597 sent_invitations_.Clear();
2601 return sent_invitations_.Get(index);
2605 return sent_invitations_.Mutable(index);
2609 return sent_invitations_.Add();
2611inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::SentInvitation >&
2614 return sent_invitations_;
2616inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::SentInvitation >*
2619 return &sent_invitations_;
2628 return (_has_bits_[0] & 0x00000001u) != 0;
2631 _has_bits_[0] |= 0x00000001u;
2634 _has_bits_[0] &= ~0x00000001u;
2652 return (_has_bits_[0] & 0x00000002u) != 0;
2655 _has_bits_[0] |= 0x00000002u;
2658 _has_bits_[0] &= ~0x00000002u;
2662 clear_has_program();
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::Metadata GetMetadata() const
AcceptInvitationOptions * New() const
virtual ~AcceptInvitationOptions()
::google::protobuf::uint32 role_
AcceptInvitationOptions(const AcceptInvitationOptions &from)
void SetCachedSize(int size) const
friend void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto()
AcceptInvitationOptions & operator=(const AcceptInvitationOptions &from)
AcceptInvitationOptions()
static const AcceptInvitationOptions & default_instance()
void set_program(::google::protobuf::uint32 value)
static AcceptInvitationOptions * default_instance_
friend void protobuf_ShutdownFile_friends_5ftypes_2eproto()
void set_role(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
friend void protobuf_AssignDesc_friends_5ftypes_2eproto()
int GetCachedSize() const
::google::protobuf::uint32 program_
void InitAsDefaultInstance()
void Swap(AcceptInvitationOptions *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint32 role() const
inline ::google::protobuf::uint32 program() const
inline ::std::string * release_target_name()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::std::string * mutable_target_phone_number()
int GetCachedSize() const
void SetCachedSize(int size) const
void clear_has_target_battle_tag()
void set_has_target_email()
bool has_target_email() const
void clear_has_target_email()
inline ::std::string * release_target_phone_number()
void set_role(int index, ::google::protobuf::uint32 value)
inline ::std::string * mutable_target_battle_tag()
FriendInvitationParams(const FriendInvitationParams &from)
void clear_target_battle_tag()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
bool has_target_battle_tag() const
inline ::google::protobuf::uint32 program() const PROTOBUF_DEPRECATED
int attribute_size() const
void set_allocated_target_name(::std::string *target_name)
void clear_has_target_name()
void set_target_email(const ::std::string &value)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::bgs::protocol::Attribute * add_attribute()
void add_role(::google::protobuf::uint32 value)
FriendInvitationParams * New() const
inline ::std::string * mutable_target_email()
void clear_has_target_phone_number()
void clear_target_email()
void clear_target_phone_number()
void set_has_target_phone_number()
void set_target_phone_number(const ::std::string &value)
::google::protobuf::Metadata GetMetadata() const
inline ::std::string * mutable_target_name()
void clear_program() PROTOBUF_DEPRECATED
void set_target_name(const ::std::string &value)
static const FriendInvitationParams & default_instance()
void set_target_battle_tag(const ::std::string &value)
void set_has_target_name()
void Swap(FriendInvitationParams *other)
bool has_target_phone_number() const
void set_allocated_target_battle_tag(::std::string *target_battle_tag)
const ::std::string & target_name() const
inline ::std::string * release_target_battle_tag()
const ::std::string & target_email() const
void set_program(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
static const ::google::protobuf::Descriptor * descriptor()
virtual ~FriendInvitationParams()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
bool has_program() const PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
const ::std::string & target_phone_number() const
void set_has_target_battle_tag()
void set_allocated_target_phone_number(::std::string *target_phone_number)
inline ::std::string * release_target_email()
const ::std::string & target_battle_tag() const
FriendInvitationParams & operator=(const FriendInvitationParams &from)
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
bool has_target_name() const
void set_allocated_target_email(::std::string *target_email)
void set_role(int index, ::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
virtual ~FriendInvitation()
FriendInvitation * New() const
FriendInvitation & operator=(const FriendInvitation &from)
void Swap(FriendInvitation *other)
void SetCachedSize(int size) const
void InitAsDefaultInstance()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
static FriendInvitation * default_instance_
friend void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto()
static const FriendInvitation & default_instance()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
int GetCachedSize() const
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
friend void protobuf_ShutdownFile_friends_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
friend void protobuf_AssignDesc_friends_5ftypes_2eproto()
FriendInvitation(const FriendInvitation &from)
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::Attribute * add_attribute()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
int attribute_size() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static ::google::protobuf::internal::ExtensionIdentifier< ::bgs::protocol::friends::v1::ReceivedInvitation, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::friends::v1::FriendInvitation >, 11, false > friend_invitation
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
void add_role(::google::protobuf::uint32 value)
inline ::std::string * release_full_name()
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
::std::string * full_name_
FriendOfFriend(const FriendOfFriend &from)
void Swap(FriendOfFriend *other)
virtual ~FriendOfFriend()
friend void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto()
::bgs::protocol::EntityId * account_id_
::google::protobuf::uint64 privileges_
void clear_has_full_name()
void set_allocated_battle_tag(::std::string *battle_tag)
static const ::google::protobuf::Descriptor * descriptor()
inline ::std::string * release_battle_tag()
inline ::google::protobuf::uint64 privileges() const
bool has_battle_tag() const
::std::string * battle_tag_
inline ::bgs::protocol::EntityId * release_account_id()
bool has_privileges() const
void set_role(int index, ::google::protobuf::uint32 value)
void InitAsDefaultInstance()
void set_has_privileges()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
FriendOfFriend & operator=(const FriendOfFriend &from)
void set_has_battle_tag()
inline ::std::string * mutable_full_name()
void clear_has_battle_tag()
void clear_has_privileges()
friend void protobuf_ShutdownFile_friends_5ftypes_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_battle_tag(const ::std::string &value)
int GetCachedSize() const
const ::bgs::protocol::EntityId & account_id() const
void set_has_account_id()
friend void protobuf_AssignDesc_friends_5ftypes_2eproto()
bool has_account_id() const
void clear_has_account_id()
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
void set_privileges(::google::protobuf::uint64 value)
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
const ::std::string & full_name() const
const ::std::string & battle_tag() const
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
void SetCachedSize(int size) const
FriendOfFriend * New() const
static FriendOfFriend * default_instance_
::google::protobuf::Metadata GetMetadata() const
void set_full_name(const ::std::string &value)
bool has_full_name() const
static const FriendOfFriend & default_instance()
inline ::bgs::protocol::EntityId * mutable_account_id()
inline ::std::string * mutable_battle_tag()
void set_allocated_full_name(::std::string *full_name)
void add_role(::google::protobuf::uint32 value)
bool has_privileges() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
int GetCachedSize() const
inline ::google::protobuf::uint64 privileges() const
void clear_has_creation_time()
void clear_has_attributes_epoch()
static const Friend & default_instance()
void add_role(::google::protobuf::uint32 value)
void set_attributes_epoch(::google::protobuf::uint64 value) PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_role()
inline ::google::protobuf::uint64 attributes_epoch() const PROTOBUF_DEPRECATED
inline ::bgs::protocol::Attribute * add_attribute()
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & role() const
void clear_attributes_epoch() PROTOBUF_DEPRECATED
inline ::bgs::protocol::EntityId * mutable_account_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_account_id(::bgs::protocol::EntityId *account_id)
static const ::google::protobuf::Descriptor * descriptor()
void clear_creation_time()
bool has_attributes_epoch() const PROTOBUF_DEPRECATED
inline ::google::protobuf::uint64 creation_time() const
bool has_creation_time() const
void set_has_privileges()
::google::protobuf::Metadata GetMetadata() const
void set_role(int index, ::google::protobuf::uint32 value)
void SetCachedSize(int size) const
const ::bgs::protocol::EntityId & account_id() const
void set_has_creation_time()
bool has_account_id() const
Friend(const Friend &from)
void clear_has_privileges()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_creation_time(::google::protobuf::uint64 value)
inline ::bgs::protocol::EntityId * release_account_id()
void set_has_attributes_epoch()
void clear_has_account_id()
int attribute_size() const
void set_has_account_id()
Friend & operator=(const Friend &from)
void set_privileges(::google::protobuf::uint64 value)
inline ::std::string * mutable_invitee_name()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void SetCachedSize(int size) const
int GetCachedSize() const
void InitAsDefaultInstance()
static const ::google::protobuf::Descriptor * descriptor()
void clear_inviter_name()
::google::protobuf::uint32 program_
::std::string * invitee_name_
::google::protobuf::uint64 id_
void clear_invitee_name()
void set_allocated_inviter_identity(::bgs::protocol::Identity *inviter_identity)
bool has_creation_time() const
inline ::bgs::protocol::Identity * release_invitee_identity()
::google::protobuf::uint64 creation_time_
const ::std::string & inviter_name() const
void set_id(::google::protobuf::uint64 value)
inline ::google::protobuf::uint64 id() const
bool has_invitee_identity() const
void clear_has_inviter_identity()
inline ::std::string * release_invitee_name()
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto()
inline ::google::protobuf::uint32 program() const
const ::std::string & invitee_name() const
bool has_invitee_name() const
::std::string * inviter_name_
void set_has_inviter_identity()
inline ::google::protobuf::uint64 creation_time() const
::bgs::protocol::Identity * inviter_identity_
static const ReceivedInvitation & default_instance()
ReceivedInvitation(const ReceivedInvitation &from)
friend void protobuf_ShutdownFile_friends_5ftypes_2eproto()
ReceivedInvitation * New() const
inline ::std::string * mutable_inviter_name()
::google::protobuf::Metadata GetMetadata() const
void clear_has_invitee_name()
void clear_has_inviter_name()
void clear_invitee_identity()
void set_has_invitee_name()
void Swap(ReceivedInvitation *other)
void clear_has_creation_time()
bool has_inviter_identity() const
void set_allocated_invitee_name(::std::string *invitee_name)
friend void protobuf_AssignDesc_friends_5ftypes_2eproto()
inline ::bgs::protocol::Identity * mutable_inviter_identity()
void set_invitee_name(const ::std::string &value)
inline ::bgs::protocol::Identity * release_inviter_identity()
void set_has_inviter_name()
void set_creation_time(::google::protobuf::uint64 value)
::google::protobuf::internal::ExtensionSet _extensions_
void clear_inviter_identity()
const ::bgs::protocol::Identity & invitee_identity() const
static ReceivedInvitation * default_instance_
ReceivedInvitation & operator=(const ReceivedInvitation &from)
virtual ~ReceivedInvitation()
void set_program(::google::protobuf::uint32 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void set_has_creation_time()
void clear_has_invitee_identity()
inline ::bgs::protocol::Identity * mutable_invitee_identity()
void set_has_invitee_identity()
::bgs::protocol::Identity * invitee_identity_
void set_allocated_inviter_name(::std::string *inviter_name)
inline ::std::string * release_inviter_name()
void set_allocated_invitee_identity(::bgs::protocol::Identity *invitee_identity)
const ::bgs::protocol::Identity & inviter_identity() const
bool has_inviter_name() const
void set_inviter_name(const ::std::string &value)
void clear_creation_time()
int GetCachedSize() const
void set_target_name(const ::std::string &value)
void clear_has_creation_time()
bool has_creation_time() const
void Swap(SentInvitation *other)
inline ::std::string * mutable_target_name()
::google::protobuf::uint32 role_
::google::protobuf::Metadata GetMetadata() const
SentInvitation & operator=(const SentInvitation &from)
::google::protobuf::uint64 creation_time_
friend void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto()
::std::string * target_name_
void InitAsDefaultInstance()
inline ::bgs::protocol::Attribute * add_attribute()
void set_id(::google::protobuf::uint64 value)
void clear_has_target_name()
SentInvitation * New() const
::google::protobuf::uint64 id_
void set_has_target_name()
void set_creation_time(::google::protobuf::uint64 value)
inline ::google::protobuf::uint64 id() const
int attribute_size() const
friend void protobuf_ShutdownFile_friends_5ftypes_2eproto()
const ::std::string & target_name() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
::google::protobuf::uint32 program_
void set_has_creation_time()
inline ::google::protobuf::uint64 creation_time() const
inline ::std::string * release_target_name()
bool has_target_name() const
friend void protobuf_AssignDesc_friends_5ftypes_2eproto()
SentInvitation(const SentInvitation &from)
virtual ~SentInvitation()
inline ::google::protobuf::uint32 role() const
void set_allocated_target_name(::std::string *target_name)
void set_role(::google::protobuf::uint32 value)
void set_program(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
static const SentInvitation & default_instance()
static SentInvitation * default_instance_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
static const ::google::protobuf::Descriptor * descriptor()
void clear_creation_time()
void SetCachedSize(int size) const
inline ::google::protobuf::uint32 program() const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
SubscribeResponse & operator=(const SubscribeResponse &from)
void clear_max_sent_invitations() PROTOBUF_DEPRECATED
void clear_has_max_friends()
inline ::google::protobuf::uint32 max_sent_invitations() const PROTOBUF_DEPRECATED
inline ::google::protobuf::uint32 max_received_invitations() const PROTOBUF_DEPRECATED
void set_has_max_received_invitations()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
virtual ~SubscribeResponse()
static const ::google::protobuf::Descriptor * descriptor()
inline ::bgs::protocol::Role * add_role()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::Friend > & friends() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::Friend > * mutable_friends()
void set_max_sent_invitations(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::ReceivedInvitation > * mutable_received_invitations()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::google::protobuf::Metadata GetMetadata() const
void clear_has_max_received_invitations()
SubscribeResponse * New() const
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::SentInvitation > * mutable_sent_invitations()
int received_invitations_size() const
bool has_max_friends() const PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::SentInvitation > & sent_invitations() const
inline ::bgs::protocol::friends::v1::SentInvitation * add_sent_invitations()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Role > * mutable_role()
void Swap(SubscribeResponse *other)
void set_max_received_invitations(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
void set_has_max_sent_invitations()
void SetCachedSize(int size) const
inline ::bgs::protocol::friends::v1::Friend * add_friends()
void clear_max_friends() PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::friends::v1::ReceivedInvitation > & received_invitations() const
void clear_sent_invitations()
void clear_max_received_invitations() PROTOBUF_DEPRECATED
static const SubscribeResponse & default_instance()
void clear_has_max_sent_invitations()
SubscribeResponse(const SubscribeResponse &from)
void clear_received_invitations()
int sent_invitations_size() const
inline ::bgs::protocol::friends::v1::ReceivedInvitation * add_received_invitations()
bool has_max_received_invitations() const PROTOBUF_DEPRECATED
inline ::google::protobuf::uint32 max_friends() const PROTOBUF_DEPRECATED
void set_max_friends(::google::protobuf::uint32 value) PROTOBUF_DEPRECATED
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Role > & role() const
int GetCachedSize() const
bool has_max_sent_invitations() const PROTOBUF_DEPRECATED
void set_has_max_friends()
constexpr std::size_t size()
void TC_PROTO_API protobuf_AddDesc_friends_5ftypes_2eproto()
void protobuf_AssignDesc_friends_5ftypes_2eproto()
void protobuf_ShutdownFile_friends_5ftypes_2eproto()