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

#include <channel_service.pb.h>

Public Member Functions

 MemberAddedNotification ()
 
virtual ~MemberAddedNotification ()
 
 MemberAddedNotification (const MemberAddedNotification &from)
 
MemberAddedNotificationoperator= (const MemberAddedNotification &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MemberAddedNotification *other)
 
MemberAddedNotificationNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const MemberAddedNotification &from)
 
void MergeFrom (const MemberAddedNotification &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_member () const
 
void clear_member ()
 
const
::bgs::protocol::channel::v1::Member
member () const
 
inline::bgs::protocol::channel::v1::Member * mutable_member ()
 
inline::bgs::protocol::channel::v1::Member * release_member ()
 
void set_allocated_member (::bgs::protocol::channel::v1::Member *member)
 
bool has_channel_id () const
 
void clear_channel_id ()
 
const
::bgs::protocol::channel::v1::ChannelId
channel_id () const
 
inline::bgs::protocol::channel::v1::ChannelId * mutable_channel_id ()
 
inline::bgs::protocol::channel::v1::ChannelId * release_channel_id ()
 
void set_allocated_channel_id (::bgs::protocol::channel::v1::ChannelId *channel_id)
 
bool has_subscriber () const
 
void clear_subscriber ()
 
const
::bgs::protocol::account::v1::Identity
subscriber () const
 
inline::bgs::protocol::account::v1::Identity * mutable_subscriber ()
 
inline::bgs::protocol::account::v1::Identity * release_subscriber ()
 
void set_allocated_subscriber (::bgs::protocol::account::v1::Identity *subscriber)
 
- 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
MemberAddedNotification
default_instance ()
 

Static Public Attributes

static const int kMemberFieldNumber = 1
 
static const int kChannelIdFieldNumber = 2
 
static const int kSubscriberFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_member ()
 
void clear_has_member ()
 
void set_has_channel_id ()
 
void clear_has_channel_id ()
 
void set_has_subscriber ()
 
void clear_has_subscriber ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::channel::v1::Membermember_
 
::bgs::protocol::channel::v1::ChannelIdchannel_id_
 
::bgs::protocol::account::v1::Identitysubscriber_
 

Static Private Attributes

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

Member Function Documentation

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

Reimplemented from google::protobuf::Message.

const ::bgs::protocol::channel::v1::ChannelId & bgs::protocol::channel::v1::MemberAddedNotification::channel_id ( ) const
inline
2959  {
2960  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberAddedNotification.channel_id)
2962 }
arena_t NULL
Definition: jemalloc_internal.h:624
static MemberAddedNotification * default_instance_
Definition: channel_service.pb.h:1120
::bgs::protocol::channel::v1::ChannelId * channel_id_
Definition: channel_service.pb.h:1113

+ Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::MemberAddedNotification::clear_channel_id ( )
inline
2955  {
2956  if (channel_id_ != NULL) channel_id_->::bgs::protocol::channel::v1::ChannelId::Clear();
2958 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_channel_id()
Definition: channel_service.pb.h:2952
::bgs::protocol::channel::v1::ChannelId * channel_id_
Definition: channel_service.pb.h:1113

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::clear_has_channel_id ( )
inlineprivate
2952  {
2953  _has_bits_[0] &= ~0x00000002u;
2954 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::clear_has_member ( )
inlineprivate
2911  {
2912  _has_bits_[0] &= ~0x00000001u;
2913 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::clear_has_subscriber ( )
inlineprivate
2993  {
2994  _has_bits_[0] &= ~0x00000004u;
2995 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::clear_member ( )
inline
2914  {
2915  if (member_ != NULL) member_->::bgs::protocol::channel::v1::Member::Clear();
2916  clear_has_member();
2917 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::channel::v1::Member * member_
Definition: channel_service.pb.h:1112
void clear_has_member()
Definition: channel_service.pb.h:2911

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::clear_subscriber ( )
inline
2996  {
2997  if (subscriber_ != NULL) subscriber_->::bgs::protocol::account::v1::Identity::Clear();
2999 }
void clear_has_subscriber()
Definition: channel_service.pb.h:2993
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::Identity * subscriber_
Definition: channel_service.pb.h:1114

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

1060 { return _cached_size_; }
int _cached_size_
Definition: channel_service.pb.h:1111
::google::protobuf::Metadata bgs::protocol::channel::v1::MemberAddedNotification::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::MemberAddedNotification::has_channel_id ( ) const
inline
2946  {
2947  return (_has_bits_[0] & 0x00000002u) != 0;
2948 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110
bool bgs::protocol::channel::v1::MemberAddedNotification::has_member ( ) const
inline
2905  {
2906  return (_has_bits_[0] & 0x00000001u) != 0;
2907 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110
bool bgs::protocol::channel::v1::MemberAddedNotification::has_subscriber ( ) const
inline
2987  {
2988  return (_has_bits_[0] & 0x00000004u) != 0;
2989 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110
void bgs::protocol::channel::v1::MemberAddedNotification::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::MemberAddedNotification::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

const ::bgs::protocol::channel::v1::Member & bgs::protocol::channel::v1::MemberAddedNotification::member ( ) const
inline
2918  {
2919  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberAddedNotification.member)
2920  return member_ != NULL ? *member_ : *default_instance_->member_;
2921 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::channel::v1::Member * member_
Definition: channel_service.pb.h:1112
static MemberAddedNotification * default_instance_
Definition: channel_service.pb.h:1120

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::MemberAddedNotification::MergeFrom ( const MemberAddedNotification from)
bool bgs::protocol::channel::v1::MemberAddedNotification::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::channel::v1::ChannelId * bgs::protocol::channel::v1::MemberAddedNotification::mutable_channel_id ( )
inline
2963  {
2965  if (channel_id_ == NULL) channel_id_ = new ::bgs::protocol::channel::v1::ChannelId;
2966  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberAddedNotification.channel_id)
2967  return channel_id_;
2968 }
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_channel_id()
Definition: channel_service.pb.h:2949
::bgs::protocol::channel::v1::ChannelId * channel_id_
Definition: channel_service.pb.h:1113

+ Here is the call graph for this function:

bgs::protocol::channel::v1::Member * bgs::protocol::channel::v1::MemberAddedNotification::mutable_member ( )
inline
2922  {
2923  set_has_member();
2924  if (member_ == NULL) member_ = new ::bgs::protocol::channel::v1::Member;
2925  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberAddedNotification.member)
2926  return member_;
2927 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::channel::v1::Member * member_
Definition: channel_service.pb.h:1112
void set_has_member()
Definition: channel_service.pb.h:2908

+ Here is the call graph for this function:

bgs::protocol::account::v1::Identity * bgs::protocol::channel::v1::MemberAddedNotification::mutable_subscriber ( )
inline
3004  {
3006  if (subscriber_ == NULL) subscriber_ = new ::bgs::protocol::account::v1::Identity;
3007  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.MemberAddedNotification.subscriber)
3008  return subscriber_;
3009 }
void set_has_subscriber()
Definition: channel_service.pb.h:2990
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::Identity * subscriber_
Definition: channel_service.pb.h:1114

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::MemberAddedNotification::mutable_unknown_fields ( )
inline
1035  {
1036  return &_unknown_fields_;
1037  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_service.pb.h:1108
MemberAddedNotification* bgs::protocol::channel::v1::MemberAddedNotification::New ( ) const
virtual
MemberAddedNotification& bgs::protocol::channel::v1::MemberAddedNotification::operator= ( const MemberAddedNotification from)
inline
1026  {
1027  CopyFrom(from);
1028  return *this;
1029  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::channel::v1::ChannelId * bgs::protocol::channel::v1::MemberAddedNotification::release_channel_id ( )
inline
2969  {
2972  channel_id_ = NULL;
2973  return temp;
2974 }
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_channel_id()
Definition: channel_service.pb.h:2952
::bgs::protocol::channel::v1::ChannelId * channel_id_
Definition: channel_service.pb.h:1113
Definition: channel_types.pb.h:77

+ Here is the call graph for this function:

bgs::protocol::channel::v1::Member * bgs::protocol::channel::v1::MemberAddedNotification::release_member ( )
inline
2928  {
2929  clear_has_member();
2931  member_ = NULL;
2932  return temp;
2933 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::channel::v1::Member * member_
Definition: channel_service.pb.h:1112
void clear_has_member()
Definition: channel_service.pb.h:2911
Definition: channel_types.pb.h:1028

+ Here is the call graph for this function:

bgs::protocol::account::v1::Identity * bgs::protocol::channel::v1::MemberAddedNotification::release_subscriber ( )
inline
3010  {
3013  subscriber_ = NULL;
3014  return temp;
3015 }
void clear_has_subscriber()
Definition: channel_service.pb.h:2993
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::Identity * subscriber_
Definition: channel_service.pb.h:1114
Definition: account_types.pb.h:1423

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::MemberAddedNotification::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::MemberAddedNotification::set_allocated_channel_id ( ::bgs::protocol::channel::v1::ChannelId channel_id)
inline
2975  {
2976  delete channel_id_;
2978  if (channel_id) {
2980  } else {
2982  }
2983  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberAddedNotification.channel_id)
2984 }
void clear_has_channel_id()
Definition: channel_service.pb.h:2952
void set_has_channel_id()
Definition: channel_service.pb.h:2949
const ::bgs::protocol::channel::v1::ChannelId & channel_id() const
Definition: channel_service.pb.h:2959
::bgs::protocol::channel::v1::ChannelId * channel_id_
Definition: channel_service.pb.h:1113

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::set_allocated_member ( ::bgs::protocol::channel::v1::Member member)
inline
2934  {
2935  delete member_;
2936  member_ = member;
2937  if (member) {
2938  set_has_member();
2939  } else {
2940  clear_has_member();
2941  }
2942  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberAddedNotification.member)
2943 }
const ::bgs::protocol::channel::v1::Member & member() const
Definition: channel_service.pb.h:2918
::bgs::protocol::channel::v1::Member * member_
Definition: channel_service.pb.h:1112
void set_has_member()
Definition: channel_service.pb.h:2908
void clear_has_member()
Definition: channel_service.pb.h:2911

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::set_allocated_subscriber ( ::bgs::protocol::account::v1::Identity subscriber)
inline
3016  {
3017  delete subscriber_;
3019  if (subscriber) {
3021  } else {
3023  }
3024  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.MemberAddedNotification.subscriber)
3025 }
void set_has_subscriber()
Definition: channel_service.pb.h:2990
void clear_has_subscriber()
Definition: channel_service.pb.h:2993
::bgs::protocol::account::v1::Identity * subscriber_
Definition: channel_service.pb.h:1114
const ::bgs::protocol::account::v1::Identity & subscriber() const
Definition: channel_service.pb.h:3000

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::set_has_channel_id ( )
inlineprivate
2949  {
2950  _has_bits_[0] |= 0x00000002u;
2951 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::set_has_member ( )
inlineprivate
2908  {
2909  _has_bits_[0] |= 0x00000001u;
2910 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::set_has_subscriber ( )
inlineprivate
2990  {
2991  _has_bits_[0] |= 0x00000004u;
2992 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:1110

+ Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::MemberAddedNotification::SharedCtor ( )
private
void bgs::protocol::channel::v1::MemberAddedNotification::SharedDtor ( )
private
const ::bgs::protocol::account::v1::Identity & bgs::protocol::channel::v1::MemberAddedNotification::subscriber ( ) const
inline
3000  {
3001  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.MemberAddedNotification.subscriber)
3003 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::account::v1::Identity * subscriber_
Definition: channel_service.pb.h:1114
static MemberAddedNotification * default_instance_
Definition: channel_service.pb.h:1120

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::MemberAddedNotification::Swap ( MemberAddedNotification other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::MemberAddedNotification::unknown_fields ( ) const
inline
1031  {
1032  return _unknown_fields_;
1033  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_service.pb.h:1108

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::MemberAddedNotification::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::channel::v1::MemberAddedNotification::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::MemberAddedNotification::_unknown_fields_
private
::bgs::protocol::channel::v1::ChannelId* bgs::protocol::channel::v1::MemberAddedNotification::channel_id_
private
MemberAddedNotification* bgs::protocol::channel::v1::MemberAddedNotification::default_instance_
staticprivate
const int bgs::protocol::channel::v1::MemberAddedNotification::kChannelIdFieldNumber = 2
static
const int bgs::protocol::channel::v1::MemberAddedNotification::kMemberFieldNumber = 1
static
const int bgs::protocol::channel::v1::MemberAddedNotification::kSubscriberFieldNumber = 3
static
::bgs::protocol::channel::v1::Member* bgs::protocol::channel::v1::MemberAddedNotification::member_
private
::bgs::protocol::account::v1::Identity* bgs::protocol::channel::v1::MemberAddedNotification::subscriber_
private

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