4#ifndef PROTOBUF_presence_5ftypes_2eproto__INCLUDED
5#define PROTOBUF_presence_5ftypes_2eproto__INCLUDED
9#include <google/protobuf/stubs/common.h>
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/generated_enum_reflection.h>
27#include <google/protobuf/unknown_field_set.h>
62 return ::google::protobuf::internal::NameOfEnum(
67 return ::google::protobuf::internal::ParseNamedEnum<FieldOperation_OperationType>(
85 return _unknown_fields_;
89 return &_unknown_fields_;
92 static const ::google::protobuf::Descriptor*
descriptor();
113 inline bool has_program()
const;
114 inline void clear_program();
115 static const int kProgramFieldNumber = 1;
120 inline bool has_stream()
const;
121 inline void clear_stream();
122 static const int kStreamFieldNumber = 2;
127 inline bool has_localization_id()
const;
128 inline void clear_localization_id();
129 static const int kLocalizationIdFieldNumber = 3;
135 inline void set_has_program();
136 inline void clear_has_program();
137 inline void set_has_stream();
138 inline void clear_has_stream();
139 inline void set_has_localization_id();
140 inline void clear_has_localization_id();
171 return _unknown_fields_;
175 return &_unknown_fields_;
199 inline bool has_program()
const;
200 inline void clear_program();
201 static const int kProgramFieldNumber = 1;
206 inline bool has_group()
const;
207 inline void clear_group();
208 static const int kGroupFieldNumber = 2;
213 inline bool has_field()
const;
214 inline void clear_field();
215 static const int kFieldFieldNumber = 3;
220 inline bool has_unique_id()
const;
221 inline void clear_unique_id();
222 static const int kUniqueIdFieldNumber = 4;
228 inline void set_has_program();
229 inline void clear_has_program();
230 inline void set_has_group();
231 inline void clear_has_group();
232 inline void set_has_field();
233 inline void clear_has_field();
234 inline void set_has_unique_id();
235 inline void clear_has_unique_id();
267 return _unknown_fields_;
271 return &_unknown_fields_;
295 inline bool has_key()
const;
296 inline void clear_key();
297 static const int kKeyFieldNumber = 1;
298 inline const ::bgs::protocol::presence::v1::FieldKey& key()
const;
299 inline ::bgs::protocol::presence::v1::FieldKey* mutable_key();
300 inline ::bgs::protocol::presence::v1::FieldKey* release_key();
304 inline bool has_value()
const;
305 inline void clear_value();
306 static const int kValueFieldNumber = 2;
307 inline const ::bgs::protocol::Variant& value()
const;
308 inline ::bgs::protocol::Variant* mutable_value();
309 inline ::bgs::protocol::Variant* release_value();
314 inline void set_has_key();
315 inline void clear_has_key();
316 inline void set_has_value();
317 inline void clear_has_value();
347 return _unknown_fields_;
351 return &_unknown_fields_;
382 static const int OperationType_ARRAYSIZE =
384 static inline const ::google::protobuf::EnumDescriptor*
399 inline bool has_field()
const;
400 inline void clear_field();
401 static const int kFieldFieldNumber = 1;
402 inline const ::bgs::protocol::presence::v1::Field& field()
const;
403 inline ::bgs::protocol::presence::v1::Field* mutable_field();
404 inline ::bgs::protocol::presence::v1::Field* release_field();
408 inline bool has_operation()
const;
409 inline void clear_operation();
410 static const int kOperationFieldNumber = 2;
416 inline void set_has_field();
417 inline void clear_has_field();
418 inline void set_has_operation();
419 inline void clear_has_operation();
449 return _unknown_fields_;
453 return &_unknown_fields_;
477 inline bool has_entity_id()
const;
478 inline void clear_entity_id();
479 static const int kEntityIdFieldNumber = 1;
480 inline const ::bgs::protocol::EntityId& entity_id()
const;
481 inline ::bgs::protocol::EntityId* mutable_entity_id();
482 inline ::bgs::protocol::EntityId* release_entity_id();
486 inline int field_operation_size()
const;
487 inline void clear_field_operation();
488 static const int kFieldOperationFieldNumber = 2;
489 inline const ::bgs::protocol::presence::v1::FieldOperation& field_operation(
int index)
const;
490 inline ::bgs::protocol::presence::v1::FieldOperation* mutable_field_operation(
int index);
491 inline ::bgs::protocol::presence::v1::FieldOperation* add_field_operation();
492 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
493 field_operation()
const;
494 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
495 mutable_field_operation();
499 inline void set_has_entity_id();
500 inline void clear_has_entity_id();
507 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >
field_operation_;
530 return _unknown_fields_;
534 return &_unknown_fields_;
558 inline bool has_entity_id()
const;
559 inline void clear_entity_id();
560 static const int kEntityIdFieldNumber = 1;
561 inline const ::bgs::protocol::EntityId& entity_id()
const;
562 inline ::bgs::protocol::EntityId* mutable_entity_id();
563 inline ::bgs::protocol::EntityId* release_entity_id();
567 inline int field_operation_size()
const;
568 inline void clear_field_operation();
569 static const int kFieldOperationFieldNumber = 2;
570 inline const ::bgs::protocol::presence::v1::FieldOperation& field_operation(
int index)
const;
571 inline ::bgs::protocol::presence::v1::FieldOperation* mutable_field_operation(
int index);
572 inline ::bgs::protocol::presence::v1::FieldOperation* add_field_operation();
573 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
574 field_operation()
const;
575 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
576 mutable_field_operation();
579 inline bool has_healing()
const;
580 inline void clear_healing();
581 static const int kHealingFieldNumber = 3;
582 inline bool healing()
const;
583 inline void set_healing(
bool value);
585 static const int kPresenceFieldNumber = 101;
587 ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::presence::v1::ChannelState >, 11,
false >
591 inline void set_has_entity_id();
592 inline void clear_has_entity_id();
593 inline void set_has_healing();
594 inline void clear_has_healing();
601 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >
field_operation_;
805 if (
key_ != NULL)
key_->::bgs::protocol::presence::v1::FieldKey::Clear();
808inline const ::bgs::protocol::presence::v1::FieldKey&
Field::key()
const {
814 if (
key_ == NULL)
key_ = new ::bgs::protocol::presence::v1::FieldKey;
846 if (
value_ != NULL)
value_->::bgs::protocol::Variant::Clear();
855 if (
value_ == NULL)
value_ = new ::bgs::protocol::Variant;
891 if (
field_ != NULL)
field_->::bgs::protocol::presence::v1::Field::Clear();
900 if (
field_ == NULL)
field_ = new ::bgs::protocol::presence::v1::Field;
1010inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1015inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1085inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >&
1090inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation >*
1132inline const EnumDescriptor* GetEnumDescriptor< ::bgs::protocol::presence::v1::FieldOperation_OperationType>() {
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
static const ChannelState & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
void InitAsDefaultInstance()
void clear_field_operation()
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
ChannelState * New() const
void SetCachedSize(int size) const
int GetCachedSize() const
bool has_entity_id() const
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::EntityId * mutable_entity_id()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > * mutable_field_operation()
::bgs::protocol::EntityId * entity_id_
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::bgs::protocol::EntityId * release_entity_id()
void Swap(ChannelState *other)
inline ::bgs::protocol::presence::v1::FieldOperation * add_field_operation()
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
void clear_has_entity_id()
static ::google::protobuf::internal::ExtensionIdentifier< ::bgs::protocol::channel::v1::ChannelState, ::google::protobuf::internal::MessageTypeTraits< ::bgs::protocol::presence::v1::ChannelState >, 11, false > presence
ChannelState(const ChannelState &from)
const ::bgs::protocol::EntityId & entity_id() const
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
::google::protobuf::Metadata GetMetadata() const
ChannelState & operator=(const ChannelState &from)
static ChannelState * default_instance_
void set_healing(bool value)
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
int field_operation_size() const
void set_unique_id(::google::protobuf::uint64 value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void InitAsDefaultInstance()
int GetCachedSize() const
FieldKey & operator=(const FieldKey &from)
inline ::google::protobuf::uint32 field() const
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
FieldKey(const FieldKey &from)
::google::protobuf::uint32 group_
::google::protobuf::Metadata GetMetadata() const
static const FieldKey & default_instance()
inline ::google::protobuf::uint64 unique_id() const
void clear_has_unique_id()
::google::protobuf::uint32 _has_bits_[1]
::google::protobuf::uint32 field_
void set_program(::google::protobuf::uint32 value)
void set_group(::google::protobuf::uint32 value)
void Swap(FieldKey *other)
void SetCachedSize(int size) const
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
bool has_unique_id() const
inline ::google::protobuf::uint32 group() const
static const ::google::protobuf::Descriptor * descriptor()
static FieldKey * default_instance_
::google::protobuf::uint64 unique_id_
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
::google::protobuf::uint32 program_
void set_field(::google::protobuf::uint32 value)
::google::protobuf::UnknownFieldSet _unknown_fields_
inline ::google::protobuf::uint32 program() const
static const ::std::string & OperationType_Name(OperationType value)
static bool OperationType_IsValid(int value)
FieldOperation(const FieldOperation &from)
void clear_has_operation()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
static const ::google::protobuf::EnumDescriptor * OperationType_descriptor()
FieldOperation * New() const
const ::bgs::protocol::presence::v1::Field & field() const
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
void SetCachedSize(int size) const
FieldOperation_OperationType OperationType
void set_operation(::bgs::protocol::presence::v1::FieldOperation_OperationType value)
static const FieldOperation & default_instance()
inline ::bgs::protocol::presence::v1::Field * mutable_field()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::presence::v1::Field * release_field()
inline ::bgs::protocol::presence::v1::FieldOperation_OperationType operation() const
static FieldOperation * default_instance_
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::uint32 _has_bits_[1]
void Swap(FieldOperation *other)
static bool OperationType_Parse(const ::std::string &name, OperationType *value)
int GetCachedSize() const
static const ::google::protobuf::Descriptor * descriptor()
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
void InitAsDefaultInstance()
bool has_operation() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
virtual ~FieldOperation()
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
::bgs::protocol::presence::v1::Field * field_
void set_allocated_field(::bgs::protocol::presence::v1::Field *field)
FieldOperation & operator=(const FieldOperation &from)
void InitAsDefaultInstance()
::google::protobuf::Metadata GetMetadata() const
inline ::bgs::protocol::presence::v1::FieldKey * release_key()
int GetCachedSize() const
static const Field & default_instance()
::google::protobuf::uint32 _has_bits_[1]
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
::bgs::protocol::presence::v1::FieldKey * key_
static Field * default_instance_
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Field & operator=(const Field &from)
const ::bgs::protocol::presence::v1::FieldKey & key() const
void set_allocated_value(::bgs::protocol::Variant *value)
inline ::bgs::protocol::presence::v1::FieldKey * mutable_key()
void SetCachedSize(int size) const
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
::bgs::protocol::Variant * value_
const ::bgs::protocol::Variant & value() const
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
inline ::bgs::protocol::Variant * release_value()
inline ::bgs::protocol::Variant * mutable_value()
::google::protobuf::UnknownFieldSet _unknown_fields_
void set_allocated_key(::bgs::protocol::presence::v1::FieldKey *key)
const ::bgs::protocol::EntityId & entity_id() const
const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > & field_operation() const
::google::protobuf::uint32 _has_bits_[1]
inline ::bgs::protocol::presence::v1::FieldOperation * add_field_operation()
PresenceState & operator=(const PresenceState &from)
void set_allocated_entity_id(::bgs::protocol::EntityId *entity_id)
static const PresenceState & default_instance()
static PresenceState * default_instance_
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
bool has_entity_id() const
::bgs::protocol::EntityId * entity_id_
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
void clear_field_operation()
static const ::google::protobuf::Descriptor * descriptor()
void clear_has_entity_id()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
PresenceState * New() const
int GetCachedSize() const
::google::protobuf::UnknownFieldSet _unknown_fields_
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
int field_operation_size() const
void InitAsDefaultInstance()
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > * mutable_field_operation()
PresenceState(const PresenceState &from)
inline ::bgs::protocol::EntityId * mutable_entity_id()
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
void SetCachedSize(int size) const
inline ::bgs::protocol::EntityId * release_entity_id()
void Swap(PresenceState *other)
bool has_localization_id() const
static RichPresenceLocalizationKey * default_instance_
void set_program(::google::protobuf::uint32 value)
void set_localization_id(::google::protobuf::uint32 value)
virtual ~RichPresenceLocalizationKey()
RichPresenceLocalizationKey & operator=(const RichPresenceLocalizationKey &from)
::google::protobuf::uint32 localization_id_
void clear_localization_id()
void SetCachedSize(int size) const
inline ::google::protobuf::uint32 localization_id() const
friend void protobuf_ShutdownFile_presence_5ftypes_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
inline ::google::protobuf::uint32 program() const
RichPresenceLocalizationKey()
inline ::google::protobuf::uint32 stream() const
static const RichPresenceLocalizationKey & default_instance()
int GetCachedSize() const
RichPresenceLocalizationKey * New() const
void set_stream(::google::protobuf::uint32 value)
void clear_has_localization_id()
void Swap(RichPresenceLocalizationKey *other)
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
friend void protobuf_AssignDesc_presence_5ftypes_2eproto()
void set_has_localization_id()
::google::protobuf::uint32 _has_bits_[1]
RichPresenceLocalizationKey(const RichPresenceLocalizationKey &from)
::google::protobuf::uint32 program_
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 stream_
::google::protobuf::UnknownFieldSet _unknown_fields_
friend void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
void InitAsDefaultInstance()
::google::protobuf::Metadata GetMetadata() const
constexpr std::size_t size()
void TC_PROTO_API protobuf_AddDesc_presence_5ftypes_2eproto()
void protobuf_ShutdownFile_presence_5ftypes_2eproto()
const int FieldOperation_OperationType_OperationType_ARRAYSIZE
bool FieldOperation_OperationType_Parse(const ::std::string &name, FieldOperation_OperationType *value)
TC_PROTO_APIconst ::google::protobuf::EnumDescriptor * FieldOperation_OperationType_descriptor()
const FieldOperation_OperationType FieldOperation_OperationType_OperationType_MIN
const ::std::string & FieldOperation_OperationType_Name(FieldOperation_OperationType value)
TC_PROTO_API bool FieldOperation_OperationType_IsValid(int value)
void protobuf_AssignDesc_presence_5ftypes_2eproto()
FieldOperation_OperationType
@ FieldOperation_OperationType_CLEAR
@ FieldOperation_OperationType_SET
const FieldOperation_OperationType FieldOperation_OperationType_OperationType_MAX