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

#include <channel_service.pb.h>

Public Member Functions

 SendMessageRequest ()
 
virtual ~SendMessageRequest ()
 
 SendMessageRequest (const SendMessageRequest &from)
 
SendMessageRequestoperator= (const SendMessageRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (SendMessageRequest *other)
 
SendMessageRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const SendMessageRequest &from)
 
void MergeFrom (const SendMessageRequest &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_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)
 
bool has_message () const
 
void clear_message ()
 
const
::bgs::protocol::channel::v1::Message
message () const
 
inline::bgs::protocol::channel::v1::Message * mutable_message ()
 
inline::bgs::protocol::channel::v1::Message * release_message ()
 
void set_allocated_message (::bgs::protocol::channel::v1::Message *message)
 
bool has_required_privileges () const
 
void clear_required_privileges ()
 
inline::google::protobuf::uint64 required_privileges () const
 
void set_required_privileges (::google::protobuf::uint64 value)
 
- 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 SendMessageRequestdefault_instance ()
 

Static Public Attributes

static const int kAgentIdFieldNumber = 1
 
static const int kMessageFieldNumber = 2
 
static const int kRequiredPrivilegesFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_agent_id ()
 
void clear_has_agent_id ()
 
void set_has_message ()
 
void clear_has_message ()
 
void set_has_required_privileges ()
 
void clear_has_required_privileges ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdagent_id_
 
::bgs::protocol::channel::v1::Messagemessage_
 
::google::protobuf::uint64 required_privileges_
 

Static Private Attributes

static SendMessageRequestdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_channel_5fservice_2eproto ()
 
void protobuf_AssignDesc_channel_5fservice_2eproto ()
 
void protobuf_ShutdownFile_channel_5fservice_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::channel::v1::SendMessageRequest::SendMessageRequest ( )
virtual bgs::protocol::channel::v1::SendMessageRequest::~SendMessageRequest ( )
virtual
bgs::protocol::channel::v1::SendMessageRequest::SendMessageRequest ( const SendMessageRequest from)

Member Function Documentation

const ::bgs::protocol::EntityId & bgs::protocol::channel::v1::SendMessageRequest::agent_id ( ) const
inline
2245  {
2246  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SendMessageRequest.agent_id)
2248 }
arena_t NULL
Definition: jemalloc_internal.h:624
static SendMessageRequest * default_instance_
Definition: channel_service.pb.h:485
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:477

+ Here is the caller graph for this function:

