57 return _unknown_fields_;
61 return &_unknown_fields_;
64 static const ::google::protobuf::Descriptor*
descriptor();
85 inline bool has_service_name() const PROTOBUF_DEPRECATED;
86 inline
void clear_service_name() PROTOBUF_DEPRECATED;
87 static const
int kServiceNameFieldNumber = 1;
88 inline const ::
std::
string& service_name() const PROTOBUF_DEPRECATED;
89 inline
void set_service_name(const ::
std::
string& value) PROTOBUF_DEPRECATED;
90 inline
void set_service_name(const
char* value) PROTOBUF_DEPRECATED;
91 inline
void set_service_name(const
char* value,
size_t size) PROTOBUF_DEPRECATED;
92 inline ::
std::
string* mutable_service_name() PROTOBUF_DEPRECATED;
93 inline ::
std::
string* release_service_name() PROTOBUF_DEPRECATED;
94 inline
void set_allocated_service_name(::
std::
string* service_name) PROTOBUF_DEPRECATED;
97 inline
bool has_method_name() const PROTOBUF_DEPRECATED;
98 inline
void clear_method_name() PROTOBUF_DEPRECATED;
99 static const
int kMethodNameFieldNumber = 2;
100 inline const ::
std::
string& method_name() const PROTOBUF_DEPRECATED;
101 inline
void set_method_name(const ::
std::
string& value) PROTOBUF_DEPRECATED;
102 inline
void set_method_name(const
char* value) PROTOBUF_DEPRECATED;
103 inline
void set_method_name(const
char* value,
size_t size) PROTOBUF_DEPRECATED;
104 inline ::
std::
string* mutable_method_name() PROTOBUF_DEPRECATED;
105 inline ::
std::
string* release_method_name() PROTOBUF_DEPRECATED;
106 inline
void set_allocated_method_name(::
std::
string* method_name) PROTOBUF_DEPRECATED;
109 inline
bool has_fixed_call_cost() const;
110 inline
void clear_fixed_call_cost();
111 static const
int kFixedCallCostFieldNumber = 3;
112 inline ::
google::protobuf::
uint32 fixed_call_cost() const;
113 inline
void set_fixed_call_cost(::
google::protobuf::
uint32 value);
116 inline
bool has_fixed_packet_size() const;
117 inline
void clear_fixed_packet_size();
118 static const
int kFixedPacketSizeFieldNumber = 4;
119 inline ::
google::protobuf::
uint32 fixed_packet_size() const;
120 inline
void set_fixed_packet_size(::
google::protobuf::
uint32 value);
123 inline
bool has_variable_multiplier() const;
124 inline
void clear_variable_multiplier();
125 static const
int kVariableMultiplierFieldNumber = 5;
126 inline
float variable_multiplier() const;
127 inline
void set_variable_multiplier(
float value);
130 inline
bool has_multiplier() const;
131 inline
void clear_multiplier();
132 static const
int kMultiplierFieldNumber = 6;
133 inline
float multiplier() const;
134 inline
void set_multiplier(
float value);
137 inline
bool has_rate_limit_count() const;
138 inline
void clear_rate_limit_count();
139 static const
int kRateLimitCountFieldNumber = 7;
140 inline ::
google::protobuf::
uint32 rate_limit_count() const;
141 inline
void set_rate_limit_count(::
google::protobuf::
uint32 value);
144 inline
bool has_rate_limit_seconds() const;
145 inline
void clear_rate_limit_seconds();
146 static const
int kRateLimitSecondsFieldNumber = 8;
147 inline ::
google::protobuf::
uint32 rate_limit_seconds() const;
148 inline
void set_rate_limit_seconds(::
google::protobuf::
uint32 value);
151 inline
bool has_max_packet_size() const;
152 inline
void clear_max_packet_size();
153 static const
int kMaxPacketSizeFieldNumber = 9;
154 inline ::
google::protobuf::
uint32 max_packet_size() const;
155 inline
void set_max_packet_size(::
google::protobuf::
uint32 value);
158 inline
bool has_max_encoded_size() const;
159 inline
void clear_max_encoded_size();
160 static const
int kMaxEncodedSizeFieldNumber = 10;
161 inline ::
google::protobuf::
uint32 max_encoded_size() const;
162 inline
void set_max_encoded_size(::
google::protobuf::
uint32 value);
165 inline
bool has_timeout() const;
166 inline
void clear_timeout();
167 static const
int kTimeoutFieldNumber = 11;
168 inline
float timeout() const;
169 inline
void set_timeout(
float value);
172 inline
bool has_cap_balance() const;
173 inline
void clear_cap_balance();
174 static const
int kCapBalanceFieldNumber = 12;
176 inline
void set_cap_balance(::
google::protobuf::
uint32 value);
179 inline
bool has_income_per_second() const;
180 inline
void clear_income_per_second();
181 static const
int kIncomePerSecondFieldNumber = 13;
182 inline
float income_per_second() const;
183 inline
void set_income_per_second(
float value);
186 inline
bool has_service_hash() const;
187 inline
void clear_service_hash();
188 static const
int kServiceHashFieldNumber = 14;
190 inline
void set_service_hash(::
google::protobuf::
uint32 value);
193 inline
bool has_method_id() const;
194 inline
void clear_method_id();
195 static const
int kMethodIdFieldNumber = 15;
197 inline
void set_method_id(::
google::protobuf::
uint32 value);
201 inline
void set_has_service_name();
202 inline
void clear_has_service_name();
203 inline
void set_has_method_name();
204 inline
void clear_has_method_name();
205 inline
void set_has_fixed_call_cost();
206 inline
void clear_has_fixed_call_cost();
207 inline
void set_has_fixed_packet_size();
208 inline
void clear_has_fixed_packet_size();
209 inline
void set_has_variable_multiplier();
210 inline
void clear_has_variable_multiplier();
211 inline
void set_has_multiplier();
212 inline
void clear_has_multiplier();
213 inline
void set_has_rate_limit_count();
214 inline
void clear_has_rate_limit_count();
215 inline
void set_has_rate_limit_seconds();
216 inline
void clear_has_rate_limit_seconds();
217 inline
void set_has_max_packet_size();
218 inline
void clear_has_max_packet_size();
219 inline
void set_has_max_encoded_size();
220 inline
void clear_has_max_encoded_size();
221 inline
void set_has_timeout();
222 inline
void clear_has_timeout();
223 inline
void set_has_cap_balance();
224 inline
void clear_has_cap_balance();
225 inline
void set_has_income_per_second();
226 inline
void clear_has_income_per_second();
227 inline
void set_has_service_hash();
228 inline
void clear_has_service_hash();
229 inline
void set_has_method_id();
230 inline
void clear_has_method_id();
232 ::
google::protobuf::UnknownFieldSet _unknown_fields_;
235 mutable
int _cached_size_;
236 ::
std::
string* service_name_;
237 ::
std::
string* method_name_;
240 float variable_multiplier_;
248 float income_per_second_;
252 friend
void protobuf_AssignDesc_rpc_5fconfig_2eproto();
253 friend
void protobuf_ShutdownFile_rpc_5fconfig_2eproto();
255 void InitAsDefaultInstance();
273 return _unknown_fields_;
277 return &_unknown_fields_;
301 inline int method_size()
const;
302 inline void clear_method();
303 static const int kMethodFieldNumber = 1;
304 inline const ::bgs::protocol::config::RPCMethodConfig& method(
int index)
const;
305 inline ::bgs::protocol::config::RPCMethodConfig* mutable_method(
int index);
306 inline ::bgs::protocol::config::RPCMethodConfig* add_method();
307 inline const ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig >&
309 inline ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig >*
313 inline bool has_income_per_second()
const;
314 inline void clear_income_per_second();
315 static const int kIncomePerSecondFieldNumber = 2;
316 inline ::google::protobuf::uint32 income_per_second()
const;
317 inline void set_income_per_second(::google::protobuf::uint32 value);
320 inline bool has_initial_balance()
const;
321 inline void clear_initial_balance();
322 static const int kInitialBalanceFieldNumber = 3;
323 inline ::google::protobuf::uint32 initial_balance()
const;
324 inline void set_initial_balance(::google::protobuf::uint32 value);
327 inline bool has_cap_balance()
const;
328 inline void clear_cap_balance();
329 static const int kCapBalanceFieldNumber = 4;
330 inline ::google::protobuf::uint32 cap_balance()
const;
331 inline void set_cap_balance(::google::protobuf::uint32 value);
334 inline bool has_startup_period()
const;
335 inline void clear_startup_period();
336 static const int kStartupPeriodFieldNumber = 5;
337 inline float startup_period()
const;
338 inline void set_startup_period(
float value);
342 inline void set_has_income_per_second();
343 inline void clear_has_income_per_second();
344 inline void set_has_initial_balance();
345 inline void clear_has_initial_balance();
346 inline void set_has_cap_balance();
347 inline void clear_has_cap_balance();
348 inline void set_has_startup_period();
349 inline void clear_has_startup_period();
353 ::google::protobuf::uint32 _has_bits_[1];
355 ::google::protobuf::RepeatedPtrField< ::bgs::protocol::config::RPCMethodConfig >
method_;