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

#include <friends_service.pb.h>

Public Member Functions

 ViewFriendsRequest ()
 
virtual ~ViewFriendsRequest ()
 
 ViewFriendsRequest (const ViewFriendsRequest &from)
 
ViewFriendsRequestoperator= (const ViewFriendsRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ViewFriendsRequest *other)
 
ViewFriendsRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ViewFriendsRequest &from)
 
void MergeFrom (const ViewFriendsRequest &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_agent_id () const
 
void clear_agent_id ()
 
const ::bgs::protocol::EntityIdagent_id () const
 
inline::bgs::protocol::EntityId * mutable_agent_id ()
 
inline::bgs::protocol::EntityId * release_agent_id ()
 
void set_allocated_agent_id (::bgs::protocol::EntityId *agent_id)
 
bool has_target_id () const
 
void clear_target_id ()
 
const ::bgs::protocol::EntityIdtarget_id () const
 
inline::bgs::protocol::EntityId * mutable_target_id ()
 
inline::bgs::protocol::EntityId * release_target_id ()
 
void set_allocated_target_id (::bgs::protocol::EntityId *target_id)
 
int role_size () const
 
void clear_role ()
 
inline::google::protobuf::uint32 role (int index) const
 
void set_role (int index,::google::protobuf::uint32 value)
 
void add_role (::google::protobuf::uint32 value)
 
const
::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > & 
role () const
 
inline::google::protobuf::RepeatedField
< ::google::protobuf::uint32 > * 
mutable_role ()
 
- 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 ViewFriendsRequestdefault_instance ()
 

Static Public Attributes

static const int kAgentIdFieldNumber = 1
 
static const int kTargetIdFieldNumber = 2
 
static const int kRoleFieldNumber = 3
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_agent_id ()
 
void clear_has_agent_id ()
 
void set_has_target_id ()
 
void clear_has_target_id ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::bgs::protocol::EntityIdagent_id_
 
::bgs::protocol::EntityIdtarget_id_
 
::google::protobuf::RepeatedField
< ::google::protobuf::uint32
role_
 
int _role_cached_byte_size_
 

Static Private Attributes

static ViewFriendsRequestdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_friends_5fservice_2eproto ()
 
void protobuf_AssignDesc_friends_5fservice_2eproto ()
 
void protobuf_ShutdownFile_friends_5fservice_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::friends::v1::ViewFriendsRequest::ViewFriendsRequest ( )
virtual bgs::protocol::friends::v1::ViewFriendsRequest::~ViewFriendsRequest ( )
virtual
bgs::protocol::friends::v1::ViewFriendsRequest::ViewFriendsRequest ( const ViewFriendsRequest from)

Member Function Documentation

void bgs::protocol::friends::v1::ViewFriendsRequest::add_role ( ::google::protobuf::uint32  value)
inline
2120  {
2121  role_.Add(value);
2122  // @@protoc_insertion_point(field_add:bgs.protocol.friends.v1.ViewFriendsRequest.role)
2123 }
void Add(const Element &value)
Definition: repeated_field.h:684
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

const ::bgs::protocol::EntityId & bgs::protocol::friends::v1::ViewFriendsRequest::agent_id ( ) const
inline
2037  {
2038  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.ViewFriendsRequest.agent_id)
2040 }
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:771
arena_t NULL
Definition: jemalloc_internal.h:624
static ViewFriendsRequest * default_instance_
Definition: friends_service.pb.h:780

+ Here is the caller graph for this function:

