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

#include <channel_service.pb.h>

Public Member Functions

 SetRolesRequest ()
 
virtual ~SetRolesRequest ()
 
 SetRolesRequest (const SetRolesRequest &from)
 
SetRolesRequestoperator= (const SetRolesRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (SetRolesRequest *other)
 
SetRolesRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const SetRolesRequest &from)
 
void MergeFrom (const SetRolesRequest &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)
 
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 ()
 
int member_id_size () const
 
void clear_member_id ()
 
const ::bgs::protocol::EntityIdmember_id (int index) const
 
inline::bgs::protocol::EntityId * mutable_member_id (int index)
 
inline::bgs::protocol::EntityId * add_member_id ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::EntityId > & 
member_id () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::EntityId > * 
mutable_member_id ()
 
- 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 SetRolesRequestdefault_instance ()
 

Static Public Attributes

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

Private Member Functions

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

Private Attributes

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

Static Private Attributes

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

Member Function Documentation

bgs::protocol::EntityId * bgs::protocol::channel::v1::SetRolesRequest::add_member_id ( )
inline
2687  {
2688  // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.SetRolesRequest.member_id)
2689  return member_id_.Add();
2690 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
void bgs::protocol::channel::v1::SetRolesRequest::add_role ( ::google::protobuf::uint32  value)
inline
2657  {
2658  role_.Add(value);
2659  // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.SetRolesRequest.role)
2660 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877
void Add(const Element &value)
Definition: repeated_field.h:684
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

const ::bgs::protocol::EntityId & bgs::protocol::channel::v1::SetRolesRequest::agent_id ( ) const
inline
2615  {
2616  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SetRolesRequest.agent_id)
2618 }
arena_t NULL
Definition: jemalloc_internal.h:624
static SetRolesRequest * default_instance_
Definition: channel_service.pb.h:885
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:876

+ Here is the caller graph for this function:

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::SetRolesRequest::clear_agent_id ( )
inline
2611  {
2612  if (agent_id_ != NULL) agent_id_->::bgs::protocol::EntityId::Clear();
2614 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:876
void clear_has_agent_id()
Definition: channel_service.pb.h:2608

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SetRolesRequest::clear_has_agent_id ( )
inlineprivate
2608  {
2609  _has_bits_[0] &= ~0x00000001u;
2610 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:874

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SetRolesRequest::clear_member_id ( )
inline
2676  {
2677  member_id_.Clear();
2678 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
void bgs::protocol::channel::v1::SetRolesRequest::clear_role ( )
inline
2646  {
2647  role_.Clear();
2648 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877
void Clear()
Definition: repeated_field.h:723

+ Here is the call graph for this function:

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

Implements google::protobuf::MessageLite.

822 { return _cached_size_; }
int _cached_size_
Definition: channel_service.pb.h:875
::google::protobuf::Metadata bgs::protocol::channel::v1::SetRolesRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::SetRolesRequest::has_agent_id ( ) const
inline
2602  {
2603  return (_has_bits_[0] & 0x00000001u) != 0;
2604 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:874
void bgs::protocol::channel::v1::SetRolesRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::SetRolesRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

const ::bgs::protocol::EntityId & bgs::protocol::channel::v1::SetRolesRequest::member_id ( int  index) const
inline
2679  {
2680  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SetRolesRequest.member_id)
2681  return member_id_.Get(index);
2682 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::EntityId > & bgs::protocol::channel::v1::SetRolesRequest::member_id ( ) const
inline
2692  {
2693  // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.SetRolesRequest.member_id)
2694  return member_id_;
2695 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
int bgs::protocol::channel::v1::SetRolesRequest::member_id_size ( ) const
inline
2673  {
2674  return member_id_.size();
2675 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
void bgs::protocol::channel::v1::SetRolesRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::SetRolesRequest::MergeFrom ( const SetRolesRequest from)
bool bgs::protocol::channel::v1::SetRolesRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::EntityId * bgs::protocol::channel::v1::SetRolesRequest::mutable_agent_id ( )
inline
2619  {
2620  set_has_agent_id();
2621  if (agent_id_ == NULL) agent_id_ = new ::bgs::protocol::EntityId;
2622  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SetRolesRequest.agent_id)
2623  return agent_id_;
2624 }
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:876
void set_has_agent_id()
Definition: channel_service.pb.h:2605

+ Here is the call graph for this function:

bgs::protocol::EntityId * bgs::protocol::channel::v1::SetRolesRequest::mutable_member_id ( int  index)
inline
2683  {
2684  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.SetRolesRequest.member_id)
2685  return member_id_.Mutable(index);
2686 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
google::protobuf::RepeatedPtrField<::bgs::protocol::EntityId > * bgs::protocol::channel::v1::SetRolesRequest::mutable_member_id ( )
inline
2697  {
2698  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.SetRolesRequest.member_id)
2699  return &member_id_;
2700 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > member_id_
Definition: channel_service.pb.h:879
google::protobuf::RepeatedField<::google::protobuf::uint32 > * bgs::protocol::channel::v1::SetRolesRequest::mutable_role ( )
inline
2667  {
2668  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.SetRolesRequest.role)
2669  return &role_;
2670 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::SetRolesRequest::mutable_unknown_fields ( )
inline
797  {
798  return &_unknown_fields_;
799  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_service.pb.h:872
SetRolesRequest* bgs::protocol::channel::v1::SetRolesRequest::New ( ) const
virtual
SetRolesRequest& bgs::protocol::channel::v1::SetRolesRequest::operator= ( const SetRolesRequest from)
inline
788  {
789  CopyFrom(from);
790  return *this;
791  }
void CopyFrom(const ::google::protobuf::Message &from)
bgs::protocol::EntityId * bgs::protocol::channel::v1::SetRolesRequest::release_agent_id ( )
inline
2625  {
2628  agent_id_ = NULL;
2629  return temp;
2630 }
Definition: entity_types.pb.h:45
arena_t NULL
Definition: jemalloc_internal.h:624
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:876
void clear_has_agent_id()
Definition: channel_service.pb.h:2608

+ Here is the call graph for this function:

google::protobuf::uint32 bgs::protocol::channel::v1::SetRolesRequest::role ( int  index) const
inline
2649  {
2650  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.SetRolesRequest.role)
2651  return role_.Get(index);
2652 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877
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::channel::v1::SetRolesRequest::role ( ) const
inline
2662  {
2663  // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.SetRolesRequest.role)
2664  return role_;
2665 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877
int bgs::protocol::channel::v1::SetRolesRequest::role_size ( ) const
inline
2643  {
2644  return role_.size();
2645 }
int size() const
Definition: repeated_field.h:631
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SetRolesRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::SetRolesRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::SetRolesRequest::set_allocated_agent_id ( ::bgs::protocol::EntityId agent_id)
inline
2631  {
2632  delete agent_id_;
2633  agent_id_ = agent_id;
2634  if (agent_id) {
2635  set_has_agent_id();
2636  } else {
2638  }
2639  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.channel.v1.SetRolesRequest.agent_id)
2640 }
const ::bgs::protocol::EntityId & agent_id() const
Definition: channel_service.pb.h:2615
::bgs::protocol::EntityId * agent_id_
Definition: channel_service.pb.h:876
void clear_has_agent_id()
Definition: channel_service.pb.h:2608
void set_has_agent_id()
Definition: channel_service.pb.h:2605

+ Here is the call graph for this function:

void bgs::protocol::channel::v1::SetRolesRequest::set_has_agent_id ( )
inlineprivate
2605  {
2606  _has_bits_[0] |= 0x00000001u;
2607 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_service.pb.h:874

+ Here is the caller graph for this function:

void bgs::protocol::channel::v1::SetRolesRequest::set_role ( int  index,
::google::protobuf::uint32  value 
)
inline
2653  {
2654  role_.Set(index, value);
2655  // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.SetRolesRequest.role)
2656 }
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > role_
Definition: channel_service.pb.h:877
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::channel::v1::SetRolesRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::SetRolesRequest::SharedCtor ( )
private
void bgs::protocol::channel::v1::SetRolesRequest::SharedDtor ( )
private
void bgs::protocol::channel::v1::SetRolesRequest::Swap ( SetRolesRequest other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::SetRolesRequest::unknown_fields ( ) const
inline
793  {
794  return _unknown_fields_;
795  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_service.pb.h:872

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::SetRolesRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::channel::v1::SetRolesRequest::_has_bits_[1]
private
int bgs::protocol::channel::v1::SetRolesRequest::_role_cached_byte_size_
mutableprivate
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::SetRolesRequest::_unknown_fields_
private
::bgs::protocol::EntityId* bgs::protocol::channel::v1::SetRolesRequest::agent_id_
private
SetRolesRequest* bgs::protocol::channel::v1::SetRolesRequest::default_instance_
staticprivate
const int bgs::protocol::channel::v1::SetRolesRequest::kAgentIdFieldNumber = 1
static
const int bgs::protocol::channel::v1::SetRolesRequest::kMemberIdFieldNumber = 3
static
const int bgs::protocol::channel::v1::SetRolesRequest::kRoleFieldNumber = 2
static
::google::protobuf::RepeatedPtrField< ::bgs::protocol::EntityId > bgs::protocol::channel::v1::SetRolesRequest::member_id_
private
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > bgs::protocol::channel::v1::SetRolesRequest::role_
private

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