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

#include <notification_types.pb.h>

Public Member Functions

 Target ()
 
virtual ~Target ()
 
 Target (const Target &from)
 
Targetoperator= (const Target &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Target *other)
 
TargetNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Target &from)
 
void MergeFrom (const Target &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::account::v1::Identity
identity () const
 
inline::bgs::protocol::account::v1::Identity * mutable_identity ()
 
inline::bgs::protocol::account::v1::Identity * release_identity ()
 
void set_allocated_identity (::bgs::protocol::account::v1::Identity *identity)
 
bool has_type () const
 
void clear_type ()
 
const ::std::string & type () const
 
void set_type (const ::std::string &value)
 
void set_type (const char *value)
 
void set_type (const char *value, size_t size)
 
inline::std::string * mutable_type ()
 
inline::std::string * release_type ()
 
void set_allocated_type (::std::string *type)
 
- 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 Targetdefault_instance ()
 

Static Public Attributes

static const int kIdentityFieldNumber = 1
 
static const int kTypeFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_identity ()
 
void clear_has_identity ()
 
void set_has_type ()
 
void clear_has_type ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::account::v1::Identityidentity_
 
::std::string * type_
 

Static Private Attributes

static Targetdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_notification_5ftypes_2eproto ()
 
void protobuf_AssignDesc_notification_5ftypes_2eproto ()
 
void protobuf_ShutdownFile_notification_5ftypes_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::notification::v1::Target::Target ( )
virtual bgs::protocol::notification::v1::Target::~Target ( )
virtual
bgs::protocol::notification::v1::Target::Target ( const Target from)

Member Function Documentation

int bgs::protocol::notification::v1::Target::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Target::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Target::clear_has_identity ( )
inlineprivate
464  {
465  _has_bits_[0] &= ~0x00000001u;
466 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Target::clear_has_type ( )
inlineprivate
505  {
506  _has_bits_[0] &= ~0x00000002u;
507 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Target::clear_identity ( )
inline
467  {
468  if (identity_ != NULL) identity_->::bgs::protocol::account::v1::Identity::Clear();
470 }
::bgs::protocol::account::v1::Identity * identity_
Definition: notification_types.pb.h:135
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_identity()
Definition: notification_types.pb.h:464

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::clear_type ( )
inline
508  {
510  type_->clear();
511  }
512  clear_has_type();
513 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136
void clear_has_type()
Definition: notification_types.pb.h:505

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

91 { return _cached_size_; }
int _cached_size_
Definition: notification_types.pb.h:134
::google::protobuf::Metadata bgs::protocol::notification::v1::Target::GetMetadata ( ) const
virtual
bool bgs::protocol::notification::v1::Target::has_identity ( ) const
inline
458  {
459  return (_has_bits_[0] & 0x00000001u) != 0;
460 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133
bool bgs::protocol::notification::v1::Target::has_type ( ) const
inline
499  {
500  return (_has_bits_[0] & 0x00000002u) != 0;
501 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133
const ::bgs::protocol::account::v1::Identity & bgs::protocol::notification::v1::Target::identity ( ) const
inline
471  {
472  // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Target.identity)
474 }
::bgs::protocol::account::v1::Identity * identity_
Definition: notification_types.pb.h:135
static Target * default_instance_
Definition: notification_types.pb.h:142
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Target::InitAsDefaultInstance ( )
private
bool bgs::protocol::notification::v1::Target::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Target::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::notification::v1::Target::MergeFrom ( const Target from)
bool bgs::protocol::notification::v1::Target::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::account::v1::Identity * bgs::protocol::notification::v1::Target::mutable_identity ( )
inline
475  {
477  if (identity_ == NULL) identity_ = new ::bgs::protocol::account::v1::Identity;
478  // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Target.identity)
479  return identity_;
480 }
::bgs::protocol::account::v1::Identity * identity_
Definition: notification_types.pb.h:135
void set_has_identity()
Definition: notification_types.pb.h:461
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the call graph for this function:

std::string * bgs::protocol::notification::v1::Target::mutable_type ( )
inline
542  {
543  set_has_type();
545  type_ = new ::std::string;
546  }
547  // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Target.type)
548  return type_;
549 }
void set_has_type()
Definition: notification_types.pb.h:502
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::notification::v1::Target::mutable_unknown_fields ( )
inline
66  {
67  return &_unknown_fields_;
68  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:131
Target* bgs::protocol::notification::v1::Target::New ( ) const
virtual
Target& bgs::protocol::notification::v1::Target::operator= ( const Target from)
inline
57  {
58  CopyFrom(from);
59  return *this;
60  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::account::v1::Identity * bgs::protocol::notification::v1::Target::release_identity ( )
inline
481  {
484  identity_ = NULL;
485  return temp;
486 }
::bgs::protocol::account::v1::Identity * identity_
Definition: notification_types.pb.h:135
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_identity()
Definition: notification_types.pb.h:464
Definition: account_types.pb.h:1423

+ Here is the call graph for this function:

std::string * bgs::protocol::notification::v1::Target::release_type ( )
inline
550  {
551  clear_has_type();
553  return NULL;
554  } else {
555  ::std::string* temp = type_;
556  type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
557  return temp;
558  }
559 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136
void clear_has_type()
Definition: notification_types.pb.h:505

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::notification::v1::Target::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::notification::v1::Target::set_allocated_identity ( ::bgs::protocol::account::v1::Identity identity)
inline
487  {
488  delete identity_;
490  if (identity) {
492  } else {
494  }
495  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Target.identity)
496 }
::bgs::protocol::account::v1::Identity * identity_
Definition: notification_types.pb.h:135
void set_has_identity()
Definition: notification_types.pb.h:461
void clear_has_identity()
Definition: notification_types.pb.h:464
const ::bgs::protocol::account::v1::Identity & identity() const
Definition: notification_types.pb.h:471

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::set_allocated_type ( ::std::string *  type)
inline
560  {
562  delete type_;
563  }
564  if (type) {
565  set_has_type();
566  type_ = type;
567  } else {
568  clear_has_type();
569  type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
570  }
571  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Target.type)
572 }
void set_has_type()
Definition: notification_types.pb.h:502
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136
const ::std::string & type() const
Definition: notification_types.pb.h:514
void clear_has_type()
Definition: notification_types.pb.h:505

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::set_has_identity ( )
inlineprivate
461  {
462  _has_bits_[0] |= 0x00000001u;
463 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Target::set_has_type ( )
inlineprivate
502  {
503  _has_bits_[0] |= 0x00000002u;
504 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:133

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Target::set_type ( const ::std::string &  value)
inline
518  {
519  set_has_type();
521  type_ = new ::std::string;
522  }
523  type_->assign(value);
524  // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Target.type)
525 }
void set_has_type()
Definition: notification_types.pb.h:502
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::set_type ( const char *  value)
inline
526  {
527  set_has_type();
529  type_ = new ::std::string;
530  }
531  type_->assign(value);
532  // @@protoc_insertion_point(field_set_char:bgs.protocol.notification.v1.Target.type)
533 }
void set_has_type()
Definition: notification_types.pb.h:502
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::set_type ( const char *  value,
size_t  size 
)
inline
534  {
535  set_has_type();
537  type_ = new ::std::string;
538  }
539  type_->assign(reinterpret_cast<const char*>(value), size);
540  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.notification.v1.Target.type)
541 }
void set_has_type()
Definition: notification_types.pb.h:502
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * type_
Definition: notification_types.pb.h:136
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Target::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Target::SharedCtor ( )
private
void bgs::protocol::notification::v1::Target::SharedDtor ( )
private
void bgs::protocol::notification::v1::Target::Swap ( Target other)
const ::std::string & bgs::protocol::notification::v1::Target::type ( ) const
inline
514  {
515  // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Target.type)
516  return *type_;
517 }
::std::string * type_
Definition: notification_types.pb.h:136

+ Here is the caller graph for this function:

const ::google::protobuf::UnknownFieldSet& bgs::protocol::notification::v1::Target::unknown_fields ( ) const
inline
62  {
63  return _unknown_fields_;
64  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:131

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_notification_5ftypes_2eproto ( )
friend
void protobuf_AssignDesc_notification_5ftypes_2eproto ( )
friend
void protobuf_ShutdownFile_notification_5ftypes_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::notification::v1::Target::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::notification::v1::Target::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::notification::v1::Target::_unknown_fields_
private
Target* bgs::protocol::notification::v1::Target::default_instance_
staticprivate
::bgs::protocol::account::v1::Identity* bgs::protocol::notification::v1::Target::identity_
private
const int bgs::protocol::notification::v1::Target::kIdentityFieldNumber = 1
static
const int bgs::protocol::notification::v1::Target::kTypeFieldNumber = 2
static
::std::string* bgs::protocol::notification::v1::Target::type_
private

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