int bgs::protocol::channel::v1::SendMessageRequest::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::SendMessageRequest::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::SendMessageRequest::clear_agent_id ( )
inline
2241  {
2242  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
2244 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:477
void clear_has_agent_id()
Definition: channel_service.pb.h:2238

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::clear_has_agent_id ( )
inlineprivate
2238  {
2239  _has_bits_[0] &= ~0x00000001u;
2240 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::clear_has_message ( )
inlineprivate
2279  {
2280  _has_bits_[0] &= ~0x00000002u;
2281 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::clear_has_required_privileges ( )
inlineprivate
2320  {
2321  _has_bits_[0] &= ~0x00000004u;
2322 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::clear_message ( )
inline
2282  {
2283  if (message_ != NULL) message_->::bgs::protocol::channel::v1::Message::Clear();
2285 }
void clear_has_message()
Definition: channel_service.pb.h:2279
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::channel::v1::Message * message_
Definition: channel_service.pb.h:478

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::clear_required_privileges ( )
inline
2323  {
2326 }
::google::protobuf::uint64 required_privileges_
Definition: channel_service.pb.h:479
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
void clear_has_required_privileges()
Definition: channel_service.pb.h:2320

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::SendMessageRequest::CopyFrom ( const SendMessageRequest from)
static const SendMessageRequest& bgs::protocol::channel::v1::SendMessageRequest::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::channel::v1::SendMessageRequest::descriptor ( )
static
int bgs::protocol::channel::v1::SendMessageRequest::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

427 { return _cached_size_; }
int _cached_size_
Definition: channel_service.pb.h:476
::google::protobuf::Metadata bgs::protocol::channel::v1::SendMessageRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::SendMessageRequest::has_agent_id ( ) const
inline
2232  {
2233  return (_has_bits_[0] & 0x00000001u) != 0;
2234 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475
bool bgs::protocol::channel::v1::SendMessageRequest::has_message ( ) const
inline
2273  {
2274  return (_has_bits_[0] & 0x00000002u) != 0;
2275 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475
bool bgs::protocol::channel::v1::SendMessageRequest::has_required_privileges ( ) const
inline
2314  {
2315  return (_has_bits_[0] & 0x00000004u) != 0;
2316 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475
void bgs::protocol::channel::v1::SendMessageRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::SendMessageRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::SendMessageRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::SendMessageRequest::MergeFrom ( const SendMessageRequest from)
bool bgs::protocol::channel::v1::SendMessageRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
const ::bgs::protocol::channel::v1::Message & bgs::protocol::channel::v1::SendMessageRequest::message ( ) const
inline
2286  {
2287  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SendMessageRequest.message)
2288  return message_ != NULL ? *message_ : *default_instance_->message_;
2289 }
arena_t NULL
Definition: jemalloc_internal.h:624
static SendMessageRequest * default_instance_
Definition: channel_service.pb.h:485
::bgs::protocol::channel::v1::Message * message_
Definition: channel_service.pb.h:478

+ Here is the caller graph for this function:

bgs::protocol::EntityId * bgs::protocol::channel::v1::SendMessageRequest::mutable_agent_id ( )
inline
2249  {
2250  set_has_agent_id();
2251  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
2252  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SendMessageRequest.agent_id)
2253  return agent_id_;
2254 }
void set_has_agent_id()
Definition: channel_service.pb.h:2235
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:477

+ Here is the call graph for this function:

bgs::protocol::channel::v1::Message * bgs::protocol::channel::v1::SendMessageRequest::mutable_message ( )
inline
2290  {
2291  set_has_message();
2292  if (message_ == NULL) message_ = new ::bgs::protocol::channel::v1::Message;
2293  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SendMessageRequest.message)
2294  return message_;
2295 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_message()
Definition: channel_service.pb.h:2276
::bgs::protocol::channel::v1::Message * message_
Definition: channel_service.pb.h:478

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::SendMessageRequest::mutable_unknown_fields ( )
inline
402  {
403  return &_unknown_fields_;
404  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_service.pb.h:473
SendMessageRequest* bgs::protocol::channel::v1::SendMessageRequest::New ( ) const
virtual
SendMessageRequest& bgs::protocol::channel::v1::SendMessageRequest::operator= ( const SendMessageRequest from)
inline
393  {
394  CopyFrom(from);
395  return *this;
396  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::channel::v1::SendMessageRequest::release_agent_id ( )
inline
2255  {
2258  agent_id_ = NULL;
2259  return temp;
2260 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:477
void clear_has_agent_id()
Definition: channel_service.pb.h:2238

+ Here is the call graph for this function:

bgs::protocol::channel::v1::Message * bgs::protocol::channel::v1::SendMessageRequest::release_message ( )
inline
2296  {
2299  message_ = NULL;
2300  return temp;
2301 }
void clear_has_message()
Definition: channel_service.pb.h:2279
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: channel_types.pb.h:178
::bgs::protocol::channel::v1::Message * message_
Definition: channel_service.pb.h:478

+ Here is the call graph for this function:

google::protobuf::uint64 bgs::protocol::channel::v1::SendMessageRequest::required_privileges ( ) const
inline
2327  {
2328  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SendMessageRequest.required_privileges)
2329  return required_privileges_;
2330 }
::google::protobuf::uint64 required_privileges_
Definition: channel_service.pb.h:479
void bgs::protocol::channel::v1::SendMessageRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::SendMessageRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::SendMessageRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
2261  {
2262  delete agent_id_;
2263  agent_id_ = agent_id;
2264  if (agent_id) {
2265  set_has_agent_id();
2266  } else {
2268  }
2269  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SendMessageRequest.agent_id)
2270 }
void set_has_agent_id()
Definition: channel_service.pb.h:2235
const ::bgs::protocol::EntityId & agent_id() const
Definition: channel_service.pb.h:2245
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:477
void clear_has_agent_id()
Definition: channel_service.pb.h:2238

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::set_allocated_message ( ::bgs::protocol::channel::v1::Message message)
inline
2302  {
2303  delete message_;
2304  message_ = message;
2305  if (message) {
2306  set_has_message();
2307  } else {
2309  }
2310  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SendMessageRequest.message)
2311 }
void clear_has_message()
Definition: channel_service.pb.h:2279
void set_has_message()
Definition: channel_service.pb.h:2276
const ::bgs::protocol::channel::v1::Message & message() const
Definition: channel_service.pb.h:2286
::bgs::protocol::channel::v1::Message * message_
Definition: channel_service.pb.h:478

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::set_has_agent_id ( )
inlineprivate
2235  {
2236  _has_bits_[0] |= 0x00000001u;
2237 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::set_has_message ( )
inlineprivate
2276  {
2277  _has_bits_[0] |= 0x00000002u;
2278 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::set_has_required_privileges ( )
inlineprivate
2317  {
2318  _has_bits_[0] |= 0x00000004u;
2319 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:475

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::set_required_privileges ( ::google::protobuf::uint64  value)
inline
2331  {
2334  // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.SendMessageRequest.required_privileges)
2335 }
::google::protobuf::uint64 required_privileges_
Definition: channel_service.pb.h:479
void set_has_required_privileges()
Definition: channel_service.pb.h:2317
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SendMessageRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::SendMessageRequest::SharedCtor ( )
private
void bgs::protocol::channel::v1::SendMessageRequest::SharedDtor ( )
private
void bgs::protocol::channel::v1::SendMessageRequest::Swap ( SendMessageRequest other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::SendMessageRequest::unknown_fields ( ) const
inline
398  {
399  return _unknown_fields_;
400  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_service.pb.h:473

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_channel_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_channel_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_channel_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::channel::v1::SendMessageRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::channel::v1::SendMessageRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::SendMessageRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::channel::v1::SendMessageRequest::agent_id_
private
SendMessageRequest* bgs::protocol::channel::v1::SendMessageRequest::default_instance_
staticprivate
const int bgs::protocol::channel::v1::SendMessageRequest::kAgentIdFieldNumber = 1
static
const int bgs::protocol::channel::v1::SendMessageRequest::kMessageFieldNumber = 2
static
const int bgs::protocol::channel::v1::SendMessageRequest::kRequiredPrivilegesFieldNumber = 3
static
::bgs::protocol::channel::v1::Message* bgs::protocol::channel::v1::SendMessageRequest::message_
private
::google::protobuf::uint64 bgs::protocol::channel::v1::SendMessageRequest::required_privileges_
private

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