4 #ifndef PROTOBUF_presence_5ftypes_2eproto__INCLUDED
5 #define PROTOBUF_presence_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.
44 class RichPresenceLocalizationKey;
66 return ::google::protobuf::internal::ParseNamedEnum<FieldOperation_OperationType>(
84 return _unknown_fields_;
88 return &_unknown_fields_;
91 static const ::google::protobuf::Descriptor* descriptor();
99 void CopyFrom(const ::google::protobuf::Message& from);
100 void MergeFrom(const ::google::protobuf::Message& from);
104 bool IsInitialized()
const;
106 int ByteSize()
const;
107 bool MergePartialFromCodedStream(
109 void SerializeWithCachedSizes(
116 void SetCachedSize(
int size)
const;
125 inline bool has_program()
const;
126 inline void clear_program();
127 static const int kProgramFieldNumber = 1;
132 inline bool has_stream()
const;
133 inline void clear_stream();
134 static const int kStreamFieldNumber = 2;
139 inline bool has_localization_id()
const;
140 inline void clear_localization_id();
141 static const int kLocalizationIdFieldNumber = 3;
147 inline void set_has_program();
148 inline void clear_has_program();
149 inline void set_has_stream();
150 inline void clear_has_stream();
151 inline void set_has_localization_id();
152 inline void clear_has_localization_id();
165 void InitAsDefaultInstance();
183 return _unknown_fields_;
187 return &_unknown_fields_;
190 static const ::google::protobuf::Descriptor* descriptor();
191 static const FieldKey& default_instance();
198 void CopyFrom(const ::google::protobuf::Message& from);
199 void MergeFrom(const ::google::protobuf::Message& from);
200 void CopyFrom(
const FieldKey& from);
201 void MergeFrom(
const FieldKey& from);
203 bool IsInitialized()
const;
205 int ByteSize()
const;
206 bool MergePartialFromCodedStream(
208 void SerializeWithCachedSizes(
215 void SetCachedSize(
int size)
const;
224 inline bool has_program()
const;
225 inline void clear_program();
226 static const int kProgramFieldNumber = 1;
231 inline bool has_group()
const;
232 inline void clear_group();
233 static const int kGroupFieldNumber = 2;
238 inline bool has_field()
const;
239 inline void clear_field();
240 static const int kFieldFieldNumber = 3;
245 inline bool has_unique_id()
const;
246 inline void clear_unique_id();
247 static const int kUniqueIdFieldNumber = 4;
253 inline void set_has_program();
254 inline void clear_has_program();
255 inline void set_has_group();
256 inline void clear_has_group();
257 inline void set_has_field();
258 inline void clear_has_field();
259 inline void set_has_unique_id();
260 inline void clear_has_unique_id();
274 void InitAsDefaultInstance();
292 return _unknown_fields_;
296 return &_unknown_fields_;
299 static const ::google::protobuf::Descriptor* descriptor();
300 static const Field& default_instance();
302 void Swap(
Field* other);
307 void CopyFrom(const ::google::protobuf::Message& from);
308 void MergeFrom(const ::google::protobuf::Message& from);
309 void CopyFrom(
const Field& from);
310 void MergeFrom(
const Field& from);
312 bool IsInitialized()
const;
314 int ByteSize()
const;
315 bool MergePartialFromCodedStream(
317 void SerializeWithCachedSizes(
324 void SetCachedSize(
int size)
const;
333 inline bool has_key()
const;
334 inline void clear_key();
335 static const int kKeyFieldNumber = 1;
336 inline const ::bgs::protocol::presence::v1::FieldKey& key()
const;
337 inline ::bgs::protocol::presence::v1::FieldKey* mutable_key();
338 inline ::bgs::protocol::presence::v1::FieldKey* release_key();
342 inline bool has_value()
const;
343 inline void clear_value();
344 static const int kValueFieldNumber = 2;
345 inline const ::bgs::protocol::Variant&
value()
const;
346 inline ::bgs::protocol::Variant* mutable_value();
347 inline ::bgs::protocol::Variant* release_value();
352 inline void set_has_key();
353 inline void clear_has_key();
354 inline void set_has_value();
355 inline void clear_has_value();
367 void InitAsDefaultInstance();
385 return _unknown_fields_;
389 return &_unknown_fields_;
392 static const ::google::protobuf::Descriptor* descriptor();
400 void CopyFrom(const ::google::protobuf::Message& from);
401 void MergeFrom(const ::google::protobuf::Message& from);
405 bool IsInitialized()
const;
407 int ByteSize()
const;
408 bool MergePartialFromCodedStream(
410 void SerializeWithCachedSizes(
417 void SetCachedSize(
int size)
const;
429 static const OperationType OperationType_MIN =
431 static const OperationType OperationType_MAX =
433 static const int OperationType_ARRAYSIZE =
435 static inline const ::google::protobuf::EnumDescriptor*
443 OperationType*
value) {
450 inline bool has_field()
const;
451 inline void clear_field();
452 static const int kFieldFieldNumber = 1;
453 inline const ::bgs::protocol::presence::v1::Field& field()
const;
454 inline ::bgs::protocol::presence::v1::Field* mutable_field();
455 inline ::bgs::protocol::presence::v1::Field* release_field();
459 inline bool has_operation()
const;
460 inline void clear_operation();
461 static const int kOperationFieldNumber = 2;
467 inline void set_has_field();
468 inline void clear_has_field();
469 inline void set_has_operation();
470 inline void clear_has_operation();
482 void InitAsDefaultInstance();
500 return _unknown_fields_;
504 return &_unknown_fields_;
507 static const ::google::protobuf::Descriptor* descriptor();
515 void CopyFrom(const ::google::protobuf::Message& from);
516 void MergeFrom(const ::google::protobuf::Message& from);
520 bool IsInitialized()
const;
522 int ByteSize()
const;
523 bool MergePartialFromCodedStream(
525 void SerializeWithCachedSizes(
532 void SetCachedSize(
int size)
const;
541 inline bool has_entity_id()
const;
542 inline void clear_entity_id();
543 static const int kEntityIdFieldNumber = 1;
544 inline const ::bgs::protocol::EntityId& entity_id()
const;
545 inline ::bgs::protocol::EntityId* mutable_entity_id();
546 inline ::bgs::protocol::EntityId* release_entity_id();
550 inline int field_operation_size()
const;
551 inline void clear_field_operation();
552 static const int kFieldOperationFieldNumber = 2;
553 inline const ::bgs::protocol::presence::v1::FieldOperation& field_operation(
int index)
const;
554 inline ::bgs::protocol::presence::v1::FieldOperation* mutable_field_operation(
int index);
555 inline ::bgs::protocol::presence::v1::FieldOperation* add_field_operation();
556 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
557 field_operation()
const;
558 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
559 mutable_field_operation();
562 inline bool has_healing()
const;
563 inline void clear_healing();
564 static const int kHealingFieldNumber = 3;
565 inline bool healing()
const;
566 inline void set_healing(
bool value);
568 static const int kPresenceFieldNumber = 101;
574 inline void set_has_entity_id();
575 inline void clear_has_entity_id();
576 inline void set_has_healing();
577 inline void clear_has_healing();
590 void InitAsDefaultInstance();
790 if (
key_ !=
NULL)
key_->::bgs::protocol::presence::v1::FieldKey::Clear();
793 inline const ::bgs::protocol::presence::v1::FieldKey&
Field::key()
const {
799 if (
key_ ==
NULL)
key_ = new ::bgs::protocol::presence::v1::FieldKey;
995 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1000 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1040 namespace protobuf {
1044 inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::presence::v1::FieldOperation_OperationType>() {
1054 #endif // PROTOBUF_presence_5ftypes_2eproto__INCLUDED
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:359
Field & operator=(const Field &from)
Definition: presence_types.pb.h:286
Definition: attribute_types.pb.h:67
const int FieldOperation_OperationType_OperationType_ARRAYSIZE
Definition: presence_types.pb.h:57
void clear_field()
Definition: presence_types.pb.h:737
void clear_has_localization_id()
Definition: presence_types.pb.h:658
void set_has_group()
Definition: presence_types.pb.h:707
void set_has_unique_id()
Definition: presence_types.pb.h:755
void clear_healing()
Definition: presence_types.pb.h:1016
static RichPresenceLocalizationKey * default_instance_
Definition: presence_types.pb.h:166
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:581
static bool OperationType_IsValid(int value)
Definition: presence_types.pb.h:426
#define SET(a, b, c, d, k, s, Ti)
Definition: entity_types.pb.h:45
void set_has_field()
Definition: presence_types.pb.h:731
static FieldOperation * default_instance_
Definition: presence_types.pb.h:483
const ::std::string & FieldOperation_OperationType_Name(FieldOperation_OperationType value)
Definition: presence_types.pb.h:60
void clear_stream()
Definition: presence_types.pb.h:637
void set_group(::google::protobuf::uint32 value)
Definition: presence_types.pb.h:721
inline::google::protobuf::uint32 program() const
Definition: presence_types.pb.h:617
void set_allocated_key(::bgs::protocol::presence::v1::FieldKey *key)
Definition: presence_types.pb.h:809
FieldKey & operator=(const FieldKey &from)
Definition: presence_types.pb.h:177
int GetCachedSize() const
Definition: presence_types.pb.h:112
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: presence_types.pb.h:384
::bgs::protocol::Variant * value_
Definition: presence_types.pb.h:362
const ::bgs::protocol::EntityId & entity_id() const
Definition: presence_types.pb.h:949
inline::bgs::protocol::Variant * release_value()
Definition: presence_types.pb.h:844
inline::google::protobuf::uint32 program() const
Definition: presence_types.pb.h:693
void set_allocated_value(::bgs::protocol::Variant *value)
Definition: presence_types.pb.h:850
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:262
void set_has_field()
Definition: presence_types.pb.h:869
LIBPROTOBUF_EXPORT const string & NameOfEnum(const EnumDescriptor *descriptor, int value)
Class used to access individual fields of database query result.
Definition: Field.h:56
int field_operation_size() const
Definition: presence_types.pb.h:977
inline::bgs::protocol::EntityId * release_entity_id()
Definition: presence_types.pb.h:959
void set_operation(::bgs::protocol::presence::v1::FieldOperation_OperationType value)
Definition: presence_types.pb.h:924
int GetCachedSize() const
Definition: presence_types.pb.h:320
Definition: unknown_field_set.h:74
void set_has_operation()
Definition: presence_types.pb.h:910
uint8_t uint8
Definition: common.h:175
static const ::std::string & OperationType_Name(OperationType value)
Definition: presence_types.pb.h:439
arena_t NULL
Definition: jemalloc_internal.h:624
inline::bgs::protocol::presence::v1::Field * mutable_field()
Definition: presence_types.pb.h:883
Definition: descriptor.h:683
Definition: message.h:147
void set_unique_id(::google::protobuf::uint64 value)
Definition: presence_types.pb.h:769
inline::bgs::protocol::presence::v1::FieldOperation_OperationType operation() const
Definition: presence_types.pb.h:920
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
Definition: presence_types.pb.h:965
const ::bgs::protocol::presence::v1::Field & field() const
Definition: presence_types.pb.h:879
Definition: presence_types.pb.h:52
inline::bgs::protocol::Variant * mutable_value()
Definition: presence_types.pb.h:838
uint64_t uint64
Definition: g3dmath.h:170
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: presence_types.pb.h:83
void set_has_value()
Definition: presence_types.pb.h:824
ChannelState & operator=(const ChannelState &from)
Definition: presence_types.pb.h:494
static Field * default_instance_
Definition: presence_types.pb.h:368
bool has_value() const
Definition: presence_types.pb.h:821
void clear_unique_id()
Definition: presence_types.pb.h:761
void clear_has_program()
Definition: presence_types.pb.h:686
FieldOperation_OperationType OperationType
Definition: presence_types.pb.h:423
void set_has_key()
Definition: presence_types.pb.h:783
void clear_has_entity_id()
Definition: presence_types.pb.h:942
void clear_field_operation()
Definition: presence_types.pb.h:980
inline::bgs::protocol::presence::v1::FieldKey * release_key()
Definition: presence_types.pb.h:803
void clear_has_healing()
Definition: presence_types.pb.h:1013
inline::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > * mutable_field_operation()
Definition: presence_types.pb.h:1001
bool FieldOperation_OperationType_Parse(const ::std::string &name, FieldOperation_OperationType *value)
Definition: presence_types.pb.h:64
Definition: message.h:165
inline::bgs::protocol::EntityId * mutable_entity_id()
Definition: presence_types.pb.h:953
bool healing() const
Definition: presence_types.pb.h:1020
void clear_localization_id()
Definition: presence_types.pb.h:661
bool has_healing() const
Definition: presence_types.pb.h:1007
inline::google::protobuf::uint32 field() const
Definition: presence_types.pb.h:741
::google::protobuf::uint32 program_
Definition: presence_types.pb.h:266
void set_has_localization_id()
Definition: presence_types.pb.h:655
void clear_has_operation()
Definition: presence_types.pb.h:913
const ::bgs::protocol::presence::v1::FieldKey & key() const
Definition: presence_types.pb.h:793
Definition: template_util.h:77
int _cached_size_
Definition: presence_types.pb.h:157
void set_stream(::google::protobuf::uint32 value)
Definition: presence_types.pb.h:645
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:156
bool healing_
Definition: presence_types.pb.h:585
TC_SHARED_APIconst::google::protobuf::EnumDescriptor * FieldOperation_OperationType_descriptor()
void set_program(::google::protobuf::uint32 value)
Definition: presence_types.pb.h:621
bool has_program() const
Definition: presence_types.pb.h:680
FieldOperation & operator=(const FieldOperation &from)
Definition: presence_types.pb.h:379
int _cached_size_
Definition: presence_types.pb.h:475
Definition: coded_stream.h:621
int GetCachedSize() const
Definition: presence_types.pb.h:211
void clear_operation()
Definition: presence_types.pb.h:916
void clear_entity_id()
Definition: presence_types.pb.h:945
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_types.pb.h:584
::google::protobuf::uint32 field_
Definition: presence_types.pb.h:269
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: presence_types.pb.h:295
bool has_unique_id() const
Definition: presence_types.pb.h:752
static bool OperationType_Parse(const ::std::string &name, OperationType *value)
Definition: presence_types.pb.h:442
void clear_has_field()
Definition: presence_types.pb.h:734
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: presence_types.pb.h:186
void set_has_program()
Definition: presence_types.pb.h:683
void clear_has_key()
Definition: presence_types.pb.h:786
void clear_field()
Definition: presence_types.pb.h:875
Definition: presence_types.pb.h:71
inline::google::protobuf::uint64 unique_id() const
Definition: presence_types.pb.h:765
Definition: generated_enum_reflection.h:55
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:357
uint32_t uint32
Definition: common.h:177
void set_has_program()
Definition: presence_types.pb.h:607
inline::google::protobuf::uint32 localization_id() const
Definition: presence_types.pb.h:665
inline::bgs::protocol::presence::v1::FieldOperation * add_field_operation()
Definition: presence_types.pb.h:991
::google::protobuf::uint64 unique_id_
Definition: presence_types.pb.h:268
void protobuf_AssignDesc_presence_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: presence_types.pb.h:291
#define TC_SHARED_API
Definition: Define.h:128
void set_allocated_field(::bgs::protocol::presence::v1::Field *field)
Definition: presence_types.pb.h:895
::bgs::protocol::presence::v1::FieldKey * key_
Definition: presence_types.pb.h:361
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:474
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: presence_types.pb.h:503
void clear_program()
Definition: presence_types.pb.h:689
const FieldOperation_OperationType FieldOperation_OperationType_OperationType_MIN
Definition: presence_types.pb.h:55
void clear_has_program()
Definition: presence_types.pb.h:610
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
Definition: presence_types.pb.h:996
uint64_t uint64
Definition: common.h:178
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: presence_types.pb.h:499
void TC_SHARED_API protobuf_AddDesc_presence_5ftypes_2eproto()
void set_healing(bool value)
Definition: presence_types.pb.h:1024
static ChannelState * default_instance_
Definition: presence_types.pb.h:591
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:154
static FieldKey * default_instance_
Definition: presence_types.pb.h:275
void set_has_stream()
Definition: presence_types.pb.h:631
bool has_operation() const
Definition: presence_types.pb.h:907
::google::protobuf::uint32 group_
Definition: presence_types.pb.h:267
bool has_key() const
Definition: presence_types.pb.h:780
::bgs::protocol::presence::v1::Field * field_
Definition: presence_types.pb.h:476
void clear_program()
Definition: presence_types.pb.h:613
void protobuf_ShutdownFile_presence_5ftypes_2eproto()
bool has_stream() const
Definition: presence_types.pb.h:628
bool has_program() const
Definition: presence_types.pb.h:604
void clear_has_stream()
Definition: presence_types.pb.h:634
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:579
int _cached_size_
Definition: presence_types.pb.h:265
int GetCachedSize() const
Definition: presence_types.pb.h:413
FieldOperation_OperationType
Definition: presence_types.pb.h:50
Definition: presence_types.pb.h:372
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_types.pb.h:264
void set_has_healing()
Definition: presence_types.pb.h:1010
void set_field(::google::protobuf::uint32 value)
Definition: presence_types.pb.h:745
int _cached_size_
Definition: presence_types.pb.h:360
Definition: presence_types.pb.h:279
bool has_field() const
Definition: presence_types.pb.h:866
const ::bgs::protocol::Variant & value() const
Definition: presence_types.pb.h:834
static::google::protobuf::internal::ExtensionIdentifier< ::bgs::protocol::channel::v1::ChannelState,::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::presence::v1::ChannelState >, 11, false > presence
Definition: presence_types.pb.h:571
::google::protobuf::uint32 program_
Definition: presence_types.pb.h:158
int operation_
Definition: presence_types.pb.h:477
void set_program(::google::protobuf::uint32 value)
Definition: presence_types.pb.h:697
::bgs::protocol::EntityId * entity_id_
Definition: presence_types.pb.h:583
void clear_has_group()
Definition: presence_types.pb.h:710
void clear_has_field()
Definition: presence_types.pb.h:872
void clear_key()
Definition: presence_types.pb.h:789
bool has_group() const
Definition: presence_types.pb.h:704
void clear_has_unique_id()
Definition: presence_types.pb.h:758
RichPresenceLocalizationKey & operator=(const RichPresenceLocalizationKey &from)
Definition: presence_types.pb.h:78
int GetCachedSize() const
Definition: presence_types.pb.h:528
inline::google::protobuf::uint32 stream() const
Definition: presence_types.pb.h:641
void set_has_entity_id()
Definition: presence_types.pb.h:939
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: presence_types.pb.h:182
::google::protobuf::uint32 localization_id_
Definition: presence_types.pb.h:160
Definition: BnetFileGenerator.h:47
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: presence_types.pb.h:87
bool has_field() const
Definition: presence_types.pb.h:728
int _cached_size_
Definition: presence_types.pb.h:582
const FieldDescriptor value
Definition: descriptor.h:1522
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
uint32_t uint32
Definition: g3dmath.h:168
Definition: presence_types.pb.h:170
void set_localization_id(::google::protobuf::uint32 value)
Definition: presence_types.pb.h:669
Definition: presence_types.pb.h:51
inline::bgs::protocol::presence::v1::FieldKey * mutable_key()
Definition: presence_types.pb.h:797
const FieldOperation_OperationType FieldOperation_OperationType_OperationType_MAX
Definition: presence_types.pb.h:56
::google::protobuf::uint32 stream_
Definition: presence_types.pb.h:159
void clear_group()
Definition: presence_types.pb.h:713
bool has_localization_id() const
Definition: presence_types.pb.h:652
TC_SHARED_API bool FieldOperation_OperationType_IsValid(int value)
Definition: channel_types.pb.h:637
inline::bgs::protocol::presence::v1::Field * release_field()
Definition: presence_types.pb.h:889
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: presence_types.pb.h:388
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_types.pb.h:472
static const ::google::protobuf::EnumDescriptor * OperationType_descriptor()
Definition: presence_types.pb.h:436
void clear_has_value()
Definition: presence_types.pb.h:827
bool has_entity_id() const
Definition: presence_types.pb.h:936
Definition: extension_set.h:936
Definition: presence_types.pb.h:487
void clear_value()
Definition: presence_types.pb.h:830
inline::google::protobuf::uint32 group() const
Definition: presence_types.pb.h:717