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

#include <connection_service.pb.h>

Public Member Functions

 DisconnectNotification ()
 
virtual ~DisconnectNotification ()
 
 DisconnectNotification (const DisconnectNotification &from)
 
DisconnectNotificationoperator= (const DisconnectNotification &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (DisconnectNotification *other)
 
DisconnectNotificationNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const DisconnectNotification &from)
 
void MergeFrom (const DisconnectNotification &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_error_code () const
 
void clear_error_code ()
 
inline::google::protobuf::uint32 error_code () const
 
void set_error_code (::google::protobuf::uint32 value)
 
bool has_reason () const
 
void clear_reason ()
 
const ::std::string & reason () const
 
void set_reason (const ::std::string &value)
 
void set_reason (const char *value)
 
void set_reason (const char *value, size_t size)
 
inline::std::string * mutable_reason ()
 
inline::std::string * release_reason ()
 
void set_allocated_reason (::std::string *reason)
 
- 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
DisconnectNotification
default_instance ()
 

Static Public Attributes

static const int kErrorCodeFieldNumber = 1
 
static const int kReasonFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_error_code ()
 
void clear_has_error_code ()
 
void set_has_reason ()
 
void clear_has_reason ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * reason_
 
::google::protobuf::uint32 error_code_
 

Static Private Attributes

static DisconnectNotificationdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto ()
 
void protobuf_AssignDesc_connection_5fservice_2eproto ()
 
void protobuf_ShutdownFile_connection_5fservice_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::connection::v1::DisconnectNotification::DisconnectNotification ( )
virtual bgs::protocol::connection::v1::DisconnectNotification::~DisconnectNotification ( )
virtual
bgs::protocol::connection::v1::DisconnectNotification::DisconnectNotification ( const DisconnectNotification from)

Member Function Documentation

int bgs::protocol::connection::v1::DisconnectNotification::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::DisconnectNotification::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::DisconnectNotification::clear_error_code ( )
inline
2089  {
2090  error_code_ = 0u;
2092 }
void clear_has_error_code()
Definition: connection_service.pb.h:2086
::google::protobuf::uint32 error_code_
Definition: connection_service.pb.h:1058
void bgs::protocol::connection::v1::DisconnectNotification::clear_has_error_code ( )
inlineprivate
2086  {
2087  _has_bits_[0] &= ~0x00000001u;
2088 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:1055
void bgs::protocol::connection::v1::DisconnectNotification::clear_has_reason ( )
inlineprivate
2110  {
2111  _has_bits_[0] &= ~0x00000002u;
2112 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:1055
void bgs::protocol::connection::v1::DisconnectNotification::clear_reason ( )
inline
2113  {
2115  reason_->clear();
2116  }
2117  clear_has_reason();
2118 }
void clear_has_reason()
Definition: connection_service.pb.h:2110
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * reason_
Definition: connection_service.pb.h:1057

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::connection::v1::DisconnectNotification::CopyFrom ( const DisconnectNotification from)
static const DisconnectNotification& bgs::protocol::connection::v1::DisconnectNotification::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::connection::v1::DisconnectNotification::descriptor ( )
static
google::protobuf::uint32 bgs::protocol::connection::v1::DisconnectNotification::error_code ( ) const
inline
2093  {
2094  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.DisconnectNotification.error_code)
2095  return error_code_;
2096 }
::google::protobuf::uint32 error_code_
Definition: connection_service.pb.h:1058
int bgs::protocol::connection::v1::DisconnectNotification::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

1015 { return _cached_size_; }
int _cached_size_
Definition: connection_service.pb.h:1056
::google::protobuf::Metadata bgs::protocol::connection::v1::DisconnectNotification::GetMetadata ( ) const
virtual
bool bgs::protocol::connection::v1::DisconnectNotification::has_error_code ( ) const
inline
2080  {
2081  return (_has_bits_[0] & 0x00000001u) != 0;
2082 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:1055
bool bgs::protocol::connection::v1::DisconnectNotification::has_reason ( ) const
inline
2104  {
2105  return (_has_bits_[0] & 0x00000002u) != 0;
2106 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:1055
void bgs::protocol::connection::v1::DisconnectNotification::InitAsDefaultInstance ( )
private
bool bgs::protocol::connection::v1::DisconnectNotification::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::DisconnectNotification::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::connection::v1::DisconnectNotification::MergeFrom ( const DisconnectNotification from)
bool bgs::protocol::connection::v1::DisconnectNotification::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * bgs::protocol::connection::v1::DisconnectNotification::mutable_reason ( )
inline
2147  {
2148  set_has_reason();
2150  reason_ = new ::std::string;
2151  }
2152  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.DisconnectNotification.reason)
2153  return reason_;
2154 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_reason()
Definition: connection_service.pb.h:2107
::std::string * reason_
Definition: connection_service.pb.h:1057

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::connection::v1::DisconnectNotification::mutable_unknown_fields ( )
inline
990  {
991  return &_unknown_fields_;
992  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:1053
DisconnectNotification* bgs::protocol::connection::v1::DisconnectNotification::New ( ) const
virtual
DisconnectNotification& bgs::protocol::connection::v1::DisconnectNotification::operator= ( const DisconnectNotification from)
inline
981  {
982  CopyFrom(from);
983  return *this;
984  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::std::string & bgs::protocol::connection::v1::DisconnectNotification::reason ( ) const
inline
2119  {
2120  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.DisconnectNotification.reason)
2121  return *reason_;
2122 }
::std::string * reason_
Definition: connection_service.pb.h:1057
std::string * bgs::protocol::connection::v1::DisconnectNotification::release_reason ( )
inline
2155  {
2156  clear_has_reason();
2158  return NULL;
2159  } else {
2160  ::std::string* temp = reason_;
2161  reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2162  return temp;
2163  }
2164 }
void clear_has_reason()
Definition: connection_service.pb.h:2110
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * reason_
Definition: connection_service.pb.h:1057

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::connection::v1::DisconnectNotification::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::connection::v1::DisconnectNotification::set_allocated_reason ( ::std::string *  reason)
inline
2165  {
2167  delete reason_;
2168  }
2169  if (reason) {
2170  set_has_reason();
2171  reason_ = reason;
2172  } else {
2173  clear_has_reason();
2174  reason_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2175  }
2176  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.DisconnectNotification.reason)
2177 }
void clear_has_reason()
Definition: connection_service.pb.h:2110
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_reason()
Definition: connection_service.pb.h:2107
const ::std::string & reason() const
Definition: connection_service.pb.h:2119
::std::string * reason_
Definition: connection_service.pb.h:1057

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::set_error_code ( ::google::protobuf::uint32  value)
inline
2097  {
2099  error_code_ = value;
2100  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.DisconnectNotification.error_code)
2101 }
void set_has_error_code()
Definition: connection_service.pb.h:2083
::google::protobuf::uint32 error_code_
Definition: connection_service.pb.h:1058
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the caller graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::set_has_error_code ( )
inlineprivate
2083  {
2084  _has_bits_[0] |= 0x00000001u;
2085 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:1055
void bgs::protocol::connection::v1::DisconnectNotification::set_has_reason ( )
inlineprivate
2107  {
2108  _has_bits_[0] |= 0x00000002u;
2109 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:1055
void bgs::protocol::connection::v1::DisconnectNotification::set_reason ( const ::std::string &  value)
inline
2123  {
2124  set_has_reason();
2126  reason_ = new ::std::string;
2127  }
2128  reason_->assign(value);
2129  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.DisconnectNotification.reason)
2130 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_reason()
Definition: connection_service.pb.h:2107
::std::string * reason_
Definition: connection_service.pb.h:1057
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::set_reason ( const char *  value)
inline
2131  {
2132  set_has_reason();
2134  reason_ = new ::std::string;
2135  }
2136  reason_->assign(value);
2137  // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.DisconnectNotification.reason)
2138 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_reason()
Definition: connection_service.pb.h:2107
::std::string * reason_
Definition: connection_service.pb.h:1057
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::set_reason ( const char *  value,
size_t  size 
)
inline
2139  {
2140  set_has_reason();
2142  reason_ = new ::std::string;
2143  }
2144  reason_->assign(reinterpret_cast<const char*>(value), size);
2145  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.DisconnectNotification.reason)
2146 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_reason()
Definition: connection_service.pb.h:2107
::std::string * reason_
Definition: connection_service.pb.h:1057
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::DisconnectNotification::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::DisconnectNotification::SharedCtor ( )
private
void bgs::protocol::connection::v1::DisconnectNotification::SharedDtor ( )
private
void bgs::protocol::connection::v1::DisconnectNotification::Swap ( DisconnectNotification other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::connection::v1::DisconnectNotification::unknown_fields ( ) const
inline
986  {
987  return _unknown_fields_;
988  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:1053

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_connection_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_connection_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::connection::v1::DisconnectNotification::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::connection::v1::DisconnectNotification::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::connection::v1::DisconnectNotification::_unknown_fields_
private
DisconnectNotification* bgs::protocol::connection::v1::DisconnectNotification::default_instance_
staticprivate
::google::protobuf::uint32 bgs::protocol::connection::v1::DisconnectNotification::error_code_
private
const int bgs::protocol::connection::v1::DisconnectNotification::kErrorCodeFieldNumber = 1
static
const int bgs::protocol::connection::v1::DisconnectNotification::kReasonFieldNumber = 2
static
::std::string* bgs::protocol::connection::v1::DisconnectNotification::reason_
private

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