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

#include <channel_types.pb.h>

Public Member Functions

 Member ()
 
virtual ~Member ()
 
 Member (const Member &from)
 
Memberoperator= (const Member &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Member *other)
 
MemberNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Member &from)
 
void MergeFrom (const Member &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_identity () const
 
void clear_identity ()
 
const ::bgs::protocol::Identityidentity () const
 
inline::bgs::protocol::Identity * mutable_identity ()
 
inline::bgs::protocol::Identity * release_identity ()
 
void set_allocated_identity (::bgs::protocol::Identity *identity)
 
bool has_state () const
 
void clear_state ()
 
const
::bgs::protocol::channel::v1::MemberState
state () const
 
inline::bgs::protocol::channel::v1::MemberState * mutable_state ()
 
inline::bgs::protocol::channel::v1::MemberState * release_state ()
 
void set_allocated_state (::bgs::protocol::channel::v1::MemberState *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 Memberdefault_instance ()
 

Static Public Attributes

static const int kIdentityFieldNumber = 1
 
static const int kStateFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_identity ()
 
void clear_has_identity ()
 
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::Identityidentity_
 
::bgs::protocol::channel::v1::MemberStatestate_
 

Static Private Attributes

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

Member Function Documentation

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::Member::clear_has_identity ( )
inlineprivate
2451  {
2452  _has_bits_[0] &= ~0x00000001u;
2453 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:1108
void bgs::protocol::channel::v1::Member::clear_has_state ( )
inlineprivate
2492  {
2493  _has_bits_[0] &= ~0x00000002u;
2494 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:1108
void bgs::protocol::channel::v1::Member::clear_identity ( )
inline
2454  {
2455  if (identity_ != NULL) identity_->::bgs::protocol::Identity::Clear();
2457 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::Identity * identity_
Definition: channel_types.pb.h:1110
void clear_has_identity()
Definition: channel_types.pb.h:2451
void bgs::protocol::channel::v1::Member::clear_state ( )
inline
2495  {
2496  if (state_ != NULL) state_->::bgs::protocol::channel::v1::MemberState::Clear();
2497  clear_has_state();
2498 }
::bgs::protocol::channel::v1::MemberState * state_
Definition: channel_types.pb.h:1111
void clear_has_state()
Definition: channel_types.pb.h:2492
arena_t NULL
Definition: jemalloc_internal.h:624
void bgs::protocol::channel::v1::Member::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::Member::CopyFrom ( const Member from)
static const Member& bgs::protocol::channel::v1::Member::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::channel::v1::Member::descriptor ( )
static
int bgs::protocol::channel::v1::Member::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

1069 { return _cached_size_; }
int _cached_size_
Definition: channel_types.pb.h:1109
::google::protobuf::Metadata bgs::protocol::channel::v1::Member::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::Member::has_identity ( ) const
inline
2445  {
2446  return (_has_bits_[0] & 0x00000001u) != 0;
2447 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:1108
bool bgs::protocol::channel::v1::Member::has_state ( ) const
inline
2486  {
2487  return (_has_bits_[0] & 0x00000002u) != 0;
2488 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:1108
const ::bgs::protocol::Identity & bgs::protocol::channel::v1::Member::identity ( ) const
inline
2458  {
2459  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.identity)
2461 }
arena_t NULL
Definition: jemalloc_internal.h:624
static Member * default_instance_
Definition: channel_types.pb.h:1117
::bgs::protocol::Identity * identity_
Definition: channel_types.pb.h:1110
void bgs::protocol::channel::v1::Member::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::Member::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::Member::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::Member::MergeFrom ( const Member from)
bool bgs::protocol::channel::v1::Member::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::Identity * bgs::protocol::channel::v1::Member::mutable_identity ( )
inline
2462  {
2463  set_has_identity();
2464  if (identity_ == NULL) identity_ = new ::bgs::protocol::Identity;
2465  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.identity)
2466  return identity_;
2467 }
void set_has_identity()
Definition: channel_types.pb.h:2448
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::Identity * identity_
Definition: channel_types.pb.h:1110
bgs::protocol::channel::v1::MemberState * bgs::protocol::channel::v1::Member::mutable_state ( )
inline
2503  {
2504  set_has_state();
2505  if (state_ == NULL) state_ = new ::bgs::protocol::channel::v1::MemberState;
2506  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Member.state)
2507  return state_;
2508 }
::bgs::protocol::channel::v1::MemberState * state_
Definition: channel_types.pb.h:1111
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_state()
Definition: channel_types.pb.h:2489
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::Member::mutable_unknown_fields ( )
inline
1044  {
1045  return &_unknown_fields_;
1046  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:1106
Member* bgs::protocol::channel::v1::Member::New ( ) const
virtual
Member& bgs::protocol::channel::v1::Member::operator= ( const Member from)
inline
1035  {
1036  CopyFrom(from);
1037  return *this;
1038  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::Identity * bgs::protocol::channel::v1::Member::release_identity ( )
inline
2468  {
2471  identity_ = NULL;
2472  return temp;
2473 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::Identity * identity_
Definition: channel_types.pb.h:1110
Definition: entity_types.pb.h:134
void clear_has_identity()
Definition: channel_types.pb.h:2451
bgs::protocol::channel::v1::MemberState * bgs::protocol::channel::v1::Member::release_state ( )
inline
2509  {
2510  clear_has_state();
2512  state_ = NULL;
2513  return temp;
2514 }
::bgs::protocol::channel::v1::MemberState * state_
Definition: channel_types.pb.h:1111
void clear_has_state()
Definition: channel_types.pb.h:2492
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: channel_types.pb.h:897
void bgs::protocol::channel::v1::Member::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::Member::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::Member::set_allocated_identity ( ::bgs::protocol::Identity identity)
inline
2474  {
2475  delete identity_;
2476  identity_ = identity;
2477  if (identity) {
2478  set_has_identity();
2479  } else {
2481  }
2482  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.identity)
2483 }
void set_has_identity()
Definition: channel_types.pb.h:2448
::bgs::protocol::Identity * identity_
Definition: channel_types.pb.h:1110
void clear_has_identity()
Definition: channel_types.pb.h:2451
const ::bgs::protocol::Identity & identity() const
Definition: channel_types.pb.h:2458
void bgs::protocol::channel::v1::Member::set_allocated_state ( ::bgs::protocol::channel::v1::MemberState state)
inline
2515  {
2516  delete state_;
2517  state_ = state;
2518  if (state) {
2519  set_has_state();
2520  } else {
2521  clear_has_state();
2522  }
2523  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.Member.state)
2524 }
const ::bgs::protocol::channel::v1::MemberState & state() const
Definition: channel_types.pb.h:2499
::bgs::protocol::channel::v1::MemberState * state_
Definition: channel_types.pb.h:1111
void clear_has_state()
Definition: channel_types.pb.h:2492
void set_has_state()
Definition: channel_types.pb.h:2489
void bgs::protocol::channel::v1::Member::set_has_identity ( )
inlineprivate
2448  {
2449  _has_bits_[0] |= 0x00000001u;
2450 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:1108
void bgs::protocol::channel::v1::Member::set_has_state ( )
inlineprivate
2489  {
2490  _has_bits_[0] |= 0x00000002u;
2491 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:1108
void bgs::protocol::channel::v1::Member::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::Member::SharedCtor ( )
private
void bgs::protocol::channel::v1::Member::SharedDtor ( )
private
const ::bgs::protocol::channel::v1::MemberState & bgs::protocol::channel::v1::Member::state ( ) const
inline
2499  {
2500  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Member.state)
2501  return state_ != NULL ? *state_ : *default_instance_->state_;
2502 }
::bgs::protocol::channel::v1::MemberState * state_
Definition: channel_types.pb.h:1111
arena_t NULL
Definition: jemalloc_internal.h:624
static Member * default_instance_
Definition: channel_types.pb.h:1117
void bgs::protocol::channel::v1::Member::Swap ( Member other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::Member::unknown_fields ( ) const
inline
1040  {
1041  return _unknown_fields_;
1042  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:1106

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::Member::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::channel::v1::Member::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::Member::_unknown_fields_
private
Member* bgs::protocol::channel::v1::Member::default_instance_
staticprivate
::bgs::protocol::Identity* bgs::protocol::channel::v1::Member::identity_
private
const int bgs::protocol::channel::v1::Member::kIdentityFieldNumber = 1
static
const int bgs::protocol::channel::v1::Member::kStateFieldNumber = 2
static
::bgs::protocol::channel::v1::MemberState* bgs::protocol::channel::v1::Member::state_
private

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