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

#include <connection_service.pb.h>

Public Member Functions

 EchoResponse ()
 
virtual ~EchoResponse ()
 
 EchoResponse (const EchoResponse &from)
 
EchoResponseoperator= (const EchoResponse &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (EchoResponse *other)
 
EchoResponseNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const EchoResponse &from)
 
void MergeFrom (const EchoResponse &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_time () const
 
void clear_time ()
 
inline::google::protobuf::uint64 time () const
 
void set_time (::google::protobuf::uint64 value)
 
bool has_payload () const
 
void clear_payload ()
 
const ::std::string & payload () const
 
void set_payload (const ::std::string &value)
 
void set_payload (const char *value)
 
void set_payload (const void *value, size_t size)
 
inline::std::string * mutable_payload ()
 
inline::std::string * release_payload ()
 
void set_allocated_payload (::std::string *payload)
 
- 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 EchoResponsedefault_instance ()
 

Static Public Attributes

static const int kTimeFieldNumber = 1
 
static const int kPayloadFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_time ()
 
void clear_has_time ()
 
void set_has_payload ()
 
void clear_has_payload ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::google::protobuf::uint64 time_
 
::std::string * payload_
 

Static Private Attributes

static EchoResponsedefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto ()
 
void protobuf_AssignDesc_connection_5fservice_2eproto ()
 
void protobuf_ShutdownFile_connection_5fservice_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::connection::v1::EchoResponse::EchoResponse ( )
virtual bgs::protocol::connection::v1::EchoResponse::~EchoResponse ( )
virtual
bgs::protocol::connection::v1::EchoResponse::EchoResponse ( const EchoResponse from)

Member Function Documentation

int bgs::protocol::connection::v1::EchoResponse::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoResponse::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoResponse::clear_has_payload ( )
inlineprivate
1978  {
1979  _has_bits_[0] &= ~0x00000002u;
1980 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:882
void bgs::protocol::connection::v1::EchoResponse::clear_has_time ( )
inlineprivate
1954  {
1955  _has_bits_[0] &= ~0x00000001u;
1956 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:882
void bgs::protocol::connection::v1::EchoResponse::clear_payload ( )
inline
1981  {
1983  payload_->clear();
1984  }
1986 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_payload()
Definition: connection_service.pb.h:1978
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoResponse::clear_time ( )
inline
1957  {
1958  time_ = GOOGLE_ULONGLONG(0);
1959  clear_has_time();
1960 }
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:884
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
void clear_has_time()
Definition: connection_service.pb.h:1954
void bgs::protocol::connection::v1::EchoResponse::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::connection::v1::EchoResponse::CopyFrom ( const EchoResponse from)
static const EchoResponse& bgs::protocol::connection::v1::EchoResponse::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::connection::v1::EchoResponse::descriptor ( )
static
int bgs::protocol::connection::v1::EchoResponse::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

842 { return _cached_size_; }
int _cached_size_
Definition: connection_service.pb.h:883
::google::protobuf::Metadata bgs::protocol::connection::v1::EchoResponse::GetMetadata ( ) const
virtual
bool bgs::protocol::connection::v1::EchoResponse::has_payload ( ) const
inline
1972  {
1973  return (_has_bits_[0] & 0x00000002u) != 0;
1974 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:882
bool bgs::protocol::connection::v1::EchoResponse::has_time ( ) const
inline
1948  {
1949  return (_has_bits_[0] & 0x00000001u) != 0;
1950 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:882
void bgs::protocol::connection::v1::EchoResponse::InitAsDefaultInstance ( )
private
bool bgs::protocol::connection::v1::EchoResponse::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoResponse::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::connection::v1::EchoResponse::MergeFrom ( const EchoResponse from)
bool bgs::protocol::connection::v1::EchoResponse::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * bgs::protocol::connection::v1::EchoResponse::mutable_payload ( )
inline
2015  {
2016  set_has_payload();
2018  payload_ = new ::std::string;
2019  }
2020  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.EchoResponse.payload)
2021  return payload_;
2022 }
void set_has_payload()
Definition: connection_service.pb.h:1975
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::connection::v1::EchoResponse::mutable_unknown_fields ( )
inline
817  {
818  return &_unknown_fields_;
819  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:880
EchoResponse* bgs::protocol::connection::v1::EchoResponse::New ( ) const
virtual
EchoResponse& bgs::protocol::connection::v1::EchoResponse::operator= ( const EchoResponse from)
inline
808  {
809  CopyFrom(from);
810  return *this;
811  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::std::string & bgs::protocol::connection::v1::EchoResponse::payload ( ) const
inline
1987  {
1988  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoResponse.payload)
1989  return *payload_;
1990 }
::std::string * payload_
Definition: connection_service.pb.h:885
std::string * bgs::protocol::connection::v1::EchoResponse::release_payload ( )
inline
2023  {
2026  return NULL;
2027  } else {
2028  ::std::string* temp = payload_;
2029  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2030  return temp;
2031  }
2032 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_payload()
Definition: connection_service.pb.h:1978
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoResponse::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::connection::v1::EchoResponse::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::connection::v1::EchoResponse::set_allocated_payload ( ::std::string *  payload)
inline
2033  {
2035  delete payload_;
2036  }
2037  if (payload) {
2038  set_has_payload();
2039  payload_ = payload;
2040  } else {
2042  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2043  }
2044  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.EchoResponse.payload)
2045 }
const ::std::string & payload() const
Definition: connection_service.pb.h:1987
void set_has_payload()
Definition: connection_service.pb.h:1975
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_payload()
Definition: connection_service.pb.h:1978
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoResponse::set_has_payload ( )
inlineprivate
1975  {
1976  _has_bits_[0] |= 0x00000002u;
1977 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:882
void bgs::protocol::connection::v1::EchoResponse::set_has_time ( )
inlineprivate
1951  {
1952  _has_bits_[0] |= 0x00000001u;
1953 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:882
void bgs::protocol::connection::v1::EchoResponse::set_payload ( const ::std::string &  value)
inline
1991  {
1992  set_has_payload();
1994  payload_ = new ::std::string;
1995  }
1996  payload_->assign(value);
1997  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoResponse.payload)
1998 }
void set_has_payload()
Definition: connection_service.pb.h:1975
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoResponse::set_payload ( const char *  value)
inline
1999  {
2000  set_has_payload();
2002  payload_ = new ::std::string;
2003  }
2004  payload_->assign(value);
2005  // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.EchoResponse.payload)
2006 }
void set_has_payload()
Definition: connection_service.pb.h:1975
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoResponse::set_payload ( const void *  value,
size_t  size 
)
inline
2007  {
2008  set_has_payload();
2010  payload_ = new ::std::string;
2011  }
2012  payload_->assign(reinterpret_cast<const char*>(value), size);
2013  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.EchoResponse.payload)
2014 }
void set_has_payload()
Definition: connection_service.pb.h:1975
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522
::std::string * payload_
Definition: connection_service.pb.h:885

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoResponse::set_time ( ::google::protobuf::uint64  value)
inline
1965  {
1966  set_has_time();
1967  time_ = value;
1968  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoResponse.time)
1969 }
void set_has_time()
Definition: connection_service.pb.h:1951
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:884
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::connection::v1::EchoResponse::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoResponse::SharedCtor ( )
private
void bgs::protocol::connection::v1::EchoResponse::SharedDtor ( )
private
void bgs::protocol::connection::v1::EchoResponse::Swap ( EchoResponse other)
google::protobuf::uint64 bgs::protocol::connection::v1::EchoResponse::time ( ) const
inline
1961  {
1962  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoResponse.time)
1963  return time_;
1964 }
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:884
const ::google::protobuf::UnknownFieldSet& bgs::protocol::connection::v1::EchoResponse::unknown_fields ( ) const
inline
813  {
814  return _unknown_fields_;
815  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:880

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_connection_5fservice_2eproto ( )
friend
void protobuf_AssignDesc_connection_5fservice_2eproto ( )
friend
void protobuf_ShutdownFile_connection_5fservice_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::connection::v1::EchoResponse::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::connection::v1::EchoResponse::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::connection::v1::EchoResponse::_unknown_fields_
private
EchoResponse* bgs::protocol::connection::v1::EchoResponse::default_instance_
staticprivate
const int bgs::protocol::connection::v1::EchoResponse::kPayloadFieldNumber = 2
static
const int bgs::protocol::connection::v1::EchoResponse::kTimeFieldNumber = 1
static
::std::string* bgs::protocol::connection::v1::EchoResponse::payload_
private
::google::protobuf::uint64 bgs::protocol::connection::v1::EchoResponse::time_
private

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