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

#include <connection_service.pb.h>

Public Member Functions

 EchoRequest ()
 
virtual ~EchoRequest ()
 
 EchoRequest (const EchoRequest &from)
 
EchoRequestoperator= (const EchoRequest &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (EchoRequest *other)
 
EchoRequestNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const EchoRequest &from)
 
void MergeFrom (const EchoRequest &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_network_only () const
 
void clear_network_only ()
 
bool network_only () const
 
void set_network_only (bool 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 EchoRequestdefault_instance ()
 

Static Public Attributes

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

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_time ()
 
void clear_has_time ()
 
void set_has_network_only ()
 
void clear_has_network_only ()
 
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_
 
bool network_only_
 

Static Private Attributes

static EchoRequestdefault_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::EchoRequest::EchoRequest ( )
virtual bgs::protocol::connection::v1::EchoRequest::~EchoRequest ( )
virtual
bgs::protocol::connection::v1::EchoRequest::EchoRequest ( const EchoRequest from)

Member Function Documentation

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

Reimplemented from google::protobuf::Message.

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

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoRequest::clear_has_network_only ( )
inlineprivate
1850  {
1851  _has_bits_[0] &= ~0x00000002u;
1852 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::clear_has_payload ( )
inlineprivate
1874  {
1875  _has_bits_[0] &= ~0x00000004u;
1876 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::clear_has_time ( )
inlineprivate
1826  {
1827  _has_bits_[0] &= ~0x00000001u;
1828 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::clear_network_only ( )
inline
1853  {
1854  network_only_ = false;
1856 }
bool network_only_
Definition: connection_service.pb.h:791
void clear_has_network_only()
Definition: connection_service.pb.h:1850
void bgs::protocol::connection::v1::EchoRequest::clear_payload ( )
inline
1877  {
1879  payload_->clear();
1880  }
1882 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void clear_has_payload()
Definition: connection_service.pb.h:1874

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoRequest::clear_time ( )
inline
1829  {
1830  time_ = GOOGLE_ULONGLONG(0);
1831  clear_has_time();
1832 }
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:789
void clear_has_time()
Definition: connection_service.pb.h:1826
#define GOOGLE_ULONGLONG(x)
Definition: common.h:193
void bgs::protocol::connection::v1::EchoRequest::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::connection::v1::EchoRequest::CopyFrom ( const EchoRequest from)
static const EchoRequest& bgs::protocol::connection::v1::EchoRequest::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::connection::v1::EchoRequest::descriptor ( )
static
int bgs::protocol::connection::v1::EchoRequest::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

738 { return _cached_size_; }
int _cached_size_
Definition: connection_service.pb.h:788
::google::protobuf::Metadata bgs::protocol::connection::v1::EchoRequest::GetMetadata ( ) const
virtual
bool bgs::protocol::connection::v1::EchoRequest::has_network_only ( ) const
inline
1844  {
1845  return (_has_bits_[0] & 0x00000002u) != 0;
1846 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
bool bgs::protocol::connection::v1::EchoRequest::has_payload ( ) const
inline
1868  {
1869  return (_has_bits_[0] & 0x00000004u) != 0;
1870 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
bool bgs::protocol::connection::v1::EchoRequest::has_time ( ) const
inline
1820  {
1821  return (_has_bits_[0] & 0x00000001u) != 0;
1822 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::InitAsDefaultInstance ( )
private
bool bgs::protocol::connection::v1::EchoRequest::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoRequest::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::connection::v1::EchoRequest::MergeFrom ( const EchoRequest from)
bool bgs::protocol::connection::v1::EchoRequest::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * bgs::protocol::connection::v1::EchoRequest::mutable_payload ( )
inline
1911  {
1912  set_has_payload();
1914  payload_ = new ::std::string;
1915  }
1916  // @@protoc_insertion_point(field_mutable:bgs.protocol.connection.v1.EchoRequest.payload)
1917  return payload_;
1918 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void set_has_payload()
Definition: connection_service.pb.h:1871

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::connection::v1::EchoRequest::mutable_unknown_fields ( )
inline
713  {
714  return &_unknown_fields_;
715  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:785
bool bgs::protocol::connection::v1::EchoRequest::network_only ( ) const
inline
1857  {
1858  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoRequest.network_only)
1859  return network_only_;
1860 }
bool network_only_
Definition: connection_service.pb.h:791
EchoRequest* bgs::protocol::connection::v1::EchoRequest::New ( ) const
virtual
EchoRequest& bgs::protocol::connection::v1::EchoRequest::operator= ( const EchoRequest from)
inline
704  {
705  CopyFrom(from);
706  return *this;
707  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::std::string & bgs::protocol::connection::v1::EchoRequest::payload ( ) const
inline
1883  {
1884  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoRequest.payload)
1885  return *payload_;
1886 }
::std::string * payload_
Definition: connection_service.pb.h:790
std::string * bgs::protocol::connection::v1::EchoRequest::release_payload ( )
inline
1919  {
1922  return NULL;
1923  } else {
1924  ::std::string* temp = payload_;
1925  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1926  return temp;
1927  }
1928 }
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void clear_has_payload()
Definition: connection_service.pb.h:1874

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoRequest::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::connection::v1::EchoRequest::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::connection::v1::EchoRequest::set_allocated_payload ( ::std::string *  payload)
inline
1929  {
1931  delete payload_;
1932  }
1933  if (payload) {
1934  set_has_payload();
1935  payload_ = payload;
1936  } else {
1938  payload_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1939  }
1940  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.connection.v1.EchoRequest.payload)
1941 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void set_has_payload()
Definition: connection_service.pb.h:1871
void clear_has_payload()
Definition: connection_service.pb.h:1874
const ::std::string & payload() const
Definition: connection_service.pb.h:1883

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoRequest::set_has_network_only ( )
inlineprivate
1847  {
1848  _has_bits_[0] |= 0x00000002u;
1849 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::set_has_payload ( )
inlineprivate
1871  {
1872  _has_bits_[0] |= 0x00000004u;
1873 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::set_has_time ( )
inlineprivate
1823  {
1824  _has_bits_[0] |= 0x00000001u;
1825 }
::google::protobuf::uint32 _has_bits_[1]
Definition: connection_service.pb.h:787
void bgs::protocol::connection::v1::EchoRequest::set_network_only ( bool  value)
inline
1861  {
1863  network_only_ = value;
1864  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoRequest.network_only)
1865 }
bool network_only_
Definition: connection_service.pb.h:791
void set_has_network_only()
Definition: connection_service.pb.h:1847
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::connection::v1::EchoRequest::set_payload ( const ::std::string &  value)
inline
1887  {
1888  set_has_payload();
1890  payload_ = new ::std::string;
1891  }
1892  payload_->assign(value);
1893  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoRequest.payload)
1894 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void set_has_payload()
Definition: connection_service.pb.h:1871
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoRequest::set_payload ( const char *  value)
inline
1895  {
1896  set_has_payload();
1898  payload_ = new ::std::string;
1899  }
1900  payload_->assign(value);
1901  // @@protoc_insertion_point(field_set_char:bgs.protocol.connection.v1.EchoRequest.payload)
1902 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void set_has_payload()
Definition: connection_service.pb.h:1871
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoRequest::set_payload ( const void *  value,
size_t  size 
)
inline
1903  {
1904  set_has_payload();
1906  payload_ = new ::std::string;
1907  }
1908  payload_->assign(reinterpret_cast<const char*>(value), size);
1909  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.connection.v1.EchoRequest.payload)
1910 }
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
::std::string * payload_
Definition: connection_service.pb.h:790
void set_has_payload()
Definition: connection_service.pb.h:1871
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::connection::v1::EchoRequest::set_time ( ::google::protobuf::uint64  value)
inline
1837  {
1838  set_has_time();
1839  time_ = value;
1840  // @@protoc_insertion_point(field_set:bgs.protocol.connection.v1.EchoRequest.time)
1841 }
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:789
const FieldDescriptor value
Definition: descriptor.h:1522
void set_has_time()
Definition: connection_service.pb.h:1823
void bgs::protocol::connection::v1::EchoRequest::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::connection::v1::EchoRequest::SharedCtor ( )
private
void bgs::protocol::connection::v1::EchoRequest::SharedDtor ( )
private
void bgs::protocol::connection::v1::EchoRequest::Swap ( EchoRequest other)
google::protobuf::uint64 bgs::protocol::connection::v1::EchoRequest::time ( ) const
inline
1833  {
1834  // @@protoc_insertion_point(field_get:bgs.protocol.connection.v1.EchoRequest.time)
1835  return time_;
1836 }
::google::protobuf::uint64 time_
Definition: connection_service.pb.h:789
const ::google::protobuf::UnknownFieldSet& bgs::protocol::connection::v1::EchoRequest::unknown_fields ( ) const
inline
709  {
710  return _unknown_fields_;
711  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: connection_service.pb.h:785

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::EchoRequest::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::connection::v1::EchoRequest::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::connection::v1::EchoRequest::_unknown_fields_
private
EchoRequest* bgs::protocol::connection::v1::EchoRequest::default_instance_
staticprivate
const int bgs::protocol::connection::v1::EchoRequest::kNetworkOnlyFieldNumber = 2
static
const int bgs::protocol::connection::v1::EchoRequest::kPayloadFieldNumber = 3
static
const int bgs::protocol::connection::v1::EchoRequest::kTimeFieldNumber = 1
static
bool bgs::protocol::connection::v1::EchoRequest::network_only_
private
::std::string* bgs::protocol::connection::v1::EchoRequest::payload_
private
::google::protobuf::uint64 bgs::protocol::connection::v1::EchoRequest::time_
private

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