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

#include <notification_types.pb.h>

Public Member Functions

 Subscription ()
 
virtual ~Subscription ()
 
 Subscription (const Subscription &from)
 
Subscriptionoperator= (const Subscription &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Subscription *other)
 
SubscriptionNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Subscription &from)
 
void MergeFrom (const Subscription &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
 
int target_size () const
 
void clear_target ()
 
const
::bgs::protocol::notification::v1::Target
target (int index) const
 
inline::bgs::protocol::notification::v1::Target * mutable_target (int index)
 
inline::bgs::protocol::notification::v1::Target * add_target ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::notification::v1::Target > & 
target () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::notification::v1::Target > * 
mutable_target ()
 
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)
 
bool has_delivery_required () const
 
void clear_delivery_required ()
 
bool delivery_required () const
 
void set_delivery_required (bool 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 Subscriptiondefault_instance ()
 

Static Public Attributes

static const int kTargetFieldNumber = 1
 
static const int kSubscriberFieldNumber = 2
 
static const int kDeliveryRequiredFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_subscriber ()
 
void clear_has_subscriber ()
 
void set_has_delivery_required ()
 
void clear_has_delivery_required ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::notification::v1::Target
target_
 
::bgs::protocol::account::v1::Identitysubscriber_
 
bool delivery_required_
 

Static Private Attributes

static Subscriptiondefault_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::Subscription::Subscription ( )
virtual bgs::protocol::notification::v1::Subscription::~Subscription ( )
virtual
bgs::protocol::notification::v1::Subscription::Subscription ( const Subscription from)

Member Function Documentation

bgs::protocol::notification::v1::Target * bgs::protocol::notification::v1::Subscription::add_target ( )
inline
593  {
594  // @@protoc_insertion_point(field_add:bgs.protocol.notification.v1.Subscription.target)
595  return target_.Add();
596 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
int bgs::protocol::notification::v1::Subscription::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Subscription::clear_delivery_required ( )
inline
659  {
660  delivery_required_ = false;
662 }
void clear_has_delivery_required()
Definition: notification_types.pb.h:656
bool delivery_required_
Definition: notification_types.pb.h:240

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Subscription::clear_has_delivery_required ( )
inlineprivate
656  {
657  _has_bits_[0] &= ~0x00000004u;
658 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Subscription::clear_has_subscriber ( )
inlineprivate
615  {
616  _has_bits_[0] &= ~0x00000002u;
617 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Subscription::clear_subscriber ( )
inline
618  {
619  if (subscriber_ != NULL) subscriber_->::bgs::protocol::account::v1::Identity::Clear();
621 }
::bgs::protocol::account::v1::Identity * subscriber_
Definition: notification_types.pb.h:239
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_subscriber()
Definition: notification_types.pb.h:615

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Subscription::clear_target ( )
inline
582  {
583  target_.Clear();
584 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
void bgs::protocol::notification::v1::Subscription::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::notification::v1::Subscription::CopyFrom ( const Subscription from)
static const Subscription& bgs::protocol::notification::v1::Subscription::default_instance ( )
static
bool bgs::protocol::notification::v1::Subscription::delivery_required ( ) const
inline
663  {
664  // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Subscription.delivery_required)
665  return delivery_required_;
666 }
bool delivery_required_
Definition: notification_types.pb.h:240
static const ::google::protobuf::Descriptor* bgs::protocol::notification::v1::Subscription::descriptor ( )
static
int bgs::protocol::notification::v1::Subscription::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

187 { return _cached_size_; }
int _cached_size_
Definition: notification_types.pb.h:237
::google::protobuf::Metadata bgs::protocol::notification::v1::Subscription::GetMetadata ( ) const
virtual
bool bgs::protocol::notification::v1::Subscription::has_delivery_required ( ) const
inline
650  {
651  return (_has_bits_[0] & 0x00000004u) != 0;
652 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236
bool bgs::protocol::notification::v1::Subscription::has_subscriber ( ) const
inline
609  {
610  return (_has_bits_[0] & 0x00000002u) != 0;
611 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236
void bgs::protocol::notification::v1::Subscription::InitAsDefaultInstance ( )
private
bool bgs::protocol::notification::v1::Subscription::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Subscription::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::notification::v1::Subscription::MergeFrom ( const Subscription from)
bool bgs::protocol::notification::v1::Subscription::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::account::v1::Identity * bgs::protocol::notification::v1::Subscription::mutable_subscriber ( )
inline
626  {
628  if (subscriber_ == NULL) subscriber_ = new ::bgs::protocol::account::v1::Identity;
629  // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Subscription.subscriber)
630  return subscriber_;
631 }
::bgs::protocol::account::v1::Identity * subscriber_
Definition: notification_types.pb.h:239
arena_t NULL
Definition: jemalloc_internal.h:624
void set_has_subscriber()
Definition: notification_types.pb.h:612

+ Here is the call graph for this function:

bgs::protocol::notification::v1::Target * bgs::protocol::notification::v1::Subscription::mutable_target ( int  index)
inline
589  {
590  // @@protoc_insertion_point(field_mutable:bgs.protocol.notification.v1.Subscription.target)
591  return target_.Mutable(index);
592 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
google::protobuf::RepeatedPtrField<::bgs::protocol::notification::v1::Target > * bgs::protocol::notification::v1::Subscription::mutable_target ( )
inline
603  {
604  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.notification.v1.Subscription.target)
605  return &target_;
606 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::notification::v1::Subscription::mutable_unknown_fields ( )
inline
162  {
163  return &_unknown_fields_;
164  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:234
Subscription* bgs::protocol::notification::v1::Subscription::New ( ) const
virtual
Subscription& bgs::protocol::notification::v1::Subscription::operator= ( const Subscription from)
inline
153  {
154  CopyFrom(from);
155  return *this;
156  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::account::v1::Identity * bgs::protocol::notification::v1::Subscription::release_subscriber ( )
inline
632  {
635  subscriber_ = NULL;
636  return temp;
637 }
::bgs::protocol::account::v1::Identity * subscriber_
Definition: notification_types.pb.h:239
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: account_types.pb.h:1423
void clear_has_subscriber()
Definition: notification_types.pb.h:615

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Subscription::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::notification::v1::Subscription::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::notification::v1::Subscription::set_allocated_subscriber ( ::bgs::protocol::account::v1::Identity subscriber)
inline
638  {
639  delete subscriber_;
641  if (subscriber) {
643  } else {
645  }
646  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.notification.v1.Subscription.subscriber)
647 }
::bgs::protocol::account::v1::Identity * subscriber_
Definition: notification_types.pb.h:239
void set_has_subscriber()
Definition: notification_types.pb.h:612
const ::bgs::protocol::account::v1::Identity & subscriber() const
Definition: notification_types.pb.h:622
void clear_has_subscriber()
Definition: notification_types.pb.h:615

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Subscription::set_delivery_required ( bool  value)
inline
667  {
670  // @@protoc_insertion_point(field_set:bgs.protocol.notification.v1.Subscription.delivery_required)
671 }
bool delivery_required_
Definition: notification_types.pb.h:240
void set_has_delivery_required()
Definition: notification_types.pb.h:653
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::notification::v1::Subscription::set_has_delivery_required ( )
inlineprivate
653  {
654  _has_bits_[0] |= 0x00000004u;
655 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Subscription::set_has_subscriber ( )
inlineprivate
612  {
613  _has_bits_[0] |= 0x00000002u;
614 }
::google::protobuf::uint32 _has_bits_[1]
Definition: notification_types.pb.h:236

+ Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::notification::v1::Subscription::SharedCtor ( )
private
void bgs::protocol::notification::v1::Subscription::SharedDtor ( )
private
const ::bgs::protocol::account::v1::Identity & bgs::protocol::notification::v1::Subscription::subscriber ( ) const
inline
622  {
623  // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Subscription.subscriber)
625 }
::bgs::protocol::account::v1::Identity * subscriber_
Definition: notification_types.pb.h:239
arena_t NULL
Definition: jemalloc_internal.h:624
static Subscription * default_instance_
Definition: notification_types.pb.h:246

+ Here is the caller graph for this function:

void bgs::protocol::notification::v1::Subscription::Swap ( Subscription other)
const ::bgs::protocol::notification::v1::Target & bgs::protocol::notification::v1::Subscription::target ( int  index) const
inline
585  {
586  // @@protoc_insertion_point(field_get:bgs.protocol.notification.v1.Subscription.target)
587  return target_.Get(index);
588 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::notification::v1::Target > & bgs::protocol::notification::v1::Subscription::target ( ) const
inline
598  {
599  // @@protoc_insertion_point(field_list:bgs.protocol.notification.v1.Subscription.target)
600  return target_;
601 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
int bgs::protocol::notification::v1::Subscription::target_size ( ) const
inline
579  {
580  return target_.size();
581 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > target_
Definition: notification_types.pb.h:238
const ::google::protobuf::UnknownFieldSet& bgs::protocol::notification::v1::Subscription::unknown_fields ( ) const
inline
158  {
159  return _unknown_fields_;
160  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: notification_types.pb.h:234

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::Subscription::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::notification::v1::Subscription::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::notification::v1::Subscription::_unknown_fields_
private
Subscription* bgs::protocol::notification::v1::Subscription::default_instance_
staticprivate
bool bgs::protocol::notification::v1::Subscription::delivery_required_
private
const int bgs::protocol::notification::v1::Subscription::kDeliveryRequiredFieldNumber = 3
static
const int bgs::protocol::notification::v1::Subscription::kSubscriberFieldNumber = 2
static
const int bgs::protocol::notification::v1::Subscription::kTargetFieldNumber = 1
static
::bgs::protocol::account::v1::Identity* bgs::protocol::notification::v1::Subscription::subscriber_
private
::google::protobuf::RepeatedPtrField< ::bgs::protocol::notification::v1::Target > bgs::protocol::notification::v1::Subscription::target_
private

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