int bgs::protocol::friends::v1::ViewFriendsRequest::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::ViewFriendsRequest::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::ViewFriendsRequest::clear_agent_id ( )
inline
2033  {
2034  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
2036 }
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:771
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_agent_id()
Definition: friends_service.pb.h:2030

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::clear_has_agent_id ( )
inlineprivate
2030  {
2031  _has_bits_[0] &= ~0x00000001u;
2032 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:769

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::clear_has_target_id ( )
inlineprivate
2071  {
2072  _has_bits_[0] &= ~0x00000002u;
2073 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:769

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::clear_role ( )
inline
2109  {
2110  role_.Clear();
2111 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773
void Clear()
Definition: repeated_field.h:723

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::clear_target_id ( )
inline
2074  {
2075  if (target_id_ != NULL) target_id_->::bgs::protocol::EntityId::Clear();
2077 }
void clear_has_target_id()
Definition: friends_service.pb.h:2071
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:772

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

718 { return _cached_size_; }
int _cached_size_
Definition: friends_service.pb.h:770
::google::protobuf::Metadata bgs::protocol::friends::v1::ViewFriendsRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::friends::v1::ViewFriendsRequest::has_agent_id ( ) const
inline
2024  {
2025  return (_has_bits_[0] & 0x00000001u) != 0;
2026 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:769
bool bgs::protocol::friends::v1::ViewFriendsRequest::has_target_id ( ) const
inline
2065  {
2066  return (_has_bits_[0] & 0x00000002u) != 0;
2067 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:769
void bgs::protocol::friends::v1::ViewFriendsRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::friends::v1::ViewFriendsRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::ViewFriendsRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::friends::v1::ViewFriendsRequest::MergeFrom ( const ViewFriendsRequest from)
bool bgs::protocol::friends::v1::ViewFriendsRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::friends::v1::ViewFriendsRequest::mutable_agent_id ( )
inline
2041  {
2042  set_has_agent_id();
2043  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
2044  // @@protoc_insertion_point(field_mutable:bgs.protocol.friends.v1.ViewFriendsRequest.agent_id)
2045  return agent_id_;
2046 }
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:771
void set_has_agent_id()
Definition: friends_service.pb.h:2027
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the call graph for this function:

google::protobuf::RepeatedField<::google::protobuf::uint32 > * bgs::protocol::friends::v1::ViewFriendsRequest::mutable_role ( )
inline
2130  {
2131  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.friends.v1.ViewFriendsRequest.role)
2132  return &role_;
2133 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773
bgs::protocol::EntityId * bgs::protocol::friends::v1::ViewFriendsRequest::mutable_target_id ( )
inline
2082  {
2084  if (target_id_ == NULL) target_id_ = new ::bgs::protocol::EntityId;
2085  // @@protoc_insertion_point(field_mutable:bgs.protocol.friends.v1.ViewFriendsRequest.target_id)
2086  return target_id_;
2087 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:772
void set_has_target_id()
Definition: friends_service.pb.h:2068

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::friends::v1::ViewFriendsRequest::mutable_unknown_fields ( )
inline
693  {
694  return &_unknown_fields_;
695  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_service.pb.h:767
ViewFriendsRequest* bgs::protocol::friends::v1::ViewFriendsRequest::New ( ) const
virtual
ViewFriendsRequest& bgs::protocol::friends::v1::ViewFriendsRequest::operator= ( const ViewFriendsRequest from)
inline
684  {
685  CopyFrom(from);
686  return *this;
687  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::friends::v1::ViewFriendsRequest::release_agent_id ( )
inline
2047  {
2050  agent_id_ = NULL;
2051  return temp;
2052 }
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:771
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
void clear_has_agent_id()
Definition: friends_service.pb.h:2030

+ Here is the call graph for this function:

bgs::protocol::EntityId * bgs::protocol::friends::v1::ViewFriendsRequest::release_target_id ( )
inline
2088  {
2091  target_id_ = NULL;
2092  return temp;
2093 }
Definition: entity_types.pb.h:45
void clear_has_target_id()
Definition: friends_service.pb.h:2071
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:772

+ Here is the call graph for this function:

google::protobuf::uint32 bgs::protocol::friends::v1::ViewFriendsRequest::role ( int  index) const
inline
2112  {
2113  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.ViewFriendsRequest.role)
2114  return role_.Get(index);
2115 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773
const Element & Get(int index) const
Definition: repeated_field.h:663

+ Here is the call graph for this function:

const ::google::protobuf::RepeatedField<::google::protobuf::uint32 > & bgs::protocol::friends::v1::ViewFriendsRequest::role ( ) const
inline
2125  {
2126  // @@protoc_insertion_point(field_list:bgs.protocol.friends.v1.ViewFriendsRequest.role)
2127  return role_;
2128 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773
int bgs::protocol::friends::v1::ViewFriendsRequest::role_size ( ) const
inline
2106  {
2107  return role_.size();
2108 }
int size() const
Definition: repeated_field.h:631
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::friends::v1::ViewFriendsRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::friends::v1::ViewFriendsRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
2053  {
2054  delete agent_id_;
2055  agent_id_ = agent_id;
2056  if (agent_id) {
2057  set_has_agent_id();
2058  } else {
2060  }
2061  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.friends.v1.ViewFriendsRequest.agent_id)
2062 }
::bgs::protocol::EntityId * agent_id_
Definition: friends_service.pb.h:771
const ::bgs::protocol::EntityId & agent_id() const
Definition: friends_service.pb.h:2037
void set_has_agent_id()
Definition: friends_service.pb.h:2027
void clear_has_agent_id()
Definition: friends_service.pb.h:2030

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::set_allocated_target_id ( ::bgs::protocol::EntityId target_id)
inline
2094  {
2095  delete target_id_;
2097  if (target_id) {
2099  } else {
2101  }
2102  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.friends.v1.ViewFriendsRequest.target_id)
2103 }
void clear_has_target_id()
Definition: friends_service.pb.h:2071
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:772
const ::bgs::protocol::EntityId & target_id() const
Definition: friends_service.pb.h:2078
void set_has_target_id()
Definition: friends_service.pb.h:2068

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::set_has_agent_id ( )
inlineprivate
2027  {
2028  _has_bits_[0] |= 0x00000001u;
2029 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:769

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::set_has_target_id ( )
inlineprivate
2068  {
2069  _has_bits_[0] |= 0x00000002u;
2070 }
::google::protobuf::uint32 _has_bits_[1]
Definition: friends_service.pb.h:769

+ Here is the caller graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::set_role ( int  index,
::google::protobuf::uint32  value 
)
inline
2116  {
2117  role_.Set(index, value);
2118  // @@protoc_insertion_point(field_set:bgs.protocol.friends.v1.ViewFriendsRequest.role)
2119 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: friends_service.pb.h:773
const FieldDescriptor value
Definition: descriptor.h:1522
void Set(int index, const Element &value)
Definition: repeated_field.h:677

+ Here is the call graph for this function:

void bgs::protocol::friends::v1::ViewFriendsRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::friends::v1::ViewFriendsRequest::SharedCtor ( )
private
void bgs::protocol::friends::v1::ViewFriendsRequest::SharedDtor ( )
private
void bgs::protocol::friends::v1::ViewFriendsRequest::Swap ( ViewFriendsRequest other)
const ::bgs::protocol::EntityId & bgs::protocol::friends::v1::ViewFriendsRequest::target_id ( ) const
inline
2078  {
2079  // @@protoc_insertion_point(field_get:bgs.protocol.friends.v1.ViewFriendsRequest.target_id)
2081 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * target_id_
Definition: friends_service.pb.h:772
static ViewFriendsRequest * default_instance_
Definition: friends_service.pb.h:780

+ Here is the caller graph for this function:

const ::google::protobuf::UnknownFieldSet& bgs::protocol::friends::v1::ViewFriendsRequest::unknown_fields ( ) const
inline
689  {
690  return _unknown_fields_;
691  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: friends_service.pb.h:767

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_friends_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_friends_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_friends_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::friends::v1::ViewFriendsRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::friends::v1::ViewFriendsRequest::_has_bits_[1]
private
int bgs::protocol::friends::v1::ViewFriendsRequest::_role_cached_byte_size_
mutableprivate
::google::protobuf::UnknownFieldSet bgs::protocol::friends::v1::ViewFriendsRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::friends::v1::ViewFriendsRequest::agent_id_
private
ViewFriendsRequest* bgs::protocol::friends::v1::ViewFriendsRequest::default_instance_
staticprivate
const int bgs::protocol::friends::v1::ViewFriendsRequest::kAgentIdFieldNumber = 1
static
const int bgs::protocol::friends::v1::ViewFriendsRequest::kRoleFieldNumber = 3
static
const int bgs::protocol::friends::v1::ViewFriendsRequest::kTargetIdFieldNumber = 2
static
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > bgs::protocol::friends::v1::ViewFriendsRequest::role_
private
::bgs::protocol::EntityId* bgs::protocol::friends::v1::ViewFriendsRequest::target_id_
private

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