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

#include <channel_types.pb.h>

Public Member Functions

 ChannelId ()
 
virtual ~ChannelId ()
 
 ChannelId (const ChannelId &from)
 
ChannelIdoperator= (const ChannelId &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ChannelId *other)
 
ChannelIdNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ChannelId &from)
 
void MergeFrom (const ChannelId &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_type () const
 
void clear_type ()
 
inline::google::protobuf::uint32 type () const
 
void set_type (::google::protobuf::uint32 value)
 
bool has_host () const
 
void clear_host ()
 
const ::bgs::protocol::ProcessIdhost () const
 
inline::bgs::protocol::ProcessId * mutable_host ()
 
inline::bgs::protocol::ProcessId * release_host ()
 
void set_allocated_host (::bgs::protocol::ProcessId *host)
 
bool has_id () const
 
void clear_id ()
 
inline::google::protobuf::uint32 id () const
 
void set_id (::google::protobuf::uint32 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 ChannelIddefault_instance ()
 

Static Public Attributes

static const int kTypeFieldNumber = 1
 
static const int kHostFieldNumber = 2
 
static const int kIdFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_type ()
 
void clear_has_type ()
 
void set_has_host ()
 
void clear_has_host ()
 
void set_has_id ()
 
void clear_has_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::ProcessIdhost_
 
::google::protobuf::uint32 type_
 
::google::protobuf::uint32 id_
 

Static Private Attributes

static ChannelIddefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_channel_5ftypes_2eproto ()
 
void protobuf_AssignDesc_channel_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_channel_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::ChannelId::clear_has_host ( )
inlineprivate
1160  {
1161  _has_bits_[0] &= ~0x00000002u;
1162 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
void bgs::protocol::channel::v1::ChannelId::clear_has_id ( )
inlineprivate
1201  {
1202  _has_bits_[0] &= ~0x00000004u;
1203 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
void bgs::protocol::channel::v1::ChannelId::clear_has_type ( )
inlineprivate
1136  {
1137  _has_bits_[0] &= ~0x00000001u;
1138 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
void bgs::protocol::channel::v1::ChannelId::clear_host ( )
inline
1163  {
1164  if (host_ != NULL) host_->::bgs::protocol::ProcessId::Clear();
1165  clear_has_host();
1166 }
::bgs::protocol::ProcessId * host_
Definition: channel_types.pb.h:166
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_host()
Definition: channel_types.pb.h:1160
void bgs::protocol::channel::v1::ChannelId::clear_id ( )
inline
1204  {
1205  id_ = 0u;
1206  clear_has_id();
1207 }
::google::protobuf::uint32 id_
Definition: channel_types.pb.h:168
void clear_has_id()
Definition: channel_types.pb.h:1201
void bgs::protocol::channel::v1::ChannelId::clear_type ( )
inline
1139  {
1140  type_ = 0u;
1141  clear_has_type();
1142 }
::google::protobuf::uint32 type_
Definition: channel_types.pb.h:167
void clear_has_type()
Definition: channel_types.pb.h:1136
void bgs::protocol::channel::v1::ChannelId::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::ChannelId::CopyFrom ( const ChannelId from)
static const ChannelId& bgs::protocol::channel::v1::ChannelId::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::channel::v1::ChannelId::descriptor ( )
static
int bgs::protocol::channel::v1::ChannelId::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

118 { return _cached_size_; }
int _cached_size_
Definition: channel_types.pb.h:165
::google::protobuf::Metadata bgs::protocol::channel::v1::ChannelId::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::ChannelId::has_host ( ) const
inline
1154  {
1155  return (_has_bits_[0] & 0x00000002u) != 0;
1156 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
bool bgs::protocol::channel::v1::ChannelId::has_id ( ) const
inline
1195  {
1196  return (_has_bits_[0] & 0x00000004u) != 0;
1197 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
bool bgs::protocol::channel::v1::ChannelId::has_type ( ) const
inline
1130  {
1131  return (_has_bits_[0] & 0x00000001u) != 0;
1132 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
const ::bgs::protocol::ProcessId & bgs::protocol::channel::v1::ChannelId::host ( ) const
inline
1167  {
1168  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelId.host)
1169  return host_ != NULL ? *host_ : *default_instance_->host_;
1170 }
::bgs::protocol::ProcessId * host_
Definition: channel_types.pb.h:166
arena_t NULL
Definition: jemalloc_internal.h:624
static ChannelId * default_instance_
Definition: channel_types.pb.h:174
google::protobuf::uint32 bgs::protocol::channel::v1::ChannelId::id ( ) const
inline
1208  {
1209  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelId.id)
1210  return id_;
1211 }
::google::protobuf::uint32 id_
Definition: channel_types.pb.h:168
void bgs::protocol::channel::v1::ChannelId::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::ChannelId::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::ChannelId::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::ChannelId::MergeFrom ( const ChannelId from)
bool bgs::protocol::channel::v1::ChannelId::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::ProcessId * bgs::protocol::channel::v1::ChannelId::mutable_host ( )
inline
1171  {
1172  set_has_host();
1173  if (host_ == NULL) host_ = new ::bgs::protocol::ProcessId;
1174  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelId.host)
1175  return host_;
1176 }
::bgs::protocol::ProcessId * host_
Definition: channel_types.pb.h:166
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_host()
Definition: channel_types.pb.h:1157
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::ChannelId::mutable_unknown_fields ( )
inline
93  {
94  return &_unknown_fields_;
95  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:162
ChannelId* bgs::protocol::channel::v1::ChannelId::New ( ) const
virtual
ChannelId& bgs::protocol::channel::v1::ChannelId::operator= ( const ChannelId from)
inline
84  {
85  CopyFrom(from);
86  return *this;
87  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::ProcessId * bgs::protocol::channel::v1::ChannelId::release_host ( )
inline
1177  {
1178  clear_has_host();
1180  host_ = NULL;
1181  return temp;
1182 }
::bgs::protocol::ProcessId * host_
Definition: channel_types.pb.h:166
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_host()
Definition: channel_types.pb.h:1160
Definition: rpc_types.pb.h:214
void bgs::protocol::channel::v1::ChannelId::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::ChannelId::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::ChannelId::set_allocated_host ( ::bgs::protocol::ProcessId host)
inline
1183  {
1184  delete host_;
1185  host_ = host;
1186  if (host) {
1187  set_has_host();
1188  } else {
1189  clear_has_host();
1190  }
1191  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelId.host)
1192 }
::bgs::protocol::ProcessId * host_
Definition: channel_types.pb.h:166
const ::bgs::protocol::ProcessId & host() const
Definition: channel_types.pb.h:1167
void set_has_host()
Definition: channel_types.pb.h:1157
void clear_has_host()
Definition: channel_types.pb.h:1160
void bgs::protocol::channel::v1::ChannelId::set_has_host ( )
inlineprivate
1157  {
1158  _has_bits_[0] |= 0x00000002u;
1159 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
void bgs::protocol::channel::v1::ChannelId::set_has_id ( )
inlineprivate
1198  {
1199  _has_bits_[0] |= 0x00000004u;
1200 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
void bgs::protocol::channel::v1::ChannelId::set_has_type ( )
inlineprivate
1133  {
1134  _has_bits_[0] |= 0x00000001u;
1135 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:164
void bgs::protocol::channel::v1::ChannelId::set_id ( ::google::protobuf::uint32  value)
inline
1212  {
1213  set_has_id();
1214  id_ = value;
1215  // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelId.id)
1216 }
::google::protobuf::uint32 id_
Definition: channel_types.pb.h:168
void set_has_id()
Definition: channel_types.pb.h:1198
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::channel::v1::ChannelId::set_type ( ::google::protobuf::uint32  value)
inline
1147  {
1148  set_has_type();
1149  type_ = value;
1150  // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelId.type)
1151 }
void set_has_type()
Definition: channel_types.pb.h:1133
::google::protobuf::uint32 type_
Definition: channel_types.pb.h:167
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::channel::v1::ChannelId::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::ChannelId::SharedCtor ( )
private
void bgs::protocol::channel::v1::ChannelId::SharedDtor ( )
private
void bgs::protocol::channel::v1::ChannelId::Swap ( ChannelId other)
google::protobuf::uint32 bgs::protocol::channel::v1::ChannelId::type ( ) const
inline
1143  {
1144  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelId.type)
1145  return type_;
1146 }
::google::protobuf::uint32 type_
Definition: channel_types.pb.h:167
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::ChannelId::unknown_fields ( ) const
inline
89  {
90  return _unknown_fields_;
91  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:162

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_channel_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_channel_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_channel_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::channel::v1::ChannelId::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::channel::v1::ChannelId::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::ChannelId::_unknown_fields_
private
ChannelId* bgs::protocol::channel::v1::ChannelId::default_instance_
staticprivate
::bgs::protocol::ProcessId* bgs::protocol::channel::v1::ChannelId::host_
private
::google::protobuf::uint32 bgs::protocol::channel::v1::ChannelId::id_
private
const int bgs::protocol::channel::v1::ChannelId::kHostFieldNumber = 2
static
const int bgs::protocol::channel::v1::ChannelId::kIdFieldNumber = 3
static
const int bgs::protocol::channel::v1::ChannelId::kTypeFieldNumber = 1
static
::google::protobuf::uint32 bgs::protocol::channel::v1::ChannelId::type_
private

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