4 #ifndef PROTOBUF_notification_5ftypes_2eproto__INCLUDED
5 #define PROTOBUF_notification_5ftypes_2eproto__INCLUDED
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.
36 namespace notification {
63 return _unknown_fields_;
67 return &_unknown_fields_;
70 static const ::google::protobuf::Descriptor* descriptor();
71 static const Target& default_instance();
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
80 void CopyFrom(
const Target& from);
81 void MergeFrom(
const Target& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
88 void SerializeWithCachedSizes(
95 void SetCachedSize(
int size)
const;
104 inline bool has_identity()
const;
105 inline void clear_identity();
106 static const int kIdentityFieldNumber = 1;
107 inline const ::bgs::protocol::account::v1::Identity& identity()
const;
108 inline ::bgs::protocol::account::v1::Identity* mutable_identity();
109 inline ::bgs::protocol::account::v1::Identity* release_identity();
113 inline bool has_type()
const;
114 inline void clear_type();
115 static const int kTypeFieldNumber = 2;
116 inline const ::std::string& type()
const;
117 inline void set_type(const ::std::string&
value);
118 inline void set_type(
const char*
value);
119 inline void set_type(
const char*
value,
size_t size);
120 inline ::std::string* mutable_type();
121 inline ::std::string* release_type();
122 inline void set_allocated_type(::std::string* type);
126 inline void set_has_identity();
127 inline void clear_has_identity();
128 inline void set_has_type();
129 inline void clear_has_type();
141 void InitAsDefaultInstance();
159 return _unknown_fields_;
163 return &_unknown_fields_;
166 static const ::google::protobuf::Descriptor* descriptor();
174 void CopyFrom(const ::google::protobuf::Message& from);
175 void MergeFrom(const ::google::protobuf::Message& from);
179 bool IsInitialized()
const;
181 int ByteSize()
const;
182 bool MergePartialFromCodedStream(
184 void SerializeWithCachedSizes(
191 void SetCachedSize(
int size)
const;
200 inline int target_size()
const;
201 inline void clear_target();
202 static const int kTargetFieldNumber = 1;
203 inline const ::bgs::protocol::notification::v1::Target& target(
int index)
const;
204 inline ::bgs::protocol::notification::v1::Target* mutable_target(
int index);
205 inline ::bgs::protocol::notification::v1::Target* add_target();
206 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >&
208 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >*
212 inline bool has_subscriber()
const;
213 inline void clear_subscriber();
214 static const int kSubscriberFieldNumber = 2;
215 inline const ::bgs::protocol::account::v1::Identity& subscriber()
const;
216 inline ::bgs::protocol::account::v1::Identity* mutable_subscriber();
217 inline ::bgs::protocol::account::v1::Identity* release_subscriber();
221 inline bool has_delivery_required()
const;
222 inline void clear_delivery_required();
223 static const int kDeliveryRequiredFieldNumber = 3;
224 inline bool delivery_required()
const;
225 inline void set_delivery_required(
bool value);
229 inline void set_has_subscriber();
230 inline void clear_has_subscriber();
231 inline void set_has_delivery_required();
232 inline void clear_has_delivery_required();
245 void InitAsDefaultInstance();
263 return _unknown_fields_;
267 return &_unknown_fields_;
270 static const ::google::protobuf::Descriptor* descriptor();
278 void CopyFrom(const ::google::protobuf::Message& from);
279 void MergeFrom(const ::google::protobuf::Message& from);
283 bool IsInitialized()
const;
285 int ByteSize()
const;
286 bool MergePartialFromCodedStream(
288 void SerializeWithCachedSizes(
295 void SetCachedSize(
int size)
const;
304 inline bool has_sender_id()
const;
305 inline void clear_sender_id();
306 static const int kSenderIdFieldNumber = 1;
307 inline const ::bgs::protocol::EntityId& sender_id()
const;
308 inline ::bgs::protocol::EntityId* mutable_sender_id();
309 inline ::bgs::protocol::EntityId* release_sender_id();
313 inline bool has_target_id()
const;
314 inline void clear_target_id();
315 static const int kTargetIdFieldNumber = 2;
316 inline const ::bgs::protocol::EntityId& target_id()
const;
317 inline ::bgs::protocol::EntityId* mutable_target_id();
318 inline ::bgs::protocol::EntityId* release_target_id();
322 inline bool has_type()
const;
323 inline void clear_type();
324 static const int kTypeFieldNumber = 3;
325 inline const ::std::string& type()
const;
326 inline void set_type(const ::std::string&
value);
327 inline void set_type(
const char*
value);
328 inline void set_type(
const char*
value,
size_t size);
329 inline ::std::string* mutable_type();
330 inline ::std::string* release_type();
331 inline void set_allocated_type(::std::string* type);
334 inline int attribute_size()
const;
335 inline void clear_attribute();
336 static const int kAttributeFieldNumber = 4;
337 inline const ::bgs::protocol::Attribute& attribute(
int index)
const;
338 inline ::bgs::protocol::Attribute* mutable_attribute(
int index);
339 inline ::bgs::protocol::Attribute* add_attribute();
340 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
342 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
346 inline bool has_sender_account_id()
const;
347 inline void clear_sender_account_id();
348 static const int kSenderAccountIdFieldNumber = 5;
349 inline const ::bgs::protocol::EntityId& sender_account_id()
const;
350 inline ::bgs::protocol::EntityId* mutable_sender_account_id();
351 inline ::bgs::protocol::EntityId* release_sender_account_id();
355 inline bool has_target_account_id()
const;
356 inline void clear_target_account_id();
357 static const int kTargetAccountIdFieldNumber = 6;
358 inline const ::bgs::protocol::EntityId& target_account_id()
const;
359 inline ::bgs::protocol::EntityId* mutable_target_account_id();
360 inline ::bgs::protocol::EntityId* release_target_account_id();
364 inline bool has_sender_battle_tag()
const;
365 inline void clear_sender_battle_tag();
366 static const int kSenderBattleTagFieldNumber = 7;
367 inline const ::std::string& sender_battle_tag()
const;
368 inline void set_sender_battle_tag(const ::std::string&
value);
369 inline void set_sender_battle_tag(
const char*
value);
370 inline void set_sender_battle_tag(
const char*
value,
size_t size);
371 inline ::std::string* mutable_sender_battle_tag();
372 inline ::std::string* release_sender_battle_tag();
373 inline void set_allocated_sender_battle_tag(::std::string* sender_battle_tag);
376 inline bool has_target_battle_tag()
const;
377 inline void clear_target_battle_tag();
378 static const int kTargetBattleTagFieldNumber = 8;
379 inline const ::std::string& target_battle_tag()
const;
380 inline void set_target_battle_tag(const ::std::string&
value);
381 inline void set_target_battle_tag(
const char*
value);
382 inline void set_target_battle_tag(
const char*
value,
size_t size);
383 inline ::std::string* mutable_target_battle_tag();
384 inline ::std::string* release_target_battle_tag();
385 inline void set_allocated_target_battle_tag(::std::string* target_battle_tag);
388 inline bool has_peer()
const;
389 inline void clear_peer();
390 static const int kPeerFieldNumber = 9;
391 inline const ::bgs::protocol::ProcessId& peer()
const;
392 inline ::bgs::protocol::ProcessId* mutable_peer();
393 inline ::bgs::protocol::ProcessId* release_peer();
397 inline bool has_forwarding_identity()
const;
398 inline void clear_forwarding_identity();
399 static const int kForwardingIdentityFieldNumber = 10;
400 inline const ::bgs::protocol::account::v1::Identity& forwarding_identity()
const;
401 inline ::bgs::protocol::account::v1::Identity* mutable_forwarding_identity();
402 inline ::bgs::protocol::account::v1::Identity* release_forwarding_identity();
407 inline void set_has_sender_id();
408 inline void clear_has_sender_id();
409 inline void set_has_target_id();
410 inline void clear_has_target_id();
411 inline void set_has_type();
412 inline void clear_has_type();
413 inline void set_has_sender_account_id();
414 inline void clear_has_sender_account_id();
415 inline void set_has_target_account_id();
416 inline void clear_has_target_account_id();
417 inline void set_has_sender_battle_tag();
418 inline void clear_has_sender_battle_tag();
419 inline void set_has_target_battle_tag();
420 inline void clear_has_target_battle_tag();
421 inline void set_has_peer();
422 inline void clear_has_peer();
423 inline void set_has_forwarding_identity();
424 inline void clear_has_forwarding_identity();
444 void InitAsDefaultInstance();
521 type_ = new ::std::string;
523 type_->assign(value);
529 type_ = new ::std::string;
531 type_->assign(value);
537 type_ = new ::std::string;
539 type_->assign(reinterpret_cast<const char*>(value), size);
545 type_ = new ::std::string;
555 ::std::string* temp =
type_;
597 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >&
602 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target >*
782 type_ = new ::std::string;
784 type_->assign(value);
790 type_ = new ::std::string;
792 type_->assign(value);
798 type_ = new ::std::string;
800 type_->assign(reinterpret_cast<const char*>(value), size);
806 type_ = new ::std::string;
816 ::std::string* temp =
type_;
854 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >&
859 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute >*
898 if (sender_account_id) {
939 if (target_account_id) {
1013 if (sender_battle_tag) {
1089 if (target_battle_tag) {
1173 if (forwarding_identity) {
1191 namespace protobuf {
1200 #endif // PROTOBUF_notification_5ftypes_2eproto__INCLUDED
::bgs::protocol::account::v1::Identity * identity_
Definition: notification_types.pb.h:135
void set_has_target_id()
Definition: notification_types.pb.h:722
void clear_has_sender_id()
Definition: notification_types.pb.h:684
int target_size() const
Definition: notification_types.pb.h:579
::bgs::protocol::account::v1::Identity * subscriber_
Definition: notification_types.pb.h:239
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:426
void set_allocated_type(::std::string *type)
Definition: notification_types.pb.h:821
void clear_has_delivery_required()
Definition: notification_types.pb.h:656
void set_allocated_subscriber(::bgs::protocol::account::v1::Identity *subscriber)
Definition: notification_types.pb.h:638
void set_has_sender_battle_tag()
Definition: notification_types.pb.h:951
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:234
::bgs::protocol::EntityId * target_account_id_
Definition: notification_types.pb.h:435
Definition: entity_types.pb.h:45
static Target * default_instance_
Definition: notification_types.pb.h:142
int _cached_size_
Definition: notification_types.pb.h:429
bool has_sender_id() const
Definition: notification_types.pb.h:678
inline::std::string * release_target_battle_tag()
Definition: notification_types.pb.h:1075
inline::std::string * release_type()
Definition: notification_types.pb.h:811
void protobuf_AssignDesc_notification_5ftypes_2eproto()
::bgs::protocol::EntityId * target_id_
Definition: notification_types.pb.h:431
bool has_sender_battle_tag() const
Definition: notification_types.pb.h:948
Definition: notification_types.pb.h:146
void clear_target_account_id()
Definition: notification_types.pb.h:916
void set_allocated_target_id(::bgs::protocol::EntityId *target_id)
Definition: notification_types.pb.h:748
void set_has_type()
Definition: notification_types.pb.h:763
void set_has_identity()
Definition: notification_types.pb.h:461
bool delivery_required_
Definition: notification_types.pb.h:240
const ::std::string & type() const
Definition: notification_types.pb.h:775
Definition: notification_types.pb.h:250
inline::bgs::protocol::EntityId * release_sender_account_id()
Definition: notification_types.pb.h:889
void set_has_target_battle_tag()
Definition: notification_types.pb.h:1027
void set_has_forwarding_identity()
Definition: notification_types.pb.h:1144
::std::string * sender_battle_tag_
Definition: notification_types.pb.h:436
Definition: unknown_field_set.h:74
Definition: notification_types.pb.h:50
Target & operator=(const Target &from)
Definition: notification_types.pb.h:57
void clear_has_sender_account_id()
Definition: notification_types.pb.h:872
void clear_has_target_account_id()
Definition: notification_types.pb.h:913
::bgs::protocol::EntityId * sender_account_id_
Definition: notification_types.pb.h:434
uint8_t uint8
Definition: common.h:175
inline::bgs::protocol::EntityId * release_sender_id()
Definition: notification_types.pb.h:701
inline::bgs::protocol::account::v1::Identity * mutable_subscriber()
Definition: notification_types.pb.h:626
inline::std::string * release_sender_battle_tag()
Definition: notification_types.pb.h:999
void set_has_type()
Definition: notification_types.pb.h:502
arena_t NULL
Definition: jemalloc_internal.h:624
void set_allocated_sender_id(::bgs::protocol::EntityId *sender_id)
Definition: notification_types.pb.h:707
Definition: message.h:147
bool has_delivery_required() const
Definition: notification_types.pb.h:650
inline::std::string * release_type()
Definition: notification_types.pb.h:550
bool has_identity() const
Definition: notification_types.pb.h:458
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_target_battle_tag()
Definition: notification_types.pb.h:1033
void clear_has_identity()
Definition: notification_types.pb.h:464
inline::bgs::protocol::Attribute * add_attribute()
Definition: notification_types.pb.h:850
inline::std::string * mutable_target_battle_tag()
Definition: notification_types.pb.h:1067
bool has_forwarding_identity() const
Definition: notification_types.pb.h:1141
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: notification_types.pb.h:162
static Notification * default_instance_
Definition: notification_types.pb.h:445
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: notification_types.pb.h:158
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: notification_types.pb.h:62
void set_target_battle_tag(const ::std::string &value)
Definition: notification_types.pb.h:1043
void protobuf_ShutdownFile_notification_5ftypes_2eproto()
const ::std::string & target_battle_tag() const
Definition: notification_types.pb.h:1039
void clear_has_target_id()
Definition: notification_types.pb.h:725
int GetCachedSize() const
Definition: notification_types.pb.h:187
void set_type(const ::std::string &value)
Definition: notification_types.pb.h:779
bool has_type() const
Definition: notification_types.pb.h:760
inline::std::string * mutable_type()
Definition: notification_types.pb.h:542
Definition: message.h:165
void set_has_sender_account_id()
Definition: notification_types.pb.h:869
::bgs::protocol::account::v1::Identity * forwarding_identity_
Definition: notification_types.pb.h:439
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: notification_types.pb.h:266
void clear_peer()
Definition: notification_types.pb.h:1109
void set_allocated_peer(::bgs::protocol::ProcessId *peer)
Definition: notification_types.pb.h:1129
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:428
inline::bgs::protocol::EntityId * mutable_target_account_id()
Definition: notification_types.pb.h:924
::bgs::protocol::EntityId * sender_id_
Definition: notification_types.pb.h:430
::std::string * type_
Definition: notification_types.pb.h:432
void clear_subscriber()
Definition: notification_types.pb.h:618
Definition: account_types.pb.h:1423
inline::bgs::protocol::account::v1::Identity * release_identity()
Definition: notification_types.pb.h:481
Definition: coded_stream.h:621
Subscription & operator=(const Subscription &from)
Definition: notification_types.pb.h:153
bool has_subscriber() const
Definition: notification_types.pb.h:609
void clear_delivery_required()
Definition: notification_types.pb.h:659
void set_has_delivery_required()
Definition: notification_types.pb.h:653
static Subscription * default_instance_
Definition: notification_types.pb.h:246
void set_allocated_sender_account_id(::bgs::protocol::EntityId *sender_account_id)
Definition: notification_types.pb.h:895
void set_sender_battle_tag(const ::std::string &value)
Definition: notification_types.pb.h:967
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236
void clear_has_forwarding_identity()
Definition: notification_types.pb.h:1147
::std::string * type_
Definition: notification_types.pb.h:136
inline::bgs::protocol::account::v1::Identity * release_forwarding_identity()
Definition: notification_types.pb.h:1164
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:131
bool has_target_id() const
Definition: notification_types.pb.h:719
void set_has_target_account_id()
Definition: notification_types.pb.h:910
void set_has_sender_id()
Definition: notification_types.pb.h:681
const ::bgs::protocol::account::v1::Identity & forwarding_identity() const
Definition: notification_types.pb.h:1154
void set_type(const ::std::string &value)
Definition: notification_types.pb.h:518
void clear_sender_account_id()
Definition: notification_types.pb.h:875
void set_allocated_forwarding_identity(::bgs::protocol::account::v1::Identity *forwarding_identity)
Definition: notification_types.pb.h:1170
int _cached_size_
Definition: notification_types.pb.h:237
uint32_t uint32
Definition: common.h:177
void clear_sender_battle_tag()
Definition: notification_types.pb.h:957
int GetCachedSize() const
Definition: notification_types.pb.h:291
#define TC_SHARED_API
Definition: Define.h:128
const ::std::string & type() const
Definition: notification_types.pb.h:514
inline::bgs::protocol::EntityId * mutable_sender_account_id()
Definition: notification_types.pb.h:883
void clear_has_sender_battle_tag()
Definition: notification_types.pb.h:954
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > * mutable_attribute()
Definition: notification_types.pb.h:860
inline::bgs::protocol::EntityId * mutable_target_id()
Definition: notification_types.pb.h:736
const ::bgs::protocol::ProcessId & peer() const
Definition: notification_types.pb.h:1113
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > * mutable_target()
Definition: notification_types.pb.h:603
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133
bool has_sender_account_id() const
Definition: notification_types.pb.h:866
const ::std::string & sender_battle_tag() const
Definition: notification_types.pb.h:963
inline::bgs::protocol::ProcessId * release_peer()
Definition: notification_types.pb.h:1123
bool has_peer() const
Definition: notification_types.pb.h:1100
const ::bgs::protocol::account::v1::Identity & identity() const
Definition: notification_types.pb.h:471
void set_has_subscriber()
Definition: notification_types.pb.h:612
void clear_has_peer()
Definition: notification_types.pb.h:1106
Notification & operator=(const Notification &from)
Definition: notification_types.pb.h:257
void clear_has_type()
Definition: notification_types.pb.h:505
const ::bgs::protocol::EntityId & target_account_id() const
Definition: notification_types.pb.h:920
void set_allocated_type(::std::string *type)
Definition: notification_types.pb.h:560
bool has_target_battle_tag() const
Definition: notification_types.pb.h:1024
inline::bgs::protocol::EntityId * mutable_sender_id()
Definition: notification_types.pb.h:695
bool delivery_required() const
Definition: notification_types.pb.h:663
const ::bgs::protocol::EntityId & sender_account_id() const
Definition: notification_types.pb.h:879
void clear_target_id()
Definition: notification_types.pb.h:728
inline::bgs::protocol::EntityId * release_target_id()
Definition: notification_types.pb.h:742
void clear_identity()
Definition: notification_types.pb.h:467
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: notification_types.pb.h:66
void clear_has_target_battle_tag()
Definition: notification_types.pb.h:1030
const ::bgs::protocol::EntityId & target_id() const
Definition: notification_types.pb.h:732
void set_allocated_target_account_id(::bgs::protocol::EntityId *target_account_id)
Definition: notification_types.pb.h:936
inline::bgs::protocol::account::v1::Identity * mutable_identity()
Definition: notification_types.pb.h:475
inline::bgs::protocol::EntityId * release_target_account_id()
Definition: notification_types.pb.h:930
void clear_forwarding_identity()
Definition: notification_types.pb.h:1150
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: notification_types.pb.h:262
bool has_target_account_id() const
Definition: notification_types.pb.h:907
const ::bgs::protocol::account::v1::Identity & subscriber() const
Definition: notification_types.pb.h:622
int _cached_size_
Definition: notification_types.pb.h:134
const ::bgs::protocol::EntityId & sender_id() const
Definition: notification_types.pb.h:691
void clear_type()
Definition: notification_types.pb.h:508
int GetCachedSize() const
Definition: notification_types.pb.h:91
int attribute_size() const
Definition: notification_types.pb.h:836
Definition: BnetFileGenerator.h:47
inline::bgs::protocol::ProcessId * mutable_peer()
Definition: notification_types.pb.h:1117
inline::bgs::protocol::account::v1::Identity * mutable_forwarding_identity()
Definition: notification_types.pb.h:1158
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: notification_types.pb.h:433
void clear_attribute()
Definition: notification_types.pb.h:839
const FieldDescriptor value
Definition: descriptor.h:1522
void set_allocated_identity(::bgs::protocol::account::v1::Identity *identity)
Definition: notification_types.pb.h:487
inline::bgs::protocol::notification::v1::Target * add_target()
Definition: notification_types.pb.h:593
void clear_has_subscriber()
Definition: notification_types.pb.h:615
inline::std::string * mutable_sender_battle_tag()
Definition: notification_types.pb.h:991
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
void TC_SHARED_API protobuf_AddDesc_notification_5ftypes_2eproto()
inline::bgs::protocol::account::v1::Identity * release_subscriber()
Definition: notification_types.pb.h:632
void set_has_peer()
Definition: notification_types.pb.h:1103
void clear_sender_id()
Definition: notification_types.pb.h:687
void set_delivery_required(bool value)
Definition: notification_types.pb.h:667
inline::std::string * mutable_type()
Definition: notification_types.pb.h:803
Definition: rpc_types.pb.h:214
void clear_target()
Definition: notification_types.pb.h:582
::bgs::protocol::ProcessId * peer_
Definition: notification_types.pb.h:438
void clear_has_type()
Definition: notification_types.pb.h:766
void clear_type()
Definition: notification_types.pb.h:769
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > & target() const
Definition: notification_types.pb.h:598
bool has_type() const
Definition: notification_types.pb.h:499
void set_allocated_sender_battle_tag(::std::string *sender_battle_tag)
Definition: notification_types.pb.h:1009
::std::string * target_battle_tag_
Definition: notification_types.pb.h:437
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > & attribute() const
Definition: notification_types.pb.h:855
void set_allocated_target_battle_tag(::std::string *target_battle_tag)
Definition: notification_types.pb.h:1085