4#ifndef PROTOBUF_notification_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_notification_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>
36namespace notification {
64 return _unknown_fields_;
68 return &_unknown_fields_;
71 static const ::google::protobuf::Descriptor*
descriptor();
92 inline bool has_identity()
const;
93 inline void clear_identity();
94 static const int kIdentityFieldNumber = 1;
95 inline const ::bgs::protocol::notification::v1::TargetIdentity& identity()
const;
96 inline ::bgs::protocol::notification::v1::TargetIdentity* mutable_identity();
97 inline ::bgs::protocol::notification::v1::TargetIdentity* release_identity();
101 inline bool has_type()
const;
102 inline void clear_type();
103 static const int kTypeFieldNumber = 2;
104 inline const ::std::string& type()
const;
105 inline void set_type(const ::std::string& value);
106 inline void set_type(
const char* value);
107 inline void set_type(
const char* value,
size_t size);
108 inline ::std::string* mutable_type();
109 inline ::std::string* release_type();
110 inline void set_allocated_type(::std::string* type);
114 inline void set_has_identity();
115 inline void clear_has_identity();
116 inline void set_has_type();
117 inline void clear_has_type();
121 ::google::protobuf::uint32 _has_bits_[1];
147 return _unknown_fields_;
151 return &_unknown_fields_;
175 inline bool has_account()
const;
176 inline void clear_account();
177 static const int kAccountFieldNumber = 1;
178 inline const ::bgs::protocol::account::v1::AccountId& account()
const;
179 inline ::bgs::protocol::account::v1::AccountId* mutable_account();
180 inline ::bgs::protocol::account::v1::AccountId* release_account();
184 inline bool has_game_account()
const;
185 inline void clear_game_account();
186 static const int kGameAccountFieldNumber = 2;
187 inline const ::bgs::protocol::account::v1::GameAccountHandle& game_account()
const;
188 inline ::bgs::protocol::account::v1::GameAccountHandle* mutable_game_account();
189 inline ::bgs::protocol::account::v1::GameAccountHandle* release_game_account();
194 inline void set_has_account();
195 inline void clear_has_account();
196 inline void set_has_game_account();
197 inline void clear_has_game_account();
201 ::google::protobuf::uint32 _has_bits_[1];
227 return _unknown_fields_;
231 return &_unknown_fields_;
255 inline int target_size()
const;
256 inline void clear_target();
257 static const int kTargetFieldNumber = 1;
258 inline const ::bgs::protocol::notification::v1::Target& target(
int index)
const;
259 inline ::bgs::protocol::notification::v1::Target* mutable_target(
int index);
260 inline ::bgs::protocol::notification::v1::Target* add_target();
261 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >&
263 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >*
267 inline bool has_subscriber()
const;
268 inline void clear_subscriber();
269 static const int kSubscriberFieldNumber = 2;
270 inline const ::bgs::protocol::account::v1::Identity& subscriber()
const;
271 inline ::bgs::protocol::account::v1::Identity* mutable_subscriber();
272 inline ::bgs::protocol::account::v1::Identity* release_subscriber();
276 inline bool has_delivery_required() const PROTOBUF_DEPRECATED;
277 inline
void clear_delivery_required() PROTOBUF_DEPRECATED;
278 static const
int kDeliveryRequiredFieldNumber = 3;
279 inline
bool delivery_required() const PROTOBUF_DEPRECATED;
280 inline
void set_delivery_required(
bool value) PROTOBUF_DEPRECATED;
284 inline
void set_has_subscriber();
285 inline
void clear_has_subscriber();
286 inline
void set_has_delivery_required();
287 inline
void clear_has_delivery_required();
289 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
292 mutable
int _cached_size_;
295 bool delivery_required_;
296 friend
void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto();
297 friend
void protobuf_AssignDesc_notification_5ftypes_2eproto();
298 friend
void protobuf_ShutdownFile_notification_5ftypes_2eproto();
300 void InitAsDefaultInstance();
318 return _unknown_fields_;
322 return &_unknown_fields_;
346 inline bool has_sender_id()
const;
347 inline void clear_sender_id();
348 static const int kSenderIdFieldNumber = 1;
349 inline const ::bgs::protocol::EntityId& sender_id()
const;
350 inline ::bgs::protocol::EntityId* mutable_sender_id();
351 inline ::bgs::protocol::EntityId* release_sender_id();
355 inline bool has_target_id()
const;
356 inline void clear_target_id();
357 static const int kTargetIdFieldNumber = 2;
358 inline const ::bgs::protocol::EntityId& target_id()
const;
359 inline ::bgs::protocol::EntityId* mutable_target_id();
360 inline ::bgs::protocol::EntityId* release_target_id();
364 inline bool has_type()
const;
365 inline void clear_type();
366 static const int kTypeFieldNumber = 3;
367 inline const ::std::string& type()
const;
368 inline void set_type(const ::std::string& value);
369 inline void set_type(
const char* value);
370 inline void set_type(
const char* value,
size_t size);
371 inline ::std::string* mutable_type();
372 inline ::std::string* release_type();
373 inline void set_allocated_type(::std::string* type);
376 inline int attribute_size()
const;
377 inline void clear_attribute();
378 static const int kAttributeFieldNumber = 4;
379 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
380 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
381 inline ::bgs::protocol::Attribute* add_attribute();
382 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
384 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
388 inline bool has_sender_account_id()
const;
389 inline void clear_sender_account_id();
390 static const int kSenderAccountIdFieldNumber = 5;
391 inline const ::bgs::protocol::EntityId& sender_account_id()
const;
392 inline ::bgs::protocol::EntityId* mutable_sender_account_id();
393 inline ::bgs::protocol::EntityId* release_sender_account_id();
397 inline bool has_target_account_id()
const;
398 inline void clear_target_account_id();
399 static const int kTargetAccountIdFieldNumber = 6;
400 inline const ::bgs::protocol::EntityId& target_account_id()
const;
401 inline ::bgs::protocol::EntityId* mutable_target_account_id();
402 inline ::bgs::protocol::EntityId* release_target_account_id();
406 inline bool has_sender_battle_tag()
const;
407 inline void clear_sender_battle_tag();
408 static const int kSenderBattleTagFieldNumber = 7;
409 inline const ::std::string& sender_battle_tag()
const;
410 inline void set_sender_battle_tag(const ::std::string& value);
411 inline void set_sender_battle_tag(
const char* value);
412 inline void set_sender_battle_tag(
const char* value,
size_t size);
413 inline ::std::string* mutable_sender_battle_tag();
414 inline ::std::string* release_sender_battle_tag();
415 inline void set_allocated_sender_battle_tag(::std::string* sender_battle_tag);
418 inline bool has_target_battle_tag()
const;
419 inline void clear_target_battle_tag();
420 static const int kTargetBattleTagFieldNumber = 8;
421 inline const ::std::string& target_battle_tag()
const;
422 inline void set_target_battle_tag(const ::std::string& value);
423 inline void set_target_battle_tag(
const char* value);
424 inline void set_target_battle_tag(
const char* value,
size_t size);
425 inline ::std::string* mutable_target_battle_tag();
426 inline ::std::string* release_target_battle_tag();
427 inline void set_allocated_target_battle_tag(::std::string* target_battle_tag);
430 inline bool has_forwarding_identity()
const;
431 inline void clear_forwarding_identity();
432 static const int kForwardingIdentityFieldNumber = 10;
433 inline const ::bgs::protocol::account::v1::Identity& forwarding_identity()
const;
434 inline ::bgs::protocol::account::v1::Identity* mutable_forwarding_identity();
435 inline ::bgs::protocol::account::v1::Identity* release_forwarding_identity();
440 inline void set_has_sender_id();
441 inline void clear_has_sender_id();
442 inline void set_has_target_id();
443 inline void clear_has_target_id();
444 inline void set_has_type();
445 inline void clear_has_type();
446 inline void set_has_sender_account_id();
447 inline void clear_has_sender_account_id();
448 inline void set_has_target_account_id();
449 inline void clear_has_target_account_id();
450 inline void set_has_sender_battle_tag();
451 inline void clear_has_sender_battle_tag();
452 inline void set_has_target_battle_tag();
453 inline void clear_has_target_battle_tag();
454 inline void set_has_forwarding_identity();
455 inline void clear_has_forwarding_identity();
459 ::google::protobuf::uint32 _has_bits_[1];
464 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >
attribute_;
486inline bool Target::has_identity()
const {
487 return (_has_bits_[0] & 0x00000001u) != 0;
489inline void Target::set_has_identity() {
490 _has_bits_[0] |= 0x00000001u;
492inline void Target::clear_has_identity() {
493 _has_bits_[0] &= ~0x00000001u;
495inline void Target::clear_identity() {
496 if (identity_ != NULL) identity_->::bgs::protocol::notification::v1::TargetIdentity::Clear();
497 clear_has_identity();
499inline const ::bgs::protocol::notification::v1::TargetIdentity& Target::identity()
const {
501 return identity_ != NULL ? *identity_ : *default_instance_->identity_;
503inline ::bgs::protocol::notification::v1::TargetIdentity* Target::mutable_identity() {
505 if (identity_ == NULL) identity_ = new ::bgs::protocol::notification::v1::TargetIdentity;
509inline ::bgs::protocol::notification::v1::TargetIdentity* Target::release_identity() {
510 clear_has_identity();
517 identity_ = identity;
521 clear_has_identity();
527inline bool Target::has_type()
const {
528 return (_has_bits_[0] & 0x00000002u) != 0;
530inline void Target::set_has_type() {
531 _has_bits_[0] |= 0x00000002u;
533inline void Target::clear_has_type() {
534 _has_bits_[0] &= ~0x00000002u;
536inline void Target::clear_type() {
537 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
542inline const ::std::string& Target::type()
const {
546inline void Target::set_type(const ::std::string& value) {
548 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
549 type_ = new ::std::string;
551 type_->assign(value);
554inline void Target::set_type(
const char* value) {
556 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
557 type_ = new ::std::string;
559 type_->assign(value);
562inline void Target::set_type(
const char* value,
size_t size) {
564 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
565 type_ = new ::std::string;
567 type_->assign(
reinterpret_cast<const char*
>(value), size);
570inline ::std::string* Target::mutable_type() {
572 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
573 type_ = new ::std::string;
578inline ::std::string* Target::release_type() {
580 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
583 ::std::string* temp = type_;
584 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
588inline void Target::set_allocated_type(::std::string* type) {
589 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
597 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
607inline bool TargetIdentity::has_account()
const {
608 return (_has_bits_[0] & 0x00000001u) != 0;
610inline void TargetIdentity::set_has_account() {
611 _has_bits_[0] |= 0x00000001u;
613inline void TargetIdentity::clear_has_account() {
614 _has_bits_[0] &= ~0x00000001u;
616inline void TargetIdentity::clear_account() {
617 if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
620inline const ::bgs::protocol::account::v1::AccountId& TargetIdentity::account()
const {
622 return account_ != NULL ? *account_ : *default_instance_->account_;
624inline ::bgs::protocol::account::v1::AccountId* TargetIdentity::mutable_account() {
626 if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
630inline ::bgs::protocol::account::v1::AccountId* TargetIdentity::release_account() {
648inline bool TargetIdentity::has_game_account()
const {
649 return (_has_bits_[0] & 0x00000002u) != 0;
651inline void TargetIdentity::set_has_game_account() {
652 _has_bits_[0] |= 0x00000002u;
654inline void TargetIdentity::clear_has_game_account() {
655 _has_bits_[0] &= ~0x00000002u;
657inline void TargetIdentity::clear_game_account() {
658 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
659 clear_has_game_account();
661inline const ::bgs::protocol::account::v1::GameAccountHandle& TargetIdentity::game_account()
const {
663 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
665inline ::bgs::protocol::account::v1::GameAccountHandle* TargetIdentity::mutable_game_account() {
666 set_has_game_account();
667 if (game_account_ == NULL) game_account_ = new ::bgs::protocol::account::v1::GameAccountHandle;
669 return game_account_;
671inline ::bgs::protocol::account::v1::GameAccountHandle* TargetIdentity::release_game_account() {
672 clear_has_game_account();
674 game_account_ = NULL;
678 delete game_account_;
679 game_account_ = game_account;
681 set_has_game_account();
683 clear_has_game_account();
693inline int Subscription::target_size()
const {
694 return target_.size();
696inline void Subscription::clear_target() {
699inline const ::bgs::protocol::notification::v1::Target& Subscription::target(
int index)
const {
701 return target_.Get(index);
703inline ::bgs::protocol::notification::v1::Target* Subscription::mutable_target(
int index) {
705 return target_.Mutable(index);
707inline ::bgs::protocol::notification::v1::Target* Subscription::add_target() {
709 return target_.Add();
711inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >&
712Subscription::target()
const {
716inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >*
717Subscription::mutable_target() {
723inline bool Subscription::has_subscriber()
const {
724 return (_has_bits_[0] & 0x00000002u) != 0;
726inline void Subscription::set_has_subscriber() {
727 _has_bits_[0] |= 0x00000002u;
729inline void Subscription::clear_has_subscriber() {
730 _has_bits_[0] &= ~0x00000002u;
732inline void Subscription::clear_subscriber() {
733 if (subscriber_ != NULL) subscriber_->::bgs::protocol::account::v1::Identity::Clear();
734 clear_has_subscriber();
736inline const ::bgs::protocol::account::v1::Identity& Subscription::subscriber()
const {
738 return subscriber_ != NULL ? *subscriber_ : *default_instance_->subscriber_;
740inline ::bgs::protocol::account::v1::Identity* Subscription::mutable_subscriber() {
741 set_has_subscriber();
742 if (subscriber_ == NULL) subscriber_ = new ::bgs::protocol::account::v1::Identity;
746inline ::bgs::protocol::account::v1::Identity* Subscription::release_subscriber() {
747 clear_has_subscriber();
754 subscriber_ = subscriber;
756 set_has_subscriber();
758 clear_has_subscriber();
764inline bool Subscription::has_delivery_required()
const {
765 return (_has_bits_[0] & 0x00000004u) != 0;
767inline void Subscription::set_has_delivery_required() {
768 _has_bits_[0] |= 0x00000004u;
770inline void Subscription::clear_has_delivery_required() {
771 _has_bits_[0] &= ~0x00000004u;
773inline void Subscription::clear_delivery_required() {
774 delivery_required_ =
false;
775 clear_has_delivery_required();
777inline bool Subscription::delivery_required()
const {
779 return delivery_required_;
781inline void Subscription::set_delivery_required(
bool value) {
782 set_has_delivery_required();
783 delivery_required_ = value;
792inline bool Notification::has_sender_id()
const {
793 return (_has_bits_[0] & 0x00000001u) != 0;
795inline void Notification::set_has_sender_id() {
796 _has_bits_[0] |= 0x00000001u;
798inline void Notification::clear_has_sender_id() {
799 _has_bits_[0] &= ~0x00000001u;
801inline void Notification::clear_sender_id() {
802 if (sender_id_ != NULL) sender_id_->::bgs::protocol::EntityId::Clear();
803 clear_has_sender_id();
805inline const ::bgs::protocol::EntityId& Notification::sender_id()
const {
807 return sender_id_ != NULL ? *sender_id_ : *default_instance_->sender_id_;
809inline ::bgs::protocol::EntityId* Notification::mutable_sender_id() {
811 if (sender_id_ == NULL) sender_id_ = new ::bgs::protocol::EntityId;
815inline ::bgs::protocol::EntityId* Notification::release_sender_id() {
816 clear_has_sender_id();
823 sender_id_ = sender_id;
827 clear_has_sender_id();
833inline bool Notification::has_target_id()
const {
834 return (_has_bits_[0] & 0x00000002u) != 0;
836inline void Notification::set_has_target_id() {
837 _has_bits_[0] |= 0x00000002u;
839inline void Notification::clear_has_target_id() {
840 _has_bits_[0] &= ~0x00000002u;
842inline void Notification::clear_target_id() {
843 if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
844 clear_has_target_id();
846inline const ::bgs::protocol::EntityId& Notification::target_id()
const {
848 return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_;
850inline ::bgs::protocol::EntityId* Notification::mutable_target_id() {
852 if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
856inline ::bgs::protocol::EntityId* Notification::release_target_id() {
857 clear_has_target_id();
864 target_id_ = target_id;
868 clear_has_target_id();
874inline bool Notification::has_type()
const {
875 return (_has_bits_[0] & 0x00000004u) != 0;
877inline void Notification::set_has_type() {
878 _has_bits_[0] |= 0x00000004u;
880inline void Notification::clear_has_type() {
881 _has_bits_[0] &= ~0x00000004u;
883inline void Notification::clear_type() {
884 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
889inline const ::std::string& Notification::type()
const {
893inline void Notification::set_type(const ::std::string& value) {
895 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
896 type_ = new ::std::string;
898 type_->assign(value);
901inline void Notification::set_type(
const char* value) {
903 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
904 type_ = new ::std::string;
906 type_->assign(value);
909inline void Notification::set_type(
const char* value,
size_t size) {
911 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
912 type_ = new ::std::string;
914 type_->assign(
reinterpret_cast<const char*
>(value), size);
917inline ::std::string* Notification::mutable_type() {
919 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
920 type_ = new ::std::string;
925inline ::std::string* Notification::release_type() {
927 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
930 ::std::string* temp = type_;
931 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
935inline void Notification::set_allocated_type(::std::string* type) {
936 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
944 type_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
950inline int Notification::attribute_size()
const {
951 return attribute_.size();
953inline void Notification::clear_attribute() {
956inline const ::bgs::protocol::Attribute& Notification::attribute(
int index)
const {
958 return attribute_.Get(index);
960inline ::bgs::protocol::Attribute* Notification::mutable_attribute(
int index) {
962 return attribute_.Mutable(index);
964inline ::bgs::protocol::Attribute* Notification::add_attribute() {
966 return attribute_.Add();
968inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
969Notification::attribute()
const {
973inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
974Notification::mutable_attribute() {
980inline bool Notification::has_sender_account_id()
const {
981 return (_has_bits_[0] & 0x00000010u) != 0;
983inline void Notification::set_has_sender_account_id() {
984 _has_bits_[0] |= 0x00000010u;
986inline void Notification::clear_has_sender_account_id() {
987 _has_bits_[0] &= ~0x00000010u;
989inline void Notification::clear_sender_account_id() {
990 if (sender_account_id_ != NULL) sender_account_id_->::bgs::protocol::EntityId::Clear();
991 clear_has_sender_account_id();
993inline const ::bgs::protocol::EntityId& Notification::sender_account_id()
const {
995 return sender_account_id_ != NULL ? *sender_account_id_ : *default_instance_->sender_account_id_;
997inline ::bgs::protocol::EntityId* Notification::mutable_sender_account_id() {
998 set_has_sender_account_id();
999 if (sender_account_id_ == NULL) sender_account_id_ = new ::bgs::protocol::EntityId;
1001 return sender_account_id_;
1003inline ::bgs::protocol::EntityId* Notification::release_sender_account_id() {
1004 clear_has_sender_account_id();
1006 sender_account_id_ = NULL;
1010 delete sender_account_id_;
1011 sender_account_id_ = sender_account_id;
1012 if (sender_account_id) {
1013 set_has_sender_account_id();
1015 clear_has_sender_account_id();
1021inline bool Notification::has_target_account_id()
const {
1022 return (_has_bits_[0] & 0x00000020u) != 0;
1024inline void Notification::set_has_target_account_id() {
1025 _has_bits_[0] |= 0x00000020u;
1027inline void Notification::clear_has_target_account_id() {
1028 _has_bits_[0] &= ~0x00000020u;
1030inline void Notification::clear_target_account_id() {
1031 if (target_account_id_ != NULL) target_account_id_->::bgs::protocol::EntityId::Clear();
1032 clear_has_target_account_id();
1034inline const ::bgs::protocol::EntityId& Notification::target_account_id()
const {
1036 return target_account_id_ != NULL ? *target_account_id_ : *default_instance_->target_account_id_;
1038inline ::bgs::protocol::EntityId* Notification::mutable_target_account_id() {
1039 set_has_target_account_id();
1040 if (target_account_id_ == NULL) target_account_id_ = new ::bgs::protocol::EntityId;
1042 return target_account_id_;
1044inline ::bgs::protocol::EntityId* Notification::release_target_account_id() {
1045 clear_has_target_account_id();
1047 target_account_id_ = NULL;
1051 delete target_account_id_;
1052 target_account_id_ = target_account_id;
1053 if (target_account_id) {
1054 set_has_target_account_id();
1056 clear_has_target_account_id();
1062inline bool Notification::has_sender_battle_tag()
const {
1063 return (_has_bits_[0] & 0x00000040u) != 0;
1065inline void Notification::set_has_sender_battle_tag() {
1066 _has_bits_[0] |= 0x00000040u;
1068inline void Notification::clear_has_sender_battle_tag() {
1069 _has_bits_[0] &= ~0x00000040u;
1071inline void Notification::clear_sender_battle_tag() {
1072 if (sender_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1073 sender_battle_tag_->clear();
1075 clear_has_sender_battle_tag();
1077inline const ::std::string& Notification::sender_battle_tag()
const {
1079 return *sender_battle_tag_;
1081inline void Notification::set_sender_battle_tag(const ::std::string& value) {
1082 set_has_sender_battle_tag();
1083 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1084 sender_battle_tag_ = new ::std::string;
1086 sender_battle_tag_->assign(value);
1089inline void Notification::set_sender_battle_tag(
const char* value) {
1090 set_has_sender_battle_tag();
1091 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1092 sender_battle_tag_ = new ::std::string;
1094 sender_battle_tag_->assign(value);
1097inline void Notification::set_sender_battle_tag(
const char* value,
size_t size) {
1098 set_has_sender_battle_tag();
1099 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1100 sender_battle_tag_ = new ::std::string;
1102 sender_battle_tag_->assign(
reinterpret_cast<const char*
>(value), size);
1105inline ::std::string* Notification::mutable_sender_battle_tag() {
1106 set_has_sender_battle_tag();
1107 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1108 sender_battle_tag_ = new ::std::string;
1111 return sender_battle_tag_;
1113inline ::std::string* Notification::release_sender_battle_tag() {
1114 clear_has_sender_battle_tag();
1115 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1118 ::std::string* temp = sender_battle_tag_;
1119 sender_battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1123inline void Notification::set_allocated_sender_battle_tag(::std::string* sender_battle_tag) {
1124 if (sender_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1125 delete sender_battle_tag_;
1127 if (sender_battle_tag) {
1128 set_has_sender_battle_tag();
1129 sender_battle_tag_ = sender_battle_tag;
1131 clear_has_sender_battle_tag();
1132 sender_battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1138inline bool Notification::has_target_battle_tag()
const {
1139 return (_has_bits_[0] & 0x00000080u) != 0;
1141inline void Notification::set_has_target_battle_tag() {
1142 _has_bits_[0] |= 0x00000080u;
1144inline void Notification::clear_has_target_battle_tag() {
1145 _has_bits_[0] &= ~0x00000080u;
1147inline void Notification::clear_target_battle_tag() {
1148 if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1149 target_battle_tag_->clear();
1151 clear_has_target_battle_tag();
1153inline const ::std::string& Notification::target_battle_tag()
const {
1155 return *target_battle_tag_;
1157inline void Notification::set_target_battle_tag(const ::std::string& value) {
1158 set_has_target_battle_tag();
1159 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1160 target_battle_tag_ = new ::std::string;
1162 target_battle_tag_->assign(value);
1165inline void Notification::set_target_battle_tag(
const char* value) {
1166 set_has_target_battle_tag();
1167 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1168 target_battle_tag_ = new ::std::string;
1170 target_battle_tag_->assign(value);
1173inline void Notification::set_target_battle_tag(
const char* value,
size_t size) {
1174 set_has_target_battle_tag();
1175 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1176 target_battle_tag_ = new ::std::string;
1178 target_battle_tag_->assign(
reinterpret_cast<const char*
>(value), size);
1181inline ::std::string* Notification::mutable_target_battle_tag() {
1182 set_has_target_battle_tag();
1183 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1184 target_battle_tag_ = new ::std::string;
1187 return target_battle_tag_;
1189inline ::std::string* Notification::release_target_battle_tag() {
1190 clear_has_target_battle_tag();
1191 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1194 ::std::string* temp = target_battle_tag_;
1195 target_battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1199inline void Notification::set_allocated_target_battle_tag(::std::string* target_battle_tag) {
1200 if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1201 delete target_battle_tag_;
1203 if (target_battle_tag) {
1204 set_has_target_battle_tag();
1205 target_battle_tag_ = target_battle_tag;
1207 clear_has_target_battle_tag();
1208 target_battle_tag_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1214inline bool Notification::has_forwarding_identity()
const {
1215 return (_has_bits_[0] & 0x00000100u) != 0;
1217inline void Notification::set_has_forwarding_identity() {
1218 _has_bits_[0] |= 0x00000100u;
1220inline void Notification::clear_has_forwarding_identity() {
1221 _has_bits_[0] &= ~0x00000100u;
1223inline void Notification::clear_forwarding_identity() {
1224 if (forwarding_identity_ != NULL) forwarding_identity_->::bgs::protocol::account::v1::Identity::Clear();
1225 clear_has_forwarding_identity();
1227inline const ::bgs::protocol::account::v1::Identity& Notification::forwarding_identity()
const {
1229 return forwarding_identity_ != NULL ? *forwarding_identity_ : *default_instance_->forwarding_identity_;
1231inline ::bgs::protocol::account::v1::Identity* Notification::mutable_forwarding_identity() {
1232 set_has_forwarding_identity();
1233 if (forwarding_identity_ == NULL) forwarding_identity_ = new ::bgs::protocol::account::v1::Identity;
1235 return forwarding_identity_;
1237inline ::bgs::protocol::account::v1::Identity* Notification::release_forwarding_identity() {
1238 clear_has_forwarding_identity();
1240 forwarding_identity_ = NULL;
1244 delete forwarding_identity_;
1245 forwarding_identity_ = forwarding_identity;
1246 if (forwarding_identity) {
1247 set_has_forwarding_identity();
1249 clear_has_forwarding_identity();
void Swap(Notification *other)
::google::protobuf::Metadata GetMetadata() const
friend void protobuf_AssignDesc_notification_5ftypes_2eproto()
::bgs::protocol::EntityId * target_account_id_
::bgs::protocol::EntityId * target_id_
static const Notification & default_instance()
::std::string * target_battle_tag_
void InitAsDefaultInstance()
static Notification * default_instance_
::std::string * sender_battle_tag_
static const ::google::protobuf::Descriptor * descriptor()
Notification(const Notification &from)
::bgs::protocol::EntityId * sender_account_id_
Notification * New() const
friend void protobuf_ShutdownFile_notification_5ftypes_2eproto()
friend void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
::bgs::protocol::EntityId * sender_id_
::bgs::protocol::account::v1::Identity * forwarding_identity_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const
::google::protobuf::UnknownFieldSet _unknown_fields_
void SetCachedSize(int size) const
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Notification & operator=(const Notification &from)
::google::protobuf::Metadata GetMetadata() const
int GetCachedSize() const
static const Subscription & default_instance()
Subscription(const Subscription &from)
void Swap(Subscription *other)
void SetCachedSize(int size) const
Subscription & operator=(const Subscription &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
Subscription * New() const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const TargetIdentity & default_instance()
void SetCachedSize(int size) const
::bgs::protocol::account::v1::AccountId * account_
void Swap(TargetIdentity *other)
friend void protobuf_AssignDesc_notification_5ftypes_2eproto()
TargetIdentity * New() const
TargetIdentity & operator=(const TargetIdentity &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
int GetCachedSize() const
TargetIdentity(const TargetIdentity &from)
friend void protobuf_ShutdownFile_notification_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
virtual ~TargetIdentity()
friend void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
::bgs::protocol::account::v1::GameAccountHandle * game_account_
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
static TargetIdentity * default_instance_
void InitAsDefaultInstance()
::bgs::protocol::notification::v1::TargetIdentity * identity_
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_notification_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
static const Target & default_instance()
void InitAsDefaultInstance()
Target & operator=(const Target &from)
Target(const Target &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_ShutdownFile_notification_5ftypes_2eproto()
int GetCachedSize() const
friend void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
static Target * default_instance_
void protobuf_AssignDesc_notification_5ftypes_2eproto()
void protobuf_ShutdownFile_notification_5ftypes_2eproto()
void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()