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

#include <channel_types.pb.h>

Public Member Functions

 Message ()
 
virtual ~Message ()
 
 Message (const Message &from)
 
Messageoperator= (const Message &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Message *other)
 
MessageNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Message &from)
 
void MergeFrom (const Message &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 attribute_size () const
 
void clear_attribute ()
 
const ::bgs::protocol::Attributeattribute (int index) const
 
inline::bgs::protocol::Attribute * mutable_attribute (int index)
 
inline::bgs::protocol::Attribute * add_attribute ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::Attribute > & 
attribute () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::Attribute > * 
mutable_attribute ()
 
bool has_role () const
 
void clear_role ()
 
inline::google::protobuf::uint32 role () const
 
void set_role (::google::protobuf::uint32 value)
 
- Public Member Functions inherited from google::protobuf::Message
 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 Messagedefault_instance ()
 

Static Public Attributes

static const int kAttributeFieldNumber = 1
 
static const int kRoleFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_role ()
 
void clear_has_role ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::internal::ExtensionSet _extensions_
 
::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::Attribute
attribute_
 
::google::protobuf::uint32 role_
 

Static Private Attributes

static Messagedefault_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::Message::Message ( )
virtual bgs::protocol::channel::v1::Message::~Message ( )
virtual

Reimplemented from google::protobuf::Message.

bgs::protocol::channel::v1::Message::Message ( const Message from)

Member Function Documentation

bgs::protocol::Attribute * bgs::protocol::channel::v1::Message::add_attribute ( )
inline
1237  {
1238  // @@protoc_insertion_point(field_add:bgs.protocol.channel.v1.Message.attribute)
1239  return attribute_.Add();
1240 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
const ::bgs::protocol::Attribute & bgs::protocol::channel::v1::Message::attribute ( int  index) const
inline
1229  {
1230  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Message.attribute)
1231  return attribute_.Get(index);
1232 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::Attribute > & bgs::protocol::channel::v1::Message::attribute ( ) const
inline
1242  {
1243  // @@protoc_insertion_point(field_list:bgs.protocol.channel.v1.Message.attribute)
1244  return attribute_;
1245 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
int bgs::protocol::channel::v1::Message::attribute_size ( ) const
inline
1223  {
1224  return attribute_.size();
1225 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
int bgs::protocol::channel::v1::Message::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::Message::clear_attribute ( )
inline
1226  {
1227  attribute_.Clear();
1228 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
void bgs::protocol::channel::v1::Message::clear_has_role ( )
inlineprivate
1259  {
1260  _has_bits_[0] &= ~0x00000002u;
1261 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:260
void bgs::protocol::channel::v1::Message::clear_role ( )
inline
1262  {
1263  role_ = 0u;
1264  clear_has_role();
1265 }
::google::protobuf::uint32 role_
Definition: channel_types.pb.h:263
void clear_has_role()
Definition: channel_types.pb.h:1259
void bgs::protocol::channel::v1::Message::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::Message::CopyFrom ( const Message from)
static const Message& bgs::protocol::channel::v1::Message::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::channel::v1::Message::descriptor ( )
static
int bgs::protocol::channel::v1::Message::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

219 { return _cached_size_; }
int _cached_size_
Definition: channel_types.pb.h:261
::google::protobuf::Metadata bgs::protocol::channel::v1::Message::GetMetadata ( ) const
virtual
bool bgs::protocol::channel::v1::Message::has_role ( ) const
inline
1253  {
1254  return (_has_bits_[0] & 0x00000002u) != 0;
1255 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:260
void bgs::protocol::channel::v1::Message::InitAsDefaultInstance ( )
private
bool bgs::protocol::channel::v1::Message::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::Message::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::channel::v1::Message::MergeFrom ( const Message from)
bool bgs::protocol::channel::v1::Message::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
bgs::protocol::Attribute * bgs::protocol::channel::v1::Message::mutable_attribute ( int  index)
inline
1233  {
1234  // @@protoc_insertion_point(field_mutable:bgs.protocol.channel.v1.Message.attribute)
1235  return attribute_.Mutable(index);
1236 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
google::protobuf::RepeatedPtrField<::bgs::protocol::Attribute > * bgs::protocol::channel::v1::Message::mutable_attribute ( )
inline
1247  {
1248  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.channel.v1.Message.attribute)
1249  return &attribute_;
1250 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > attribute_
Definition: channel_types.pb.h:262
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::channel::v1::Message::mutable_unknown_fields ( )
inline
194  {
195  return &_unknown_fields_;
196  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:258
Message* bgs::protocol::channel::v1::Message::New ( ) const
virtual
Message& bgs::protocol::channel::v1::Message::operator= ( const Message from)
inline
185  {
186  CopyFrom(from);
187  return *this;
188  }
void CopyFrom(const ::google::protobuf::Message &from)
google::protobuf::uint32 bgs::protocol::channel::v1::Message::role ( ) const
inline
1266  {
1267  // @@protoc_insertion_point(field_get:bgs.protocol.channel.v1.Message.role)
1268  return role_;
1269 }
::google::protobuf::uint32 role_
Definition: channel_types.pb.h:263
void bgs::protocol::channel::v1::Message::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::channel::v1::Message::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::channel::v1::Message::set_has_role ( )
inlineprivate
1256  {
1257  _has_bits_[0] |= 0x00000002u;
1258 }
::google::protobuf::uint32 _has_bits_[1]
Definition: channel_types.pb.h:260
void bgs::protocol::channel::v1::Message::set_role ( ::google::protobuf::uint32  value)
inline
1270  {
1271  set_has_role();
1272  role_ = value;
1273  // @@protoc_insertion_point(field_set:bgs.protocol.channel.v1.Message.role)
1274 }
void set_has_role()
Definition: channel_types.pb.h:1256
::google::protobuf::uint32 role_
Definition: channel_types.pb.h:263
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::channel::v1::Message::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::channel::v1::Message::SharedCtor ( )
private
void bgs::protocol::channel::v1::Message::SharedDtor ( )
private
void bgs::protocol::channel::v1::Message::Swap ( Message other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::channel::v1::Message::unknown_fields ( ) const
inline
190  {
191  return _unknown_fields_;
192  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: channel_types.pb.h:258

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::Message::_cached_size_
mutableprivate
::google::protobuf::internal::ExtensionSet bgs::protocol::channel::v1::Message::_extensions_
private
::google::protobuf::uint32 bgs::protocol::channel::v1::Message::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::channel::v1::Message::_unknown_fields_
private
::google::protobuf::RepeatedPtrField< ::bgs::protocol::Attribute > bgs::protocol::channel::v1::Message::attribute_
private
Message* bgs::protocol::channel::v1::Message::default_instance_
staticprivate
const int bgs::protocol::channel::v1::Message::kAttributeFieldNumber = 1
static
const int bgs::protocol::channel::v1::Message::kRoleFieldNumber = 2
static
::google::protobuf::uint32 bgs::protocol::channel::v1::Message::role_
private

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