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

#include <channel_types.pb.h>

Public Member Functions

 ChannelDescription ()
 
virtual ~ChannelDescription ()
 
 ChannelDescription (const ChannelDescription &from)
 
ChannelDescriptionoperator= (const ChannelDescription &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ChannelDescription *other)
 
ChannelDescriptionNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ChannelDescription &from)
 
void MergeFrom (const ChannelDescription &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_channel_id () const
 
void clear_channel_id ()
 
const ::bgs::protocol::EntityIdchannel_id () const
 
inline::bgs::protocol::EntityId * mutable_channel_id ()
 
inline::bgs::protocol::EntityId * release_channel_id ()
 
void set_allocated_channel_id (::bgs::protocol::EntityId *channel_id)
 
bool has_current_members () const
 
void clear_current_members ()
 
inline::google::protobuf::uint32 current_members () const
 
void set_current_members (::google::protobuf::uint32 value)
 
bool has_state () const
 
void clear_state ()
 
const
::bgs::protocol::channel::v1::ChannelState
state () const
 
inline::bgs::protocol::channel::v1::ChannelState * mutable_state ()
 
inline::bgs::protocol::channel::v1::ChannelState * release_state ()
 
void set_allocated_state (::bgs::protocol::channel::v1::ChannelState *state)
 
- 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 ChannelDescriptiondefault_instance ()
 

Static Public Attributes

static const int kChannelIdFieldNumber = 1
 
static const int kCurrentMembersFieldNumber = 2
 
static const int kStateFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_channel_id ()
 
void clear_has_channel_id ()
 
void set_has_current_members ()
 
void clear_has_current_members ()
 
void set_has_state ()
 
void clear_has_state ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdchannel_id_
 
::bgs::protocol::channel::v1::ChannelStatestate_
 
::google::protobuf::uint32 current_members_
 

Static Private Attributes

static ChannelDescriptiondefault_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::ChannelDescription::ChannelDescription ( )
virtual bgs::protocol::channel::v1::ChannelDescription::~ChannelDescription ( )
virtual
bgs::protocol::channel::v1::ChannelDescription::ChannelDescription ( const ChannelDescription from)

Member Function Documentation

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

Reimplemented from google::protobuf::Message.

const ::bgs::protocol::EntityId & bgs::protocol::channel::v1::ChannelDescription::channel_id ( ) const
inline
1611  {
1612  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.channel_id)
1614 }
::bgs::protocol::EntityId * channel_id_
Definition: channel_types.pb.h:528
arena_t NULL
Definition: jemalloc_internal.h:624
static ChannelDescription * default_instance_
Definition: channel_types.pb.h:536
void bgs::protocol::channel::v1::ChannelDescription::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::ChannelDescription::clear_channel_id ( )
inline
1607  {
1608  if (channel_id_ != NULL) channel_id_->::bgs::protocol::EntityId::Clear();
1610 }
::bgs::protocol::EntityId * channel_id_
Definition: channel_types.pb.h:528
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_channel_id()
Definition: channel_types.pb.h:1604
void bgs::protocol::channel::v1::ChannelDescription::clear_current_members ( )
inline
1648  {
1649  current_members_ = 0u;
1651 }
void clear_has_current_members()
Definition: channel_types.pb.h:1645
::google::protobuf::uint32 current_members_
Definition: channel_types.pb.h:530
void bgs::protocol::channel::v1::ChannelDescription::clear_has_channel_id ( )
inlineprivate
1604  {
1605  _has_bits_[0] &= ~0x00000001u;
1606 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::clear_has_current_members ( )
inlineprivate
1645  {
1646  _has_bits_[0] &= ~0x00000002u;
1647 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::clear_has_state ( )
inlineprivate
1669  {
1670  _has_bits_[0] &= ~0x00000004u;
1671 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::clear_state ( )
inline
1672  {
1673  if (state_ != NULL) state_->::bgs::protocol::channel::v1::ChannelState::Clear();
1674  clear_has_state();
1675 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_state()
Definition: channel_types.pb.h:1669
::bgs::protocol::channel::v1::ChannelState * state_
Definition: channel_types.pb.h:529
void bgs::protocol::channel::v1::ChannelDescription::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::ChannelDescription::CopyFrom ( const ChannelDescription from)
google::protobuf::uint32 bgs::protocol::channel::v1::ChannelDescription::current_members ( ) const
inline
1652  {
1653  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.current_members)
1654  return current_members_;
1655 }
::google::protobuf::uint32 current_members_
Definition: channel_types.pb.h:530
static const ChannelDescription& bgs::protocol::channel::v1::ChannelDescription::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::channel::v1::ChannelDescription::descriptor ( )
static
int bgs::protocol::channel::v1::ChannelDescription::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

478 { return _cached_size_; }
int _cached_size_
Definition: channel_types.pb.h:527
::google::protobuf::Metadata bgs::protocol::channel::v1::ChannelDescription::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::ChannelDescription::has_channel_id ( ) const
inline
1598  {
1599  return (_has_bits_[0] & 0x00000001u) != 0;
1600 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
bool bgs::protocol::channel::v1::ChannelDescription::has_current_members ( ) const
inline
1639  {
1640  return (_has_bits_[0] & 0x00000002u) != 0;
1641 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
bool bgs::protocol::channel::v1::ChannelDescription::has_state ( ) const
inline
1663  {
1664  return (_has_bits_[0] & 0x00000004u) != 0;
1665 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::ChannelDescription::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::ChannelDescription::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::ChannelDescription::MergeFrom ( const ChannelDescription from)
bool bgs::protocol::channel::v1::ChannelDescription::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::channel::v1::ChannelDescription::mutable_channel_id ( )
inline
1615  {
1617  if (channel_id_ == NULL) channel_id_ = new ::bgs::protocol::EntityId;
1618  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.channel_id)
1619  return channel_id_;
1620 }
::bgs::protocol::EntityId * channel_id_
Definition: channel_types.pb.h:528
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_channel_id()
Definition: channel_types.pb.h:1601
bgs::protocol::channel::v1::ChannelState * bgs::protocol::channel::v1::ChannelDescription::mutable_state ( )
inline
1680  {
1681  set_has_state();
1682  if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::ChannelState;
1683  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.ChannelDescription.state)
1684  return state_;
1685 }
void set_has_state()
Definition: channel_types.pb.h:1666
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::channel::v1::ChannelState * state_
Definition: channel_types.pb.h:529
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::ChannelDescription::mutable_unknown_fields ( )
inline
453  {
454  return &_unknown_fields_;
455  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:524
ChannelDescription* bgs::protocol::channel::v1::ChannelDescription::New ( ) const
virtual
ChannelDescription& bgs::protocol::channel::v1::ChannelDescription::operator= ( const ChannelDescription from)
inline
444  {
445  CopyFrom(from);
446  return *this;
447  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::channel::v1::ChannelDescription::release_channel_id ( )
inline
1621  {
1624  channel_id_ = NULL;
1625  return temp;
1626 }
::bgs::protocol::EntityId * channel_id_
Definition: channel_types.pb.h:528
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_channel_id()
Definition: channel_types.pb.h:1604
bgs::protocol::channel::v1::ChannelState * bgs::protocol::channel::v1::ChannelDescription::release_state ( )
inline
1686  {
1687  clear_has_state();
1689  state_ = NULL;
1690  return temp;
1691 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_state()
Definition: channel_types.pb.h:1669
Definition: channel_types.pb.h:637
::bgs::protocol::channel::v1::ChannelState * state_
Definition: channel_types.pb.h:529
void bgs::protocol::channel::v1::ChannelDescription::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::ChannelDescription::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::ChannelDescription::set_allocated_channel_id ( ::bgs::protocol::EntityId channel_id)
inline
1627  {
1628  delete channel_id_;
1630  if (channel_id) {
1632  } else {
1634  }
1635  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.channel_id)
1636 }
::bgs::protocol::EntityId * channel_id_
Definition: channel_types.pb.h:528
const ::bgs::protocol::EntityId & channel_id() const
Definition: channel_types.pb.h:1611
void set_has_channel_id()
Definition: channel_types.pb.h:1601
void clear_has_channel_id()
Definition: channel_types.pb.h:1604
void bgs::protocol::channel::v1::ChannelDescription::set_allocated_state ( ::bgs::protocol::channel::v1::ChannelState state)
inline
1692  {
1693  delete state_;
1694  state_ = state;
1695  if (state) {
1696  set_has_state();
1697  } else {
1698  clear_has_state();
1699  }
1700  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.ChannelDescription.state)
1701 }
void set_has_state()
Definition: channel_types.pb.h:1666
const ::bgs::protocol::channel::v1::ChannelState & state() const
Definition: channel_types.pb.h:1676
void clear_has_state()
Definition: channel_types.pb.h:1669
::bgs::protocol::channel::v1::ChannelState * state_
Definition: channel_types.pb.h:529
void bgs::protocol::channel::v1::ChannelDescription::set_current_members ( ::google::protobuf::uint32  value)
inline
1656  {
1659  // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.ChannelDescription.current_members)
1660 }
void set_has_current_members()
Definition: channel_types.pb.h:1642
::google::protobuf::uint32 current_members_
Definition: channel_types.pb.h:530
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::channel::v1::ChannelDescription::set_has_channel_id ( )
inlineprivate
1601  {
1602  _has_bits_[0] |= 0x00000001u;
1603 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::set_has_current_members ( )
inlineprivate
1642  {
1643  _has_bits_[0] |= 0x00000002u;
1644 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::set_has_state ( )
inlineprivate
1666  {
1667  _has_bits_[0] |= 0x00000004u;
1668 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:526
void bgs::protocol::channel::v1::ChannelDescription::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::ChannelDescription::SharedCtor ( )
private
void bgs::protocol::channel::v1::ChannelDescription::SharedDtor ( )
private
const ::bgs::protocol::channel::v1::ChannelState & bgs::protocol::channel::v1::ChannelDescription::state ( ) const
inline
1676  {
1677  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.ChannelDescription.state)
1678  return state_ != NULL ? *state_ : *default_instance_->state_;
1679 }
arena_t NULL
Definition: jemalloc_internal.h:624
static ChannelDescription * default_instance_
Definition: channel_types.pb.h:536
::bgs::protocol::channel::v1::ChannelState * state_
Definition: channel_types.pb.h:529
void bgs::protocol::channel::v1::ChannelDescription::Swap ( ChannelDescription other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::ChannelDescription::unknown_fields ( ) const
inline
449  {
450  return _unknown_fields_;
451  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:524

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::ChannelDescription::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::channel::v1::ChannelDescription::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::ChannelDescription::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::channel::v1::ChannelDescription::channel_id_
private
::google::protobuf::uint32 bgs::protocol::channel::v1::ChannelDescription::current_members_
private
ChannelDescription* bgs::protocol::channel::v1::ChannelDescription::default_instance_
staticprivate
const int bgs::protocol::channel::v1::ChannelDescription::kChannelIdFieldNumber = 1
static
const int bgs::protocol::channel::v1::ChannelDescription::kCurrentMembersFieldNumber = 2
static
const int bgs::protocol::channel::v1::ChannelDescription::kStateFieldNumber = 3
static
::bgs::protocol::channel::v1::ChannelState* bgs::protocol::channel::v1::ChannelDescription::state_
private

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