TrinityCore
notification_types.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: notification_types.proto
3
4#ifndef PROTOBUF_notification_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_notification_5ftypes_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
27#include "account_types.pb.h"
28#include "attribute_types.pb.h"
29#include "entity_types.pb.h"
30#include "rpc_types.pb.h"
31#include "Define.h" // for TC_PROTO_API
32// @@protoc_insertion_point(includes)
33
34namespace bgs {
35namespace protocol {
36namespace notification {
37namespace v1 {
38
39// Internal implementation detail -- do not call these.
43
44class Target;
45class TargetIdentity;
46class Subscription;
47class Notification;
48
49// ===================================================================
50
51class TC_PROTO_API Target : public ::google::protobuf::Message {
52 public:
54 virtual ~Target();
55
56 Target(const Target& from);
57
58 inline Target& operator=(const Target& from) {
59 CopyFrom(from);
60 return *this;
61 }
62
63 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
64 return _unknown_fields_;
65 }
66
67 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
68 return &_unknown_fields_;
69 }
70
71 static const ::google::protobuf::Descriptor* descriptor();
72 static const Target& default_instance();
73
74 void Swap(Target* other);
75
76 // implements Message ----------------------------------------------
77
78 Target* New() const;
79 int GetCachedSize() const { return _cached_size_; }
80 private:
81 void SharedCtor();
82 void SharedDtor();
83 void SetCachedSize(int size) const;
84 public:
85 ::google::protobuf::Metadata GetMetadata() const;
86
87 // nested types ----------------------------------------------------
88
89 // accessors -------------------------------------------------------
90
91 // optional .bgs.protocol.notification.v1.TargetIdentity identity = 1;
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();
98 inline void set_allocated_identity(::bgs::protocol::notification::v1::TargetIdentity* identity);
99
100 // optional string type = 2;
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);
111
112 // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v1.Target)
113 private:
114 inline void set_has_identity();
115 inline void clear_has_identity();
116 inline void set_has_type();
117 inline void clear_has_type();
118
119 ::google::protobuf::UnknownFieldSet _unknown_fields_;
120
122 mutable int _cached_size_;
124 ::std::string* type_;
128
131};
132// -------------------------------------------------------------------
133
134class TC_PROTO_API TargetIdentity : public ::google::protobuf::Message {
135 public:
138
140
142 CopyFrom(from);
143 return *this;
144 }
145
146 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
147 return _unknown_fields_;
148 }
149
150 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
151 return &_unknown_fields_;
152 }
153
154 static const ::google::protobuf::Descriptor* descriptor();
156
157 void Swap(TargetIdentity* other);
158
159 // implements Message ----------------------------------------------
160
162 int GetCachedSize() const { return _cached_size_; }
163 private:
166 void SetCachedSize(int size) const;
167 public:
168 ::google::protobuf::Metadata GetMetadata() const;
169
170 // nested types ----------------------------------------------------
171
172 // accessors -------------------------------------------------------
173
174 // optional .bgs.protocol.account.v1.AccountId account = 1;
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();
181 inline void set_allocated_account(::bgs::protocol::account::v1::AccountId* account);
182
183 // optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
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();
190 inline void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle* game_account);
191
192 // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v1.TargetIdentity)
193 private:
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();
198
199 ::google::protobuf::UnknownFieldSet _unknown_fields_;
200
202 mutable int _cached_size_;
208
211};
212// -------------------------------------------------------------------
213
214class TC_PROTO_API Subscription : public ::google::protobuf::Message {
215 public:
217 virtual ~Subscription();
218
220
221 inline Subscription& operator=(const Subscription& from) {
222 CopyFrom(from);
223 return *this;
224 }
225
226 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
227 return _unknown_fields_;
228 }
229
230 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
231 return &_unknown_fields_;
232 }
233
234 static const ::google::protobuf::Descriptor* descriptor();
236
237 void Swap(Subscription* other);
238
239 // implements Message ----------------------------------------------
240
242 int GetCachedSize() const { return _cached_size_; }
243 private:
246 void SetCachedSize(int size) const;
247 public:
248 ::google::protobuf::Metadata GetMetadata() const;
249
250 // nested types ----------------------------------------------------
251
252 // accessors -------------------------------------------------------
253
254 // repeated .bgs.protocol.notification.v1.Target target = 1;
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 >&
262 target() const;
263 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >*
264 mutable_target();
265
266 // optional .bgs.protocol.account.v1.Identity subscriber = 2;
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();
273 inline void set_allocated_subscriber(::bgs::protocol::account::v1::Identity* subscriber);
274
275 // optional bool delivery_required = 3 [deprecated = true];
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;
281
282 // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v1.Subscription)
283 private:
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();
288
289 ::google::protobuf::UnknownFieldSet _unknown_fields_;
290
291 ::google::protobuf::uint32 _has_bits_[1];
292 mutable int _cached_size_;
293 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_;
294 ::bgs::protocol::account::v1::Identity* subscriber_;
295 bool delivery_required_;
299
300 void InitAsDefaultInstance();
301 static Subscription* default_instance_;
302};
303// -------------------------------------------------------------------
304
305class TC_PROTO_API Notification : public ::google::protobuf::Message {
306 public:
308 virtual ~Notification();
309
311
312 inline Notification& operator=(const Notification& from) {
313 CopyFrom(from);
314 return *this;
315 }
316
317 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
318 return _unknown_fields_;
319 }
320
321 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
322 return &_unknown_fields_;
323 }
324
325 static const ::google::protobuf::Descriptor* descriptor();
327
328 void Swap(Notification* other);
329
330 // implements Message ----------------------------------------------
331
333 int GetCachedSize() const { return _cached_size_; }
334 private:
337 void SetCachedSize(int size) const;
338 public:
339 ::google::protobuf::Metadata GetMetadata() const;
340
341 // nested types ----------------------------------------------------
342
343 // accessors -------------------------------------------------------
344
345 // optional .bgs.protocol.EntityId sender_id = 1;
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();
352 inline void set_allocated_sender_id(::bgs::protocol::EntityId* sender_id);
353
354 // required .bgs.protocol.EntityId target_id = 2;
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();
361 inline void set_allocated_target_id(::bgs::protocol::EntityId* target_id);
362
363 // required string type = 3;
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);
374
375 // repeated .bgs.protocol.Attribute attribute = 4;
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 >&
383 attribute() const;
384 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
385 mutable_attribute();
386
387 // optional .bgs.protocol.EntityId sender_account_id = 5;
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();
394 inline void set_allocated_sender_account_id(::bgs::protocol::EntityId* sender_account_id);
395
396 // optional .bgs.protocol.EntityId target_account_id = 6;
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();
403 inline void set_allocated_target_account_id(::bgs::protocol::EntityId* target_account_id);
404
405 // optional string sender_battle_tag = 7;
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);
416
417 // optional string target_battle_tag = 8;
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);
428
429 // optional .bgs.protocol.account.v1.Identity forwarding_identity = 10;
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();
436 inline void set_allocated_forwarding_identity(::bgs::protocol::account::v1::Identity* forwarding_identity);
437
438 // @@protoc_insertion_point(class_scope:bgs.protocol.notification.v1.Notification)
439 private:
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();
456
457 ::google::protobuf::UnknownFieldSet _unknown_fields_;
458
460 mutable int _cached_size_;
463 ::std::string* type_;
464 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_;
467 ::std::string* sender_battle_tag_;
468 ::std::string* target_battle_tag_;
473
476};
477// ===================================================================
478
479// ===================================================================
480
481// ===================================================================
482
483// Target
484
485// optional .bgs.protocol.notification.v1.TargetIdentity identity = 1;
486inline bool Target::has_identity() const {
487 return (_has_bits_[0] & 0x00000001u) != 0;
488}
490 _has_bits_[0] |= 0x00000001u;
491}
493 _has_bits_[0] &= ~0x00000001u;
494}
496 if (identity_ != NULL) identity_->::bgs::protocol::notification::v1::TargetIdentity::Clear();
497 clear_has_identity();
498}
499inline const ::bgs::protocol::notification::v1::TargetIdentity& Target::identity() const {
500 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Target.identity)
501 return identity_ != NULL ? *identity_ : *default_instance_->identity_;
502}
503inline ::bgs::protocol::notification::v1::TargetIdentity* Target::mutable_identity() {
504 set_has_identity();
505 if (identity_ == NULL) identity_ = new ::bgs::protocol::notification::v1::TargetIdentity;
506 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Target.identity)
507 return identity_;
508}
509inline ::bgs::protocol::notification::v1::TargetIdentity* Target::release_identity() {
510 clear_has_identity();
512 identity_ = NULL;
513 return temp;
514}
516 delete identity_;
517 identity_ = identity;
518 if (identity) {
519 set_has_identity();
520 } else {
521 clear_has_identity();
522 }
523 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Target.identity)
524}
525
526// optional string type = 2;
527inline bool Target::has_type() const {
528 return (_has_bits_[0] & 0x00000002u) != 0;
529}
530inline void Target::set_has_type() {
531 _has_bits_[0] |= 0x00000002u;
532}
534 _has_bits_[0] &= ~0x00000002u;
535}
536inline void Target::clear_type() {
537 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
538 type_->clear();
539 }
540 clear_has_type();
541}
542inline const ::std::string& Target::type() const {
543 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Target.type)
544 return *type_;
545}
546inline void Target::set_type(const ::std::string& value) {
547 set_has_type();
548 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
549 type_ = new ::std::string;
550 }
551 type_->assign(value);
552 // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Target.type)
553}
554inline void Target::set_type(const char* value) {
555 set_has_type();
556 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
557 type_ = new ::std::string;
558 }
559 type_->assign(value);
560 // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v1.Target.type)
561}
562inline void Target::set_type(const char* value, size_t size) {
563 set_has_type();
564 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
565 type_ = new ::std::string;
566 }
567 type_->assign(reinterpret_cast<const char*>(value), size);
568 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v1.Target.type)
569}
570inline ::std::string* Target::mutable_type() {
571 set_has_type();
572 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
573 type_ = new ::std::string;
574 }
575 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Target.type)
576 return type_;
577}
578inline ::std::string* Target::release_type() {
579 clear_has_type();
580 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
581 return NULL;
582 } else {
583 ::std::string* temp = type_;
584 type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
585 return temp;
586 }
587}
588inline void Target::set_allocated_type(::std::string* type) {
589 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
590 delete type_;
591 }
592 if (type) {
593 set_has_type();
594 type_ = type;
595 } else {
596 clear_has_type();
597 type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
598 }
599 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Target.type)
600}
601
602// -------------------------------------------------------------------
603
604// TargetIdentity
605
606// optional .bgs.protocol.account.v1.AccountId account = 1;
607inline bool TargetIdentity::has_account() const {
608 return (_has_bits_[0] & 0x00000001u) != 0;
609}
611 _has_bits_[0] |= 0x00000001u;
612}
614 _has_bits_[0] &= ~0x00000001u;
615}
617 if (account_ != NULL) account_->::bgs::protocol::account::v1::AccountId::Clear();
618 clear_has_account();
619}
620inline const ::bgs::protocol::account::v1::AccountId& TargetIdentity::account() const {
621 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.TargetIdentity.account)
622 return account_ != NULL ? *account_ : *default_instance_->account_;
623}
624inline ::bgs::protocol::account::v1::AccountId* TargetIdentity::mutable_account() {
625 set_has_account();
626 if (account_ == NULL) account_ = new ::bgs::protocol::account::v1::AccountId;
627 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.TargetIdentity.account)
628 return account_;
629}
630inline ::bgs::protocol::account::v1::AccountId* TargetIdentity::release_account() {
631 clear_has_account();
633 account_ = NULL;
634 return temp;
635}
637 delete account_;
638 account_ = account;
639 if (account) {
640 set_has_account();
641 } else {
642 clear_has_account();
643 }
644 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.TargetIdentity.account)
645}
646
647// optional .bgs.protocol.account.v1.GameAccountHandle game_account = 2;
649 return (_has_bits_[0] & 0x00000002u) != 0;
650}
652 _has_bits_[0] |= 0x00000002u;
653}
655 _has_bits_[0] &= ~0x00000002u;
656}
658 if (game_account_ != NULL) game_account_->::bgs::protocol::account::v1::GameAccountHandle::Clear();
659 clear_has_game_account();
660}
661inline const ::bgs::protocol::account::v1::GameAccountHandle& TargetIdentity::game_account() const {
662 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.TargetIdentity.game_account)
663 return game_account_ != NULL ? *game_account_ : *default_instance_->game_account_;
664}
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;
668 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.TargetIdentity.game_account)
669 return game_account_;
670}
671inline ::bgs::protocol::account::v1::GameAccountHandle* TargetIdentity::release_game_account() {
672 clear_has_game_account();
674 game_account_ = NULL;
675 return temp;
676}
678 delete game_account_;
679 game_account_ = game_account;
680 if (game_account) {
681 set_has_game_account();
682 } else {
683 clear_has_game_account();
684 }
685 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.TargetIdentity.game_account)
686}
687
688// -------------------------------------------------------------------
689
690// Subscription
691
692// repeated .bgs.protocol.notification.v1.Target target = 1;
693inline int Subscription::target_size() const {
694 return target_.size();
695}
697 target_.Clear();
698}
699inline const ::bgs::protocol::notification::v1::Target& Subscription::target(int index) const {
700 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Subscription.target)
701 return target_.Get(index);
702}
703inline ::bgs::protocol::notification::v1::Target* Subscription::mutable_target(int index) {
704 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Subscription.target)
705 return target_.Mutable(index);
706}
707inline ::bgs::protocol::notification::v1::Target* Subscription::add_target() {
708 // @@protoc_insertion_point(field_add:bgs.protocol.notification.v1.Subscription.target)
709 return target_.Add();
710}
711inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >&
713 // @@protoc_insertion_point(field_list:bgs.protocol.notification.v1.Subscription.target)
714 return target_;
715}
716inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >*
718 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v1.Subscription.target)
719 return &target_;
720}
721
722// optional .bgs.protocol.account.v1.Identity subscriber = 2;
723inline bool Subscription::has_subscriber() const {
724 return (_has_bits_[0] & 0x00000002u) != 0;
725}
727 _has_bits_[0] |= 0x00000002u;
728}
730 _has_bits_[0] &= ~0x00000002u;
731}
733 if (subscriber_ != NULL) subscriber_->::bgs::protocol::account::v1::Identity::Clear();
734 clear_has_subscriber();
735}
736inline const ::bgs::protocol::account::v1::Identity& Subscription::subscriber() const {
737 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Subscription.subscriber)
738 return subscriber_ != NULL ? *subscriber_ : *default_instance_->subscriber_;
739}
740inline ::bgs::protocol::account::v1::Identity* Subscription::mutable_subscriber() {
741 set_has_subscriber();
742 if (subscriber_ == NULL) subscriber_ = new ::bgs::protocol::account::v1::Identity;
743 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Subscription.subscriber)
744 return subscriber_;
745}
746inline ::bgs::protocol::account::v1::Identity* Subscription::release_subscriber() {
747 clear_has_subscriber();
748 ::bgs::protocol::account::v1::Identity* temp = subscriber_;
749 subscriber_ = NULL;
750 return temp;
751}
753 delete subscriber_;
754 subscriber_ = subscriber;
755 if (subscriber) {
756 set_has_subscriber();
757 } else {
758 clear_has_subscriber();
759 }
760 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Subscription.subscriber)
761}
762
763// optional bool delivery_required = 3 [deprecated = true];
765 return (_has_bits_[0] & 0x00000004u) != 0;
766}
768 _has_bits_[0] |= 0x00000004u;
769}
771 _has_bits_[0] &= ~0x00000004u;
772}
774 delivery_required_ = false;
775 clear_has_delivery_required();
776}
778 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Subscription.delivery_required)
779 return delivery_required_;
780}
781inline void Subscription::set_delivery_required(bool value) {
782 set_has_delivery_required();
783 delivery_required_ = value;
784 // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Subscription.delivery_required)
785}
786
787// -------------------------------------------------------------------
788
789// Notification
790
791// optional .bgs.protocol.EntityId sender_id = 1;
792inline bool Notification::has_sender_id() const {
793 return (_has_bits_[0] & 0x00000001u) != 0;
794}
796 _has_bits_[0] |= 0x00000001u;
797}
799 _has_bits_[0] &= ~0x00000001u;
800}
802 if (sender_id_ != NULL) sender_id_->::bgs::protocol::EntityId::Clear();
803 clear_has_sender_id();
804}
805inline const ::bgs::protocol::EntityId& Notification::sender_id() const {
806 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.sender_id)
807 return sender_id_ != NULL ? *sender_id_ : *default_instance_->sender_id_;
808}
809inline ::bgs::protocol::EntityId* Notification::mutable_sender_id() {
810 set_has_sender_id();
811 if (sender_id_ == NULL) sender_id_ = new ::bgs::protocol::EntityId;
812 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.sender_id)
813 return sender_id_;
814}
815inline ::bgs::protocol::EntityId* Notification::release_sender_id() {
816 clear_has_sender_id();
817 ::bgs::protocol::EntityId* temp = sender_id_;
818 sender_id_ = NULL;
819 return temp;
820}
822 delete sender_id_;
823 sender_id_ = sender_id;
824 if (sender_id) {
825 set_has_sender_id();
826 } else {
827 clear_has_sender_id();
828 }
829 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.sender_id)
830}
831
832// required .bgs.protocol.EntityId target_id = 2;
833inline bool Notification::has_target_id() const {
834 return (_has_bits_[0] & 0x00000002u) != 0;
835}
837 _has_bits_[0] |= 0x00000002u;
838}
840 _has_bits_[0] &= ~0x00000002u;
841}
843 if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
844 clear_has_target_id();
845}
846inline const ::bgs::protocol::EntityId& Notification::target_id() const {
847 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.target_id)
848 return target_id_ != NULL ? *target_id_ : *default_instance_->target_id_;
849}
850inline ::bgs::protocol::EntityId* Notification::mutable_target_id() {
851 set_has_target_id();
852 if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
853 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.target_id)
854 return target_id_;
855}
856inline ::bgs::protocol::EntityId* Notification::release_target_id() {
857 clear_has_target_id();
858 ::bgs::protocol::EntityId* temp = target_id_;
859 target_id_ = NULL;
860 return temp;
861}
863 delete target_id_;
864 target_id_ = target_id;
865 if (target_id) {
866 set_has_target_id();
867 } else {
868 clear_has_target_id();
869 }
870 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.target_id)
871}
872
873// required string type = 3;
874inline bool Notification::has_type() const {
875 return (_has_bits_[0] & 0x00000004u) != 0;
876}
878 _has_bits_[0] |= 0x00000004u;
879}
881 _has_bits_[0] &= ~0x00000004u;
882}
884 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
885 type_->clear();
886 }
887 clear_has_type();
888}
889inline const ::std::string& Notification::type() const {
890 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.type)
891 return *type_;
892}
893inline void Notification::set_type(const ::std::string& value) {
894 set_has_type();
895 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
896 type_ = new ::std::string;
897 }
898 type_->assign(value);
899 // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Notification.type)
900}
901inline void Notification::set_type(const char* value) {
902 set_has_type();
903 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
904 type_ = new ::std::string;
905 }
906 type_->assign(value);
907 // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v1.Notification.type)
908}
909inline void Notification::set_type(const char* value, size_t size) {
910 set_has_type();
911 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
912 type_ = new ::std::string;
913 }
914 type_->assign(reinterpret_cast<const char*>(value), size);
915 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v1.Notification.type)
916}
917inline ::std::string* Notification::mutable_type() {
918 set_has_type();
919 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
920 type_ = new ::std::string;
921 }
922 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.type)
923 return type_;
924}
925inline ::std::string* Notification::release_type() {
926 clear_has_type();
927 if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
928 return NULL;
929 } else {
930 ::std::string* temp = type_;
931 type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
932 return temp;
933 }
934}
935inline void Notification::set_allocated_type(::std::string* type) {
936 if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
937 delete type_;
938 }
939 if (type) {
940 set_has_type();
941 type_ = type;
942 } else {
943 clear_has_type();
944 type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
945 }
946 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.type)
947}
948
949// repeated .bgs.protocol.Attribute attribute = 4;
951 return attribute_.size();
952}
954 attribute_.Clear();
955}
956inline const ::bgs::protocol::Attribute& Notification::attribute(int index) const {
957 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.attribute)
958 return attribute_.Get(index);
959}
960inline ::bgs::protocol::Attribute* Notification::mutable_attribute(int index) {
961 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.attribute)
962 return attribute_.Mutable(index);
963}
964inline ::bgs::protocol::Attribute* Notification::add_attribute() {
965 // @@protoc_insertion_point(field_add:bgs.protocol.notification.v1.Notification.attribute)
966 return attribute_.Add();
967}
968inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
970 // @@protoc_insertion_point(field_list:bgs.protocol.notification.v1.Notification.attribute)
971 return attribute_;
972}
973inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
975 // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v1.Notification.attribute)
976 return &attribute_;
977}
978
979// optional .bgs.protocol.EntityId sender_account_id = 5;
981 return (_has_bits_[0] & 0x00000010u) != 0;
982}
984 _has_bits_[0] |= 0x00000010u;
985}
987 _has_bits_[0] &= ~0x00000010u;
988}
990 if (sender_account_id_ != NULL) sender_account_id_->::bgs::protocol::EntityId::Clear();
991 clear_has_sender_account_id();
992}
993inline const ::bgs::protocol::EntityId& Notification::sender_account_id() const {
994 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.sender_account_id)
995 return sender_account_id_ != NULL ? *sender_account_id_ : *default_instance_->sender_account_id_;
996}
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;
1000 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.sender_account_id)
1001 return sender_account_id_;
1002}
1003inline ::bgs::protocol::EntityId* Notification::release_sender_account_id() {
1004 clear_has_sender_account_id();
1005 ::bgs::protocol::EntityId* temp = sender_account_id_;
1006 sender_account_id_ = NULL;
1007 return temp;
1008}
1010 delete sender_account_id_;
1011 sender_account_id_ = sender_account_id;
1012 if (sender_account_id) {
1013 set_has_sender_account_id();
1014 } else {
1015 clear_has_sender_account_id();
1016 }
1017 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.sender_account_id)
1018}
1019
1020// optional .bgs.protocol.EntityId target_account_id = 6;
1022 return (_has_bits_[0] & 0x00000020u) != 0;
1023}
1025 _has_bits_[0] |= 0x00000020u;
1026}
1028 _has_bits_[0] &= ~0x00000020u;
1029}
1031 if (target_account_id_ != NULL) target_account_id_->::bgs::protocol::EntityId::Clear();
1032 clear_has_target_account_id();
1033}
1034inline const ::bgs::protocol::EntityId& Notification::target_account_id() const {
1035 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.target_account_id)
1036 return target_account_id_ != NULL ? *target_account_id_ : *default_instance_->target_account_id_;
1037}
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;
1041 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.target_account_id)
1042 return target_account_id_;
1043}
1044inline ::bgs::protocol::EntityId* Notification::release_target_account_id() {
1045 clear_has_target_account_id();
1046 ::bgs::protocol::EntityId* temp = target_account_id_;
1047 target_account_id_ = NULL;
1048 return temp;
1049}
1051 delete target_account_id_;
1052 target_account_id_ = target_account_id;
1053 if (target_account_id) {
1054 set_has_target_account_id();
1055 } else {
1056 clear_has_target_account_id();
1057 }
1058 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.target_account_id)
1059}
1060
1061// optional string sender_battle_tag = 7;
1063 return (_has_bits_[0] & 0x00000040u) != 0;
1064}
1066 _has_bits_[0] |= 0x00000040u;
1067}
1069 _has_bits_[0] &= ~0x00000040u;
1070}
1072 if (sender_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1073 sender_battle_tag_->clear();
1074 }
1075 clear_has_sender_battle_tag();
1076}
1077inline const ::std::string& Notification::sender_battle_tag() const {
1078 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.sender_battle_tag)
1079 return *sender_battle_tag_;
1080}
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;
1085 }
1086 sender_battle_tag_->assign(value);
1087 // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Notification.sender_battle_tag)
1088}
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;
1093 }
1094 sender_battle_tag_->assign(value);
1095 // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v1.Notification.sender_battle_tag)
1096}
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;
1101 }
1102 sender_battle_tag_->assign(reinterpret_cast<const char*>(value), size);
1103 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v1.Notification.sender_battle_tag)
1104}
1106 set_has_sender_battle_tag();
1107 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1108 sender_battle_tag_ = new ::std::string;
1109 }
1110 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.sender_battle_tag)
1111 return sender_battle_tag_;
1112}
1114 clear_has_sender_battle_tag();
1115 if (sender_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1116 return NULL;
1117 } else {
1118 ::std::string* temp = sender_battle_tag_;
1119 sender_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1120 return temp;
1121 }
1122}
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_;
1126 }
1127 if (sender_battle_tag) {
1128 set_has_sender_battle_tag();
1129 sender_battle_tag_ = sender_battle_tag;
1130 } else {
1131 clear_has_sender_battle_tag();
1132 sender_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1133 }
1134 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.sender_battle_tag)
1135}
1136
1137// optional string target_battle_tag = 8;
1139 return (_has_bits_[0] & 0x00000080u) != 0;
1140}
1142 _has_bits_[0] |= 0x00000080u;
1143}
1145 _has_bits_[0] &= ~0x00000080u;
1146}
1148 if (target_battle_tag_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1149 target_battle_tag_->clear();
1150 }
1151 clear_has_target_battle_tag();
1152}
1153inline const ::std::string& Notification::target_battle_tag() const {
1154 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.target_battle_tag)
1155 return *target_battle_tag_;
1156}
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;
1161 }
1162 target_battle_tag_->assign(value);
1163 // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Notification.target_battle_tag)
1164}
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;
1169 }
1170 target_battle_tag_->assign(value);
1171 // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v1.Notification.target_battle_tag)
1172}
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;
1177 }
1178 target_battle_tag_->assign(reinterpret_cast<const char*>(value), size);
1179 // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v1.Notification.target_battle_tag)
1180}
1182 set_has_target_battle_tag();
1183 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1184 target_battle_tag_ = new ::std::string;
1185 }
1186 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.target_battle_tag)
1187 return target_battle_tag_;
1188}
1190 clear_has_target_battle_tag();
1191 if (target_battle_tag_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1192 return NULL;
1193 } else {
1194 ::std::string* temp = target_battle_tag_;
1195 target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1196 return temp;
1197 }
1198}
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_;
1202 }
1203 if (target_battle_tag) {
1204 set_has_target_battle_tag();
1205 target_battle_tag_ = target_battle_tag;
1206 } else {
1207 clear_has_target_battle_tag();
1208 target_battle_tag_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1209 }
1210 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.target_battle_tag)
1211}
1212
1213// optional .bgs.protocol.account.v1.Identity forwarding_identity = 10;
1215 return (_has_bits_[0] & 0x00000100u) != 0;
1216}
1218 _has_bits_[0] |= 0x00000100u;
1219}
1221 _has_bits_[0] &= ~0x00000100u;
1222}
1224 if (forwarding_identity_ != NULL) forwarding_identity_->::bgs::protocol::account::v1::Identity::Clear();
1225 clear_has_forwarding_identity();
1226}
1227inline const ::bgs::protocol::account::v1::Identity& Notification::forwarding_identity() const {
1228 // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Notification.forwarding_identity)
1229 return forwarding_identity_ != NULL ? *forwarding_identity_ : *default_instance_->forwarding_identity_;
1230}
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;
1234 // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Notification.forwarding_identity)
1235 return forwarding_identity_;
1236}
1237inline ::bgs::protocol::account::v1::Identity* Notification::release_forwarding_identity() {
1238 clear_has_forwarding_identity();
1239 ::bgs::protocol::account::v1::Identity* temp = forwarding_identity_;
1240 forwarding_identity_ = NULL;
1241 return temp;
1242}
1244 delete forwarding_identity_;
1245 forwarding_identity_ = forwarding_identity;
1246 if (forwarding_identity) {
1247 set_has_forwarding_identity();
1248 } else {
1249 clear_has_forwarding_identity();
1250 }
1251 // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Notification.forwarding_identity)
1252}
1253
1254// @@protoc_insertion_point(namespace_scope)
1255
1256} // namespace v1
1257} // namespace notification
1258} // namespace protocol
1259} // namespace bgs
1260
1261#ifndef SWIG
1262namespace google {
1263namespace protobuf {
1264} // namespace google
1265} // namespace protobuf
1266#endif // SWIG
1267
1268// @@protoc_insertion_point(global_scope)
1269
1270#endif // PROTOBUF_notification_5ftypes_2eproto__INCLUDED
#define TC_PROTO_API
Definition: Define.h:105
uint32_t uint32
Definition: Define.h:142
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
inline ::bgs::protocol::EntityId * release_sender_id()
void set_allocated_sender_battle_tag(::std::string *sender_battle_tag)
const ::bgs::protocol::account::v1::Identity & forwarding_identity() const
void set_allocated_target_account_id(::bgs::protocol::EntityId *target_account_id)
static const Notification & default_instance()
void set_allocated_sender_account_id(::bgs::protocol::EntityId *sender_account_id)
inline ::bgs::protocol::EntityId * release_target_id()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
void set_allocated_target_battle_tag(::std::string *target_battle_tag)
inline ::bgs::protocol::EntityId * mutable_sender_id()
inline ::bgs::protocol::account::v1::Identity * release_forwarding_identity()
static const ::google::protobuf::Descriptor * descriptor()
const ::bgs::protocol::EntityId & sender_id() const
inline ::bgs::protocol::EntityId * mutable_target_id()
inline ::bgs::protocol::EntityId * release_target_account_id()
void set_allocated_sender_id(::bgs::protocol::EntityId *sender_id)
const ::bgs::protocol::EntityId & target_id() const
void set_sender_battle_tag(const ::std::string &value)
void set_allocated_forwarding_identity(::bgs::protocol::account::v1::Identity *forwarding_identity)
inline ::bgs::protocol::Attribute * add_attribute()
const ::bgs::protocol::EntityId & target_account_id() const
inline ::bgs::protocol::EntityId * release_sender_account_id()
friend void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
inline ::bgs::protocol::EntityId * mutable_target_account_id()
void set_target_battle_tag(const ::std::string &value)
inline ::bgs::protocol::EntityId * mutable_sender_account_id()
::bgs::protocol::account::v1::Identity * forwarding_identity_
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::bgs::protocol::account::v1::Identity * mutable_forwarding_identity()
void set_allocated_target_id(::bgs::protocol::EntityId *target_id)
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Notification & operator=(const Notification &from)
const ::bgs::protocol::EntityId & sender_account_id() const
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::notification::v1::Target * add_target()
static const Subscription & default_instance()
void set_delivery_required(bool value) PROTOBUF_DEPRECATED
inline ::bgs::protocol::account::v1::Identity * release_subscriber()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > * mutable_target()
bool has_delivery_required() const PROTOBUF_DEPRECATED
Subscription & operator=(const Subscription &from)
bool delivery_required() const PROTOBUF_DEPRECATED
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > & target() const
inline ::bgs::protocol::account::v1::Identity * mutable_subscriber()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_subscriber(::bgs::protocol::account::v1::Identity *subscriber)
const ::bgs::protocol::account::v1::Identity & subscriber() const
static const TargetIdentity & default_instance()
inline ::bgs::protocol::account::v1::GameAccountHandle * mutable_game_account()
::bgs::protocol::account::v1::AccountId * account_
inline ::bgs::protocol::account::v1::AccountId * release_account()
TargetIdentity & operator=(const TargetIdentity &from)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::Descriptor * descriptor()
TargetIdentity(const TargetIdentity &from)
void set_allocated_account(::bgs::protocol::account::v1::AccountId *account)
const ::bgs::protocol::account::v1::GameAccountHandle & game_account() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::account::v1::GameAccountHandle * release_game_account()
friend void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
const ::bgs::protocol::account::v1::AccountId & account() const
::bgs::protocol::account::v1::GameAccountHandle * game_account_
inline ::bgs::protocol::account::v1::AccountId * mutable_account()
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::Metadata GetMetadata() const
void set_allocated_game_account(::bgs::protocol::account::v1::GameAccountHandle *game_account)
::bgs::protocol::notification::v1::TargetIdentity * identity_
inline ::bgs::protocol::notification::v1::TargetIdentity * mutable_identity()
friend void protobuf_AssignDesc_notification_5ftypes_2eproto()
const ::bgs::protocol::notification::v1::TargetIdentity & identity() const
void set_allocated_identity(::bgs::protocol::notification::v1::TargetIdentity *identity)
::google::protobuf::Metadata GetMetadata() const
static const Target & default_instance()
inline ::bgs::protocol::notification::v1::TargetIdentity * release_identity()
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()
friend void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
void set_type(const ::std::string &value)
static const ::google::protobuf::Descriptor * descriptor()
constexpr std::size_t size()
Definition: UpdateField.h:796
void protobuf_AssignDesc_notification_5ftypes_2eproto()
void protobuf_ShutdownFile_notification_5ftypes_2eproto()
void TC_PROTO_API protobuf_AddDesc_notification_5ftypes_2eproto()
Definition: Session.h:36