TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::presence::v1::QueryRequest Class Reference

#include <presence_service.pb.h>

Public Member Functions

 QueryRequest ()
 
virtual ~QueryRequest ()
 
 QueryRequest (const QueryRequest &from)
 
QueryRequestoperator= (const QueryRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (QueryRequest *other)
 
QueryRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const QueryRequest &from)
 
void MergeFrom (const QueryRequest &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_entity_id () const
 
void clear_entity_id ()
 
const ::bgs::protocol::EntityIdentity_id () const
 
inline::bgs::protocol::EntityId * mutable_entity_id ()
 
inline::bgs::protocol::EntityId * release_entity_id ()
 
void set_allocated_entity_id (::bgs::protocol::EntityId *entity_id)
 
int key_size () const
 
void clear_key ()
 
const
::bgs::protocol::presence::v1::FieldKey
key (int index) const
 
inline::bgs::protocol::presence::v1::FieldKey * mutable_key (int index)
 
inline::bgs::protocol::presence::v1::FieldKey * add_key ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldKey > & 
key () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldKey > * 
mutable_key ()
 
bool has_agent_id () const
 
void clear_agent_id ()
 
const ::bgs::protocol::EntityIdagent_id () const
 
inline::bgs::protocol::EntityId * mutable_agent_id ()
 
inline::bgs::protocol::EntityId * release_agent_id ()
 
void set_allocated_agent_id (::bgs::protocol::EntityId *agent_id)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (istream *input)
 
bool ParsePartialFromIstream (istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (ostream *output) const
 
bool SerializePartialToOstream (ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const DescriptorGetDescriptor () const
 
virtual const ReflectionGetReflection () const
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
 
static const QueryRequestdefault_instance ()
 

Static Public Attributes

static const int kEntityIdFieldNumber = 1
 
static const int kKeyFieldNumber = 2
 
static const int kAgentIdFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_entity_id ()
 
void clear_has_entity_id ()
 
void set_has_agent_id ()
 
void clear_has_agent_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdentity_id_
 
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldKey
key_
 
::bgs::protocol::EntityIdagent_id_
 

Static Private Attributes

static QueryRequestdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_presence_5fservice_2eproto ()
 
void protobuf_AssignDesc_presence_5fservice_2eproto ()
 
void protobuf_ShutdownFile_presence_5fservice_2eproto ()
 

Additional Inherited Members

- Public Types inherited from google::protobuf::Message
typedef
google::protobuf::Reflection 
Reflection
 

Constructor & Destructor Documentation

bgs::protocol::presence::v1::QueryRequest::QueryRequest ( )
virtual bgs::protocol::presence::v1::QueryRequest::~QueryRequest ( )
virtual
bgs::protocol::presence::v1::QueryRequest::QueryRequest ( const QueryRequest from)

Member Function Documentation

bgs::protocol::presence::v1::FieldKey * bgs::protocol::presence::v1::QueryRequest::add_key ( )
inline
1321  {
1322  // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.QueryRequest.key)
1323  return key_.Add();
1324 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
const ::bgs::protocol::EntityId & bgs::protocol::presence::v1::QueryRequest::agent_id ( ) const
inline
1350  {
1351  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryRequest.agent_id)
1353 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:578
static QueryRequest * default_instance_
Definition: presence_service.pb.h:584
int bgs::protocol::presence::v1::QueryRequest::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::QueryRequest::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::QueryRequest::clear_agent_id ( )
inline
1346  {
1347  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1349 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_agent_id()
Definition: presence_service.pb.h:1343
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:578
void bgs::protocol::presence::v1::QueryRequest::clear_entity_id ( )
inline
1275  {
1276  if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1278 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:576
void clear_has_entity_id()
Definition: presence_service.pb.h:1272
void bgs::protocol::presence::v1::QueryRequest::clear_has_agent_id ( )
inlineprivate
1343  {
1344  _has_bits_[0] &= ~0x00000004u;
1345 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:574
void bgs::protocol::presence::v1::QueryRequest::clear_has_entity_id ( )
inlineprivate
1272  {
1273  _has_bits_[0] &= ~0x00000001u;
1274 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:574
void bgs::protocol::presence::v1::QueryRequest::clear_key ( )
inline
1310  {
1311  key_.Clear();
1312 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
void bgs::protocol::presence::v1::QueryRequest::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::QueryRequest::CopyFrom ( const QueryRequest from)
static const QueryRequest& bgs::protocol::presence::v1::QueryRequest::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::presence::v1::QueryRequest::descriptor ( )
static
const ::bgs::protocol::EntityId & bgs::protocol::presence::v1::QueryRequest::entity_id ( ) const
inline
1279  {
1280  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryRequest.entity_id)
1282 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:576
static QueryRequest * default_instance_
Definition: presence_service.pb.h:584
int bgs::protocol::presence::v1::QueryRequest::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

523 { return _cached_size_; }
int _cached_size_
Definition: presence_service.pb.h:575
::google::protobuf::Metadata bgs::protocol::presence::v1::QueryRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::presence::v1::QueryRequest::has_agent_id ( ) const
inline
1337  {
1338  return (_has_bits_[0] & 0x00000004u) != 0;
1339 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:574
bool bgs::protocol::presence::v1::QueryRequest::has_entity_id ( ) const
inline
1266  {
1267  return (_has_bits_[0] & 0x00000001u) != 0;
1268 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:574
void bgs::protocol::presence::v1::QueryRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::presence::v1::QueryRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

const ::bgs::protocol::presence::v1::FieldKey & bgs::protocol::presence::v1::QueryRequest::key ( int  index) const
inline
1313  {
1314  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.QueryRequest.key)
1315  return key_.Get(index);
1316 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::presence::v1::FieldKey > & bgs::protocol::presence::v1::QueryRequest::key ( ) const
inline
1326  {
1327  // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.QueryRequest.key)
1328  return key_;
1329 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
int bgs::protocol::presence::v1::QueryRequest::key_size ( ) const
inline
1307  {
1308  return key_.size();
1309 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
void bgs::protocol::presence::v1::QueryRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::QueryRequest::MergeFrom ( const QueryRequest from)
bool bgs::protocol::presence::v1::QueryRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::presence::v1::QueryRequest::mutable_agent_id ( )
inline
1354  {
1355  set_has_agent_id();
1356  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1357  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryRequest.agent_id)
1358  return agent_id_;
1359 }
void set_has_agent_id()
Definition: presence_service.pb.h:1340
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:578
bgs::protocol::EntityId * bgs::protocol::presence::v1::QueryRequest::mutable_entity_id ( )
inline
1283  {
1285  if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1286  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryRequest.entity_id)
1287  return entity_id_;
1288 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_entity_id()
Definition: presence_service.pb.h:1269
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:576
bgs::protocol::presence::v1::FieldKey * bgs::protocol::presence::v1::QueryRequest::mutable_key ( int  index)
inline
1317  {
1318  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.QueryRequest.key)
1319  return key_.Mutable(index);
1320 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
google::protobuf::RepeatedPtrField<::bgs::protocol::presence::v1::FieldKey > * bgs::protocol::presence::v1::QueryRequest::mutable_key ( )
inline
1331  {
1332  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.QueryRequest.key)
1333  return &key_;
1334 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > key_
Definition: presence_service.pb.h:577
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::presence::v1::QueryRequest::mutable_unknown_fields ( )
inline
498  {
499  return &_unknown_fields_;
500  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_service.pb.h:572
QueryRequest* bgs::protocol::presence::v1::QueryRequest::New ( ) const
virtual
QueryRequest& bgs::protocol::presence::v1::QueryRequest::operator= ( const QueryRequest from)
inline
489  {
490  CopyFrom(from);
491  return *this;
492  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::presence::v1::QueryRequest::release_agent_id ( )
inline
1360  {
1363  agent_id_ = NULL;
1364  return temp;
1365 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_agent_id()
Definition: presence_service.pb.h:1343
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:578
bgs::protocol::EntityId * bgs::protocol::presence::v1::QueryRequest::release_entity_id ( )
inline
1289  {
1292  entity_id_ = NULL;
1293  return temp;
1294 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:576
void clear_has_entity_id()
Definition: presence_service.pb.h:1272
void bgs::protocol::presence::v1::QueryRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::presence::v1::QueryRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::presence::v1::QueryRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
1366  {
1367  delete agent_id_;
1368  agent_id_ = agent_id;
1369  if (agent_id) {
1370  set_has_agent_id();
1371  } else {
1373  }
1374  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.QueryRequest.agent_id)
1375 }
const ::bgs::protocol::EntityId & agent_id() const
Definition: presence_service.pb.h:1350
void set_has_agent_id()
Definition: presence_service.pb.h:1340
void clear_has_agent_id()
Definition: presence_service.pb.h:1343
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:578
void bgs::protocol::presence::v1::QueryRequest::set_allocated_entity_id ( ::bgs::protocol::EntityId entity_id)
inline
1295  {
1296  delete entity_id_;
1298  if (entity_id) {
1300  } else {
1302  }
1303  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.QueryRequest.entity_id)
1304 }
void set_has_entity_id()
Definition: presence_service.pb.h:1269
const ::bgs::protocol::EntityId & entity_id() const
Definition: presence_service.pb.h:1279
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:576
void clear_has_entity_id()
Definition: presence_service.pb.h:1272
void bgs::protocol::presence::v1::QueryRequest::set_has_agent_id ( )
inlineprivate
1340  {
1341  _has_bits_[0] |= 0x00000004u;
1342 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:574
void bgs::protocol::presence::v1::QueryRequest::set_has_entity_id ( )
inlineprivate
1269  {
1270  _has_bits_[0] |= 0x00000001u;
1271 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:574
void bgs::protocol::presence::v1::QueryRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::QueryRequest::SharedCtor ( )
private
void bgs::protocol::presence::v1::QueryRequest::SharedDtor ( )
private
void bgs::protocol::presence::v1::QueryRequest::Swap ( QueryRequest other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::presence::v1::QueryRequest::unknown_fields ( ) const
inline
494  {
495  return _unknown_fields_;
496  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_service.pb.h:572

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_presence_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_presence_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_presence_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::presence::v1::QueryRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::presence::v1::QueryRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::presence::v1::QueryRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::presence::v1::QueryRequest::agent_id_
private
QueryRequest* bgs::protocol::presence::v1::QueryRequest::default_instance_
staticprivate
::bgs::protocol::EntityId* bgs::protocol::presence::v1::QueryRequest::entity_id_
private
const int bgs::protocol::presence::v1::QueryRequest::kAgentIdFieldNumber = 3
static
const int bgs::protocol::presence::v1::QueryRequest::kEntityIdFieldNumber = 1
static
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldKey > bgs::protocol::presence::v1::QueryRequest::key_
private
const int bgs::protocol::presence::v1::QueryRequest::kKeyFieldNumber = 2
static

The documentation for this class was generated from the following file: