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

#include <presence_service.pb.h>

Public Member Functions

 UpdateRequest ()
 
virtual ~UpdateRequest ()
 
 UpdateRequest (const UpdateRequest &from)
 
UpdateRequestoperator= (const UpdateRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (UpdateRequest *other)
 
UpdateRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const UpdateRequest &from)
 
void MergeFrom (const UpdateRequest &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 field_operation_size () const
 
void clear_field_operation ()
 
const
::bgs::protocol::presence::v1::FieldOperation
field_operation (int index) const
 
inline::bgs::protocol::presence::v1::FieldOperation * mutable_field_operation (int index)
 
inline::bgs::protocol::presence::v1::FieldOperation * add_field_operation ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldOperation > & 
field_operation () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::presence::v1::FieldOperation > * 
mutable_field_operation ()
 
bool has_no_create () const
 
void clear_no_create ()
 
bool no_create () const
 
void set_no_create (bool value)
 
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 UpdateRequestdefault_instance ()
 

Static Public Attributes

static const int kEntityIdFieldNumber = 1
 
static const int kFieldOperationFieldNumber = 2
 
static const int kNoCreateFieldNumber = 3
 
static const int kAgentIdFieldNumber = 4
 

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_no_create ()
 
void clear_has_no_create ()
 
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::FieldOperation
field_operation_
 
::bgs::protocol::EntityIdagent_id_
 
bool no_create_
 

Static Private Attributes

static UpdateRequestdefault_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::UpdateRequest::UpdateRequest ( )
virtual bgs::protocol::presence::v1::UpdateRequest::~UpdateRequest ( )
virtual
bgs::protocol::presence::v1::UpdateRequest::UpdateRequest ( const UpdateRequest from)

Member Function Documentation

bgs::protocol::presence::v1::FieldOperation * bgs::protocol::presence::v1::UpdateRequest::add_field_operation ( )
inline
1181  {
1182  // @@protoc_insertion_point(field_add:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1183  return field_operation_.Add();
1184 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
const ::bgs::protocol::EntityId & bgs::protocol::presence::v1::UpdateRequest::agent_id ( ) const
inline
1234  {
1235  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.agent_id)
1237 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:471
static UpdateRequest * default_instance_
Definition: presence_service.pb.h:478
int bgs::protocol::presence::v1::UpdateRequest::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::UpdateRequest::clear_agent_id ( )
inline
1230  {
1231  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
1233 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:471
void clear_has_agent_id()
Definition: presence_service.pb.h:1227
void bgs::protocol::presence::v1::UpdateRequest::clear_entity_id ( )
inline
1135  {
1136  if (entity_id_ != NULL) entity_id_->::bgs::protocol::EntityId::Clear();
1138 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_entity_id()
Definition: presence_service.pb.h:1132
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:469
void bgs::protocol::presence::v1::UpdateRequest::clear_field_operation ( )
inline
1170  {
1171  field_operation_.Clear();
1172 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
void bgs::protocol::presence::v1::UpdateRequest::clear_has_agent_id ( )
inlineprivate
1227  {
1228  _has_bits_[0] &= ~0x00000008u;
1229 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::clear_has_entity_id ( )
inlineprivate
1132  {
1133  _has_bits_[0] &= ~0x00000001u;
1134 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::clear_has_no_create ( )
inlineprivate
1203  {
1204  _has_bits_[0] &= ~0x00000004u;
1205 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::clear_no_create ( )
inline
1206  {
1207  no_create_ = false;
1209 }
void clear_has_no_create()
Definition: presence_service.pb.h:1203
bool no_create_
Definition: presence_service.pb.h:472
void bgs::protocol::presence::v1::UpdateRequest::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::UpdateRequest::CopyFrom ( const UpdateRequest from)
static const UpdateRequest& bgs::protocol::presence::v1::UpdateRequest::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::presence::v1::UpdateRequest::descriptor ( )
static
const ::bgs::protocol::EntityId & bgs::protocol::presence::v1::UpdateRequest::entity_id ( ) const
inline
1139  {
1140  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.entity_id)
1142 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:469
static UpdateRequest * default_instance_
Definition: presence_service.pb.h:478
const ::bgs::protocol::presence::v1::FieldOperation & bgs::protocol::presence::v1::UpdateRequest::field_operation ( int  index) const
inline
1173  {
1174  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1175  return field_operation_.Get(index);
1176 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::presence::v1::FieldOperation > & bgs::protocol::presence::v1::UpdateRequest::field_operation ( ) const
inline
1186  {
1187  // @@protoc_insertion_point(field_list:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1188  return field_operation_;
1189 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
int bgs::protocol::presence::v1::UpdateRequest::field_operation_size ( ) const
inline
1167  {
1168  return field_operation_.size();
1169 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
int bgs::protocol::presence::v1::UpdateRequest::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

407 { return _cached_size_; }
int _cached_size_
Definition: presence_service.pb.h:468
::google::protobuf::Metadata bgs::protocol::presence::v1::UpdateRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::presence::v1::UpdateRequest::has_agent_id ( ) const
inline
1221  {
1222  return (_has_bits_[0] & 0x00000008u) != 0;
1223 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
bool bgs::protocol::presence::v1::UpdateRequest::has_entity_id ( ) const
inline
1126  {
1127  return (_has_bits_[0] & 0x00000001u) != 0;
1128 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
bool bgs::protocol::presence::v1::UpdateRequest::has_no_create ( ) const
inline
1197  {
1198  return (_has_bits_[0] & 0x00000004u) != 0;
1199 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::presence::v1::UpdateRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::UpdateRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::presence::v1::UpdateRequest::MergeFrom ( const UpdateRequest from)
bool bgs::protocol::presence::v1::UpdateRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::presence::v1::UpdateRequest::mutable_agent_id ( )
inline
1238  {
1239  set_has_agent_id();
1240  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
1241  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UpdateRequest.agent_id)
1242  return agent_id_;
1243 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:471
void set_has_agent_id()
Definition: presence_service.pb.h:1224
bgs::protocol::EntityId * bgs::protocol::presence::v1::UpdateRequest::mutable_entity_id ( )
inline
1143  {
1145  if (entity_id_ == NULL) entity_id_ = new ::bgs::protocol::EntityId;
1146  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UpdateRequest.entity_id)
1147  return entity_id_;
1148 }
void set_has_entity_id()
Definition: presence_service.pb.h:1129
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:469
bgs::protocol::presence::v1::FieldOperation * bgs::protocol::presence::v1::UpdateRequest::mutable_field_operation ( int  index)
inline
1177  {
1178  // @@protoc_insertion_point(field_mutable:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1179  return field_operation_.Mutable(index);
1180 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
google::protobuf::RepeatedPtrField<::bgs::protocol::presence::v1::FieldOperation > * bgs::protocol::presence::v1::UpdateRequest::mutable_field_operation ( )
inline
1191  {
1192  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.presence.v1.UpdateRequest.field_operation)
1193  return &field_operation_;
1194 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > field_operation_
Definition: presence_service.pb.h:470
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::presence::v1::UpdateRequest::mutable_unknown_fields ( )
inline
382  {
383  return &_unknown_fields_;
384  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_service.pb.h:465
UpdateRequest* bgs::protocol::presence::v1::UpdateRequest::New ( ) const
virtual
bool bgs::protocol::presence::v1::UpdateRequest::no_create ( ) const
inline
1210  {
1211  // @@protoc_insertion_point(field_get:bgs.protocol.presence.v1.UpdateRequest.no_create)
1212  return no_create_;
1213 }
bool no_create_
Definition: presence_service.pb.h:472
UpdateRequest& bgs::protocol::presence::v1::UpdateRequest::operator= ( const UpdateRequest from)
inline
373  {
374  CopyFrom(from);
375  return *this;
376  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::presence::v1::UpdateRequest::release_agent_id ( )
inline
1244  {
1247  agent_id_ = NULL;
1248  return temp;
1249 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:471
void clear_has_agent_id()
Definition: presence_service.pb.h:1227
bgs::protocol::EntityId * bgs::protocol::presence::v1::UpdateRequest::release_entity_id ( )
inline
1149  {
1152  entity_id_ = NULL;
1153  return temp;
1154 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_entity_id()
Definition: presence_service.pb.h:1132
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:469
void bgs::protocol::presence::v1::UpdateRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::presence::v1::UpdateRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::presence::v1::UpdateRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
1250  {
1251  delete agent_id_;
1252  agent_id_ = agent_id;
1253  if (agent_id) {
1254  set_has_agent_id();
1255  } else {
1257  }
1258  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.UpdateRequest.agent_id)
1259 }
const ::bgs::protocol::EntityId & agent_id() const
Definition: presence_service.pb.h:1234
::bgs::protocol::EntityId * agent_id_
Definition: presence_service.pb.h:471
void clear_has_agent_id()
Definition: presence_service.pb.h:1227
void set_has_agent_id()
Definition: presence_service.pb.h:1224
void bgs::protocol::presence::v1::UpdateRequest::set_allocated_entity_id ( ::bgs::protocol::EntityId entity_id)
inline
1155  {
1156  delete entity_id_;
1158  if (entity_id) {
1160  } else {
1162  }
1163  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.presence.v1.UpdateRequest.entity_id)
1164 }
void set_has_entity_id()
Definition: presence_service.pb.h:1129
const ::bgs::protocol::EntityId & entity_id() const
Definition: presence_service.pb.h:1139
void clear_has_entity_id()
Definition: presence_service.pb.h:1132
::bgs::protocol::EntityId * entity_id_
Definition: presence_service.pb.h:469
void bgs::protocol::presence::v1::UpdateRequest::set_has_agent_id ( )
inlineprivate
1224  {
1225  _has_bits_[0] |= 0x00000008u;
1226 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::set_has_entity_id ( )
inlineprivate
1129  {
1130  _has_bits_[0] |= 0x00000001u;
1131 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::set_has_no_create ( )
inlineprivate
1200  {
1201  _has_bits_[0] |= 0x00000004u;
1202 }
::google::protobuf::uint32 _has_bits_[1]
Definition: presence_service.pb.h:467
void bgs::protocol::presence::v1::UpdateRequest::set_no_create ( bool  value)
inline
1214  {
1216  no_create_ = value;
1217  // @@protoc_insertion_point(field_set:bgs.protocol.presence.v1.UpdateRequest.no_create)
1218 }
bool no_create_
Definition: presence_service.pb.h:472
const FieldDescriptor value
Definition: descriptor.h:1522
void set_has_no_create()
Definition: presence_service.pb.h:1200
void bgs::protocol::presence::v1::UpdateRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::presence::v1::UpdateRequest::SharedCtor ( )
private
void bgs::protocol::presence::v1::UpdateRequest::SharedDtor ( )
private
void bgs::protocol::presence::v1::UpdateRequest::Swap ( UpdateRequest other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::presence::v1::UpdateRequest::unknown_fields ( ) const
inline
378  {
379  return _unknown_fields_;
380  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: presence_service.pb.h:465

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::UpdateRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::presence::v1::UpdateRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::presence::v1::UpdateRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::presence::v1::UpdateRequest::agent_id_
private
UpdateRequest* bgs::protocol::presence::v1::UpdateRequest::default_instance_
staticprivate
::bgs::protocol::EntityId* bgs::protocol::presence::v1::UpdateRequest::entity_id_
private
::google::protobuf::RepeatedPtrField< ::bgs::protocol::presence::v1::FieldOperation > bgs::protocol::presence::v1::UpdateRequest::field_operation_
private
const int bgs::protocol::presence::v1::UpdateRequest::kAgentIdFieldNumber = 4
static
const int bgs::protocol::presence::v1::UpdateRequest::kEntityIdFieldNumber = 1
static
const int bgs::protocol::presence::v1::UpdateRequest::kFieldOperationFieldNumber = 2
static
const int bgs::protocol::presence::v1::UpdateRequest::kNoCreateFieldNumber = 3
static
bool bgs::protocol::presence::v1::UpdateRequest::no_create_
private

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