TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::config::RPCMeterConfig Class Reference

#include <rpc_config.pb.h>

Public Member Functions

 RPCMeterConfig ()
 
virtual ~RPCMeterConfig ()
 
 RPCMeterConfig (const RPCMeterConfig &from)
 
RPCMeterConfigoperator= (const RPCMeterConfig &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (RPCMeterConfig *other)
 
RPCMeterConfigNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const RPCMeterConfig &from)
 
void MergeFrom (const RPCMeterConfig &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 method_size () const
 
void clear_method ()
 
const
::bgs::protocol::config::RPCMethodConfig
method (int index) const
 
inline::bgs::protocol::config::RPCMethodConfig * mutable_method (int index)
 
inline::bgs::protocol::config::RPCMethodConfig * add_method ()
 
const
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::config::RPCMethodConfig > & 
method () const
 
inline::google::protobuf::RepeatedPtrField
< ::bgs::protocol::config::RPCMethodConfig > * 
mutable_method ()
 
bool has_income_per_second () const
 
void clear_income_per_second ()
 
inline::google::protobuf::uint32 income_per_second () const
 
void set_income_per_second (::google::protobuf::uint32 value)
 
bool has_initial_balance () const
 
void clear_initial_balance ()
 
inline::google::protobuf::uint32 initial_balance () const
 
void set_initial_balance (::google::protobuf::uint32 value)
 
bool has_cap_balance () const
 
void clear_cap_balance ()
 
inline::google::protobuf::uint32 cap_balance () const
 
void set_cap_balance (::google::protobuf::uint32 value)
 
bool has_startup_period () const
 
void clear_startup_period ()
 
float startup_period () const
 
void set_startup_period (float value)
 
- 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 RPCMeterConfigdefault_instance ()
 

Static Public Attributes

static const int kMethodFieldNumber = 1
 
static const int kIncomePerSecondFieldNumber = 2
 
static const int kInitialBalanceFieldNumber = 3
 
static const int kCapBalanceFieldNumber = 4
 
static const int kStartupPeriodFieldNumber = 5
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_income_per_second ()
 
void clear_has_income_per_second ()
 
void set_has_initial_balance ()
 
void clear_has_initial_balance ()
 
void set_has_cap_balance ()
 
void clear_has_cap_balance ()
 
void set_has_startup_period ()
 
void clear_has_startup_period ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::google::protobuf::RepeatedPtrField
< ::bgs::protocol::config::RPCMethodConfig
method_
 
::google::protobuf::uint32 income_per_second_
 
::google::protobuf::uint32 initial_balance_
 
::google::protobuf::uint32 cap_balance_
 
float startup_period_
 

Static Private Attributes

static RPCMeterConfigdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_rpc_5fconfig_2eproto ()
 
void protobuf_AssignDesc_rpc_5fconfig_2eproto ()
 
void protobuf_ShutdownFile_rpc_5fconfig_2eproto ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

bgs::protocol::config::RPCMeterConfig::RPCMeterConfig ( )
virtual bgs::protocol::config::RPCMeterConfig::~RPCMeterConfig ( )
virtual
bgs::protocol::config::RPCMeterConfig::RPCMeterConfig ( const RPCMeterConfig from)

Member Function Documentation

bgs::protocol::config::RPCMethodConfig * bgs::protocol::config::RPCMeterConfig::add_method ( )
inline
1069  {
1070  // @@protoc_insertion_point(field_add:bgs.protocol.config.RPCMeterConfig.method)
1071  return method_.Add();
1072 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
int bgs::protocol::config::RPCMeterConfig::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::cap_balance ( ) const
inline
1146  {
1147  // @@protoc_insertion_point(field_get:bgs.protocol.config.RPCMeterConfig.cap_balance)
1148  return cap_balance_;
1149 }
::google::protobuf::uint32 cap_balance_
Definition: rpc_config.pb.h:386
void bgs::protocol::config::RPCMeterConfig::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::config::RPCMeterConfig::clear_cap_balance ( )
inline
1142  {
1143  cap_balance_ = 0u;
1145 }
::google::protobuf::uint32 cap_balance_
Definition: rpc_config.pb.h:386
void clear_has_cap_balance()
Definition: rpc_config.pb.h:1139
void bgs::protocol::config::RPCMeterConfig::clear_has_cap_balance ( )
inlineprivate
1139  {
1140  _has_bits_[0] &= ~0x00000008u;
1141 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::clear_has_income_per_second ( )
inlineprivate
1091  {
1092  _has_bits_[0] &= ~0x00000002u;
1093 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::clear_has_initial_balance ( )
inlineprivate
1115  {
1116  _has_bits_[0] &= ~0x00000004u;
1117 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::clear_has_startup_period ( )
inlineprivate
1163  {
1164  _has_bits_[0] &= ~0x00000010u;
1165 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::clear_income_per_second ( )
inline
1094  {
1095  income_per_second_ = 1u;
1097 }
void clear_has_income_per_second()
Definition: rpc_config.pb.h:1091
::google::protobuf::uint32 income_per_second_
Definition: rpc_config.pb.h:384
void bgs::protocol::config::RPCMeterConfig::clear_initial_balance ( )
inline
1118  {
1119  initial_balance_ = 0u;
1121 }
::google::protobuf::uint32 initial_balance_
Definition: rpc_config.pb.h:385
void clear_has_initial_balance()
Definition: rpc_config.pb.h:1115
void bgs::protocol::config::RPCMeterConfig::clear_method ( )
inline
1058  {
1059  method_.Clear();
1060 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
void bgs::protocol::config::RPCMeterConfig::clear_startup_period ( )
inline
1166  {
1167  startup_period_ = 0;
1169 }
void clear_has_startup_period()
Definition: rpc_config.pb.h:1163
float startup_period_
Definition: rpc_config.pb.h:387
void bgs::protocol::config::RPCMeterConfig::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::config::RPCMeterConfig::CopyFrom ( const RPCMeterConfig from)
static const RPCMeterConfig& bgs::protocol::config::RPCMeterConfig::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::config::RPCMeterConfig::descriptor ( )
static
int bgs::protocol::config::RPCMeterConfig::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

316 { return _cached_size_; }
int _cached_size_
Definition: rpc_config.pb.h:382
::google::protobuf::Metadata bgs::protocol::config::RPCMeterConfig::GetMetadata ( ) const
virtual
bool bgs::protocol::config::RPCMeterConfig::has_cap_balance ( ) const
inline
1133  {
1134  return (_has_bits_[0] & 0x00000008u) != 0;
1135 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
bool bgs::protocol::config::RPCMeterConfig::has_income_per_second ( ) const
inline
1085  {
1086  return (_has_bits_[0] & 0x00000002u) != 0;
1087 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
bool bgs::protocol::config::RPCMeterConfig::has_initial_balance ( ) const
inline
1109  {
1110  return (_has_bits_[0] & 0x00000004u) != 0;
1111 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
bool bgs::protocol::config::RPCMeterConfig::has_startup_period ( ) const
inline
1157  {
1158  return (_has_bits_[0] & 0x00000010u) != 0;
1159 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::income_per_second ( ) const
inline
1098  {
1099  // @@protoc_insertion_point(field_get:bgs.protocol.config.RPCMeterConfig.income_per_second)
1100  return income_per_second_;
1101 }
::google::protobuf::uint32 income_per_second_
Definition: rpc_config.pb.h:384
void bgs::protocol::config::RPCMeterConfig::InitAsDefaultInstance ( )
private
google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::initial_balance ( ) const
inline
1122  {
1123  // @@protoc_insertion_point(field_get:bgs.protocol.config.RPCMeterConfig.initial_balance)
1124  return initial_balance_;
1125 }
::google::protobuf::uint32 initial_balance_
Definition: rpc_config.pb.h:385
bool bgs::protocol::config::RPCMeterConfig::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::config::RPCMeterConfig::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::config::RPCMeterConfig::MergeFrom ( const RPCMeterConfig from)
bool bgs::protocol::config::RPCMeterConfig::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
const ::bgs::protocol::config::RPCMethodConfig & bgs::protocol::config::RPCMeterConfig::method ( int  index) const
inline
1061  {
1062  // @@protoc_insertion_point(field_get:bgs.protocol.config.RPCMeterConfig.method)
1063  return method_.Get(index);
1064 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
const ::google::protobuf::RepeatedPtrField<::bgs::protocol::config::RPCMethodConfig > & bgs::protocol::config::RPCMeterConfig::method ( ) const
inline
1074  {
1075  // @@protoc_insertion_point(field_list:bgs.protocol.config.RPCMeterConfig.method)
1076  return method_;
1077 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
int bgs::protocol::config::RPCMeterConfig::method_size ( ) const
inline
1055  {
1056  return method_.size();
1057 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
bgs::protocol::config::RPCMethodConfig * bgs::protocol::config::RPCMeterConfig::mutable_method ( int  index)
inline
1065  {
1066  // @@protoc_insertion_point(field_mutable:bgs.protocol.config.RPCMeterConfig.method)
1067  return method_.Mutable(index);
1068 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
google::protobuf::RepeatedPtrField<::bgs::protocol::config::RPCMethodConfig > * bgs::protocol::config::RPCMeterConfig::mutable_method ( )
inline
1079  {
1080  // @@protoc_insertion_point(field_mutable_list:bgs.protocol.config.RPCMeterConfig.method)
1081  return &method_;
1082 }
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > method_
Definition: rpc_config.pb.h:383
inline ::google::protobuf::UnknownFieldSet* bgs::protocol::config::RPCMeterConfig::mutable_unknown_fields ( )
inline
291  {
292  return &_unknown_fields_;
293  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_config.pb.h:379
RPCMeterConfig* bgs::protocol::config::RPCMeterConfig::New ( ) const
virtual
RPCMeterConfig& bgs::protocol::config::RPCMeterConfig::operator= ( const RPCMeterConfig from)
inline
282  {
283  CopyFrom(from);
284  return *this;
285  }
void CopyFrom(const ::google::protobuf::Message &from)
void bgs::protocol::config::RPCMeterConfig::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::config::RPCMeterConfig::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::config::RPCMeterConfig::set_cap_balance ( ::google::protobuf::uint32  value)
inline
1150  {
1152  cap_balance_ = value;
1153  // @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMeterConfig.cap_balance)
1154 }
void set_has_cap_balance()
Definition: rpc_config.pb.h:1136
::google::protobuf::uint32 cap_balance_
Definition: rpc_config.pb.h:386
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::config::RPCMeterConfig::set_has_cap_balance ( )
inlineprivate
1136  {
1137  _has_bits_[0] |= 0x00000008u;
1138 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::set_has_income_per_second ( )
inlineprivate
1088  {
1089  _has_bits_[0] |= 0x00000002u;
1090 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::set_has_initial_balance ( )
inlineprivate
1112  {
1113  _has_bits_[0] |= 0x00000004u;
1114 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::set_has_startup_period ( )
inlineprivate
1160  {
1161  _has_bits_[0] |= 0x00000010u;
1162 }
::google::protobuf::uint32 _has_bits_[1]
Definition: rpc_config.pb.h:381
void bgs::protocol::config::RPCMeterConfig::set_income_per_second ( ::google::protobuf::uint32  value)
inline
1102  {
1105  // @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMeterConfig.income_per_second)
1106 }
::google::protobuf::uint32 income_per_second_
Definition: rpc_config.pb.h:384
void set_has_income_per_second()
Definition: rpc_config.pb.h:1088
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::config::RPCMeterConfig::set_initial_balance ( ::google::protobuf::uint32  value)
inline
1126  {
1129  // @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMeterConfig.initial_balance)
1130 }
void set_has_initial_balance()
Definition: rpc_config.pb.h:1112
::google::protobuf::uint32 initial_balance_
Definition: rpc_config.pb.h:385
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::config::RPCMeterConfig::set_startup_period ( float  value)
inline
1174  {
1177  // @@protoc_insertion_point(field_set:bgs.protocol.config.RPCMeterConfig.startup_period)
1178 }
float startup_period_
Definition: rpc_config.pb.h:387
void set_has_startup_period()
Definition: rpc_config.pb.h:1160
const FieldDescriptor value
Definition: descriptor.h:1522
void bgs::protocol::config::RPCMeterConfig::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::config::RPCMeterConfig::SharedCtor ( )
private
void bgs::protocol::config::RPCMeterConfig::SharedDtor ( )
private
float bgs::protocol::config::RPCMeterConfig::startup_period ( ) const
inline
1170  {
1171  // @@protoc_insertion_point(field_get:bgs.protocol.config.RPCMeterConfig.startup_period)
1172  return startup_period_;
1173 }
float startup_period_
Definition: rpc_config.pb.h:387
void bgs::protocol::config::RPCMeterConfig::Swap ( RPCMeterConfig other)
const ::google::protobuf::UnknownFieldSet& bgs::protocol::config::RPCMeterConfig::unknown_fields ( ) const
inline
287  {
288  return _unknown_fields_;
289  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: rpc_config.pb.h:379

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_rpc_5fconfig_2eproto ( )
friend
void protobuf_AssignDesc_rpc_5fconfig_2eproto ( )
friend
void protobuf_ShutdownFile_rpc_5fconfig_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::config::RPCMeterConfig::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::config::RPCMeterConfig::_unknown_fields_
private
::google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::cap_balance_
private
RPCMeterConfig* bgs::protocol::config::RPCMeterConfig::default_instance_
staticprivate
::google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::income_per_second_
private
::google::protobuf::uint32 bgs::protocol::config::RPCMeterConfig::initial_balance_
private
const int bgs::protocol::config::RPCMeterConfig::kCapBalanceFieldNumber = 4
static
const int bgs::protocol::config::RPCMeterConfig::kIncomePerSecondFieldNumber = 2
static
const int bgs::protocol::config::RPCMeterConfig::kInitialBalanceFieldNumber = 3
static
const int bgs::protocol::config::RPCMeterConfig::kMethodFieldNumber = 1
static
const int bgs::protocol::config::RPCMeterConfig::kStartupPeriodFieldNumber = 5
static
::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig > bgs::protocol::config::RPCMeterConfig::method_
private
float bgs::protocol::config::RPCMeterConfig::startup_period_
private

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