Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // source: test/cpp/qps/perf_db.proto
3 :
4 : #ifndef PROTOBUF_test_2fcpp_2fqps_2fperf_5fdb_2eproto__INCLUDED
5 : #define PROTOBUF_test_2fcpp_2fqps_2fperf_5fdb_2eproto__INCLUDED
6 :
7 : #include <string>
8 :
9 : #include <google/protobuf/stubs/common.h>
10 :
11 : #if GOOGLE_PROTOBUF_VERSION < 3000000
12 : #error This file was generated by a newer version of protoc which is
13 : #error incompatible with your Protocol Buffer headers. Please update
14 : #error your headers.
15 : #endif
16 : #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 : #error This file was generated by an older version of protoc which is
18 : #error incompatible with your Protocol Buffer headers. Please
19 : #error regenerate this file with a newer version of protoc.
20 : #endif
21 :
22 : #include <google/protobuf/arena.h>
23 : #include <google/protobuf/arenastring.h>
24 : #include <google/protobuf/generated_message_util.h>
25 : #include <google/protobuf/metadata.h>
26 : #include <google/protobuf/message.h>
27 : #include <google/protobuf/repeated_field.h>
28 : #include <google/protobuf/extension_set.h>
29 : #include <google/protobuf/unknown_field_set.h>
30 : #include "test/cpp/qps/qpstest.pb.h"
31 : // @@protoc_insertion_point(includes)
32 :
33 : namespace grpc {
34 : namespace testing {
35 :
36 : // Internal implementation detail -- do not call these.
37 : void protobuf_AddDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
38 : void protobuf_AssignDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
39 : void protobuf_ShutdownFile_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
40 :
41 : class Metrics;
42 : class SingleUserRecordReply;
43 : class SingleUserRecordRequest;
44 :
45 : // ===================================================================
46 :
47 : class Metrics : public ::google::protobuf::Message {
48 : public:
49 : Metrics();
50 : virtual ~Metrics();
51 :
52 : Metrics(const Metrics& from);
53 :
54 : inline Metrics& operator=(const Metrics& from) {
55 : CopyFrom(from);
56 : return *this;
57 : }
58 :
59 : static const ::google::protobuf::Descriptor* descriptor();
60 : static const Metrics& default_instance();
61 :
62 : void Swap(Metrics* other);
63 :
64 : // implements Message ----------------------------------------------
65 :
66 0 : inline Metrics* New() const { return New(NULL); }
67 :
68 : Metrics* New(::google::protobuf::Arena* arena) const;
69 : void CopyFrom(const ::google::protobuf::Message& from);
70 : void MergeFrom(const ::google::protobuf::Message& from);
71 : void CopyFrom(const Metrics& from);
72 : void MergeFrom(const Metrics& from);
73 : void Clear();
74 : bool IsInitialized() const;
75 :
76 : int ByteSize() const;
77 : bool MergePartialFromCodedStream(
78 : ::google::protobuf::io::CodedInputStream* input);
79 : void SerializeWithCachedSizes(
80 : ::google::protobuf::io::CodedOutputStream* output) const;
81 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
82 0 : int GetCachedSize() const { return _cached_size_; }
83 : private:
84 : void SharedCtor();
85 : void SharedDtor();
86 : void SetCachedSize(int size) const;
87 : void InternalSwap(Metrics* other);
88 : private:
89 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
90 : return _internal_metadata_.arena();
91 : }
92 : inline void* MaybeArenaPtr() const {
93 : return _internal_metadata_.raw_arena_ptr();
94 : }
95 : public:
96 :
97 : ::google::protobuf::Metadata GetMetadata() const;
98 :
99 : // nested types ----------------------------------------------------
100 :
101 : // accessors -------------------------------------------------------
102 :
103 : // optional double qps = 1;
104 : void clear_qps();
105 : static const int kQpsFieldNumber = 1;
106 : double qps() const;
107 : void set_qps(double value);
108 :
109 : // optional double qps_per_core = 2;
110 : void clear_qps_per_core();
111 : static const int kQpsPerCoreFieldNumber = 2;
112 : double qps_per_core() const;
113 : void set_qps_per_core(double value);
114 :
115 : // optional double perc_lat_50 = 3;
116 : void clear_perc_lat_50();
117 : static const int kPercLat50FieldNumber = 3;
118 : double perc_lat_50() const;
119 : void set_perc_lat_50(double value);
120 :
121 : // optional double perc_lat_90 = 4;
122 : void clear_perc_lat_90();
123 : static const int kPercLat90FieldNumber = 4;
124 : double perc_lat_90() const;
125 : void set_perc_lat_90(double value);
126 :
127 : // optional double perc_lat_95 = 5;
128 : void clear_perc_lat_95();
129 : static const int kPercLat95FieldNumber = 5;
130 : double perc_lat_95() const;
131 : void set_perc_lat_95(double value);
132 :
133 : // optional double perc_lat_99 = 6;
134 : void clear_perc_lat_99();
135 : static const int kPercLat99FieldNumber = 6;
136 : double perc_lat_99() const;
137 : void set_perc_lat_99(double value);
138 :
139 : // optional double perc_lat_99_point_9 = 7;
140 : void clear_perc_lat_99_point_9();
141 : static const int kPercLat99Point9FieldNumber = 7;
142 : double perc_lat_99_point_9() const;
143 : void set_perc_lat_99_point_9(double value);
144 :
145 : // optional double server_system_time = 8;
146 : void clear_server_system_time();
147 : static const int kServerSystemTimeFieldNumber = 8;
148 : double server_system_time() const;
149 : void set_server_system_time(double value);
150 :
151 : // optional double server_user_time = 9;
152 : void clear_server_user_time();
153 : static const int kServerUserTimeFieldNumber = 9;
154 : double server_user_time() const;
155 : void set_server_user_time(double value);
156 :
157 : // optional double client_system_time = 10;
158 : void clear_client_system_time();
159 : static const int kClientSystemTimeFieldNumber = 10;
160 : double client_system_time() const;
161 : void set_client_system_time(double value);
162 :
163 : // optional double client_user_time = 11;
164 : void clear_client_user_time();
165 : static const int kClientUserTimeFieldNumber = 11;
166 : double client_user_time() const;
167 : void set_client_user_time(double value);
168 :
169 : // @@protoc_insertion_point(class_scope:grpc.testing.Metrics)
170 : private:
171 :
172 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
173 : bool _is_default_instance_;
174 : double qps_;
175 : double qps_per_core_;
176 : double perc_lat_50_;
177 : double perc_lat_90_;
178 : double perc_lat_95_;
179 : double perc_lat_99_;
180 : double perc_lat_99_point_9_;
181 : double server_system_time_;
182 : double server_user_time_;
183 : double client_system_time_;
184 : double client_user_time_;
185 : mutable int _cached_size_;
186 : friend void protobuf_AddDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
187 : friend void protobuf_AssignDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
188 : friend void protobuf_ShutdownFile_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
189 :
190 : void InitAsDefaultInstance();
191 : static Metrics* default_instance_;
192 : };
193 : // -------------------------------------------------------------------
194 :
195 : class SingleUserRecordRequest : public ::google::protobuf::Message {
196 : public:
197 : SingleUserRecordRequest();
198 : virtual ~SingleUserRecordRequest();
199 :
200 : SingleUserRecordRequest(const SingleUserRecordRequest& from);
201 :
202 : inline SingleUserRecordRequest& operator=(const SingleUserRecordRequest& from) {
203 : CopyFrom(from);
204 : return *this;
205 : }
206 :
207 : static const ::google::protobuf::Descriptor* descriptor();
208 : static const SingleUserRecordRequest& default_instance();
209 :
210 : void Swap(SingleUserRecordRequest* other);
211 :
212 : // implements Message ----------------------------------------------
213 :
214 0 : inline SingleUserRecordRequest* New() const { return New(NULL); }
215 :
216 : SingleUserRecordRequest* New(::google::protobuf::Arena* arena) const;
217 : void CopyFrom(const ::google::protobuf::Message& from);
218 : void MergeFrom(const ::google::protobuf::Message& from);
219 : void CopyFrom(const SingleUserRecordRequest& from);
220 : void MergeFrom(const SingleUserRecordRequest& from);
221 : void Clear();
222 : bool IsInitialized() const;
223 :
224 : int ByteSize() const;
225 : bool MergePartialFromCodedStream(
226 : ::google::protobuf::io::CodedInputStream* input);
227 : void SerializeWithCachedSizes(
228 : ::google::protobuf::io::CodedOutputStream* output) const;
229 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
230 0 : int GetCachedSize() const { return _cached_size_; }
231 : private:
232 : void SharedCtor();
233 : void SharedDtor();
234 : void SetCachedSize(int size) const;
235 : void InternalSwap(SingleUserRecordRequest* other);
236 : private:
237 0 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
238 0 : return _internal_metadata_.arena();
239 : }
240 : inline void* MaybeArenaPtr() const {
241 : return _internal_metadata_.raw_arena_ptr();
242 : }
243 : public:
244 :
245 : ::google::protobuf::Metadata GetMetadata() const;
246 :
247 : // nested types ----------------------------------------------------
248 :
249 : // accessors -------------------------------------------------------
250 :
251 : // optional string hashed_id = 1;
252 : void clear_hashed_id();
253 : static const int kHashedIdFieldNumber = 1;
254 : const ::std::string& hashed_id() const;
255 : void set_hashed_id(const ::std::string& value);
256 : void set_hashed_id(const char* value);
257 : void set_hashed_id(const char* value, size_t size);
258 : ::std::string* mutable_hashed_id();
259 : ::std::string* release_hashed_id();
260 : void set_allocated_hashed_id(::std::string* hashed_id);
261 :
262 : // optional string test_name = 2;
263 : void clear_test_name();
264 : static const int kTestNameFieldNumber = 2;
265 : const ::std::string& test_name() const;
266 : void set_test_name(const ::std::string& value);
267 : void set_test_name(const char* value);
268 : void set_test_name(const char* value, size_t size);
269 : ::std::string* mutable_test_name();
270 : ::std::string* release_test_name();
271 : void set_allocated_test_name(::std::string* test_name);
272 :
273 : // optional string sys_info = 3;
274 : void clear_sys_info();
275 : static const int kSysInfoFieldNumber = 3;
276 : const ::std::string& sys_info() const;
277 : void set_sys_info(const ::std::string& value);
278 : void set_sys_info(const char* value);
279 : void set_sys_info(const char* value, size_t size);
280 : ::std::string* mutable_sys_info();
281 : ::std::string* release_sys_info();
282 : void set_allocated_sys_info(::std::string* sys_info);
283 :
284 : // optional string tag = 4;
285 : void clear_tag();
286 : static const int kTagFieldNumber = 4;
287 : const ::std::string& tag() const;
288 : void set_tag(const ::std::string& value);
289 : void set_tag(const char* value);
290 : void set_tag(const char* value, size_t size);
291 : ::std::string* mutable_tag();
292 : ::std::string* release_tag();
293 : void set_allocated_tag(::std::string* tag);
294 :
295 : // optional .grpc.testing.Metrics metrics = 5;
296 : bool has_metrics() const;
297 : void clear_metrics();
298 : static const int kMetricsFieldNumber = 5;
299 : const ::grpc::testing::Metrics& metrics() const;
300 : ::grpc::testing::Metrics* mutable_metrics();
301 : ::grpc::testing::Metrics* release_metrics();
302 : void set_allocated_metrics(::grpc::testing::Metrics* metrics);
303 :
304 : // optional .grpc.testing.ClientConfig client_config = 6;
305 : bool has_client_config() const;
306 : void clear_client_config();
307 : static const int kClientConfigFieldNumber = 6;
308 : const ::grpc::testing::ClientConfig& client_config() const;
309 : ::grpc::testing::ClientConfig* mutable_client_config();
310 : ::grpc::testing::ClientConfig* release_client_config();
311 : void set_allocated_client_config(::grpc::testing::ClientConfig* client_config);
312 :
313 : // optional .grpc.testing.ServerConfig server_config = 7;
314 : bool has_server_config() const;
315 : void clear_server_config();
316 : static const int kServerConfigFieldNumber = 7;
317 : const ::grpc::testing::ServerConfig& server_config() const;
318 : ::grpc::testing::ServerConfig* mutable_server_config();
319 : ::grpc::testing::ServerConfig* release_server_config();
320 : void set_allocated_server_config(::grpc::testing::ServerConfig* server_config);
321 :
322 : // @@protoc_insertion_point(class_scope:grpc.testing.SingleUserRecordRequest)
323 : private:
324 :
325 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
326 : bool _is_default_instance_;
327 : ::google::protobuf::internal::ArenaStringPtr hashed_id_;
328 : ::google::protobuf::internal::ArenaStringPtr test_name_;
329 : ::google::protobuf::internal::ArenaStringPtr sys_info_;
330 : ::google::protobuf::internal::ArenaStringPtr tag_;
331 : ::grpc::testing::Metrics* metrics_;
332 : ::grpc::testing::ClientConfig* client_config_;
333 : ::grpc::testing::ServerConfig* server_config_;
334 : mutable int _cached_size_;
335 : friend void protobuf_AddDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
336 : friend void protobuf_AssignDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
337 : friend void protobuf_ShutdownFile_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
338 :
339 : void InitAsDefaultInstance();
340 : static SingleUserRecordRequest* default_instance_;
341 : };
342 : // -------------------------------------------------------------------
343 :
344 : class SingleUserRecordReply : public ::google::protobuf::Message {
345 : public:
346 : SingleUserRecordReply();
347 : virtual ~SingleUserRecordReply();
348 :
349 : SingleUserRecordReply(const SingleUserRecordReply& from);
350 :
351 : inline SingleUserRecordReply& operator=(const SingleUserRecordReply& from) {
352 : CopyFrom(from);
353 : return *this;
354 : }
355 :
356 : static const ::google::protobuf::Descriptor* descriptor();
357 : static const SingleUserRecordReply& default_instance();
358 :
359 : void Swap(SingleUserRecordReply* other);
360 :
361 : // implements Message ----------------------------------------------
362 :
363 0 : inline SingleUserRecordReply* New() const { return New(NULL); }
364 :
365 : SingleUserRecordReply* New(::google::protobuf::Arena* arena) const;
366 : void CopyFrom(const ::google::protobuf::Message& from);
367 : void MergeFrom(const ::google::protobuf::Message& from);
368 : void CopyFrom(const SingleUserRecordReply& from);
369 : void MergeFrom(const SingleUserRecordReply& from);
370 : void Clear();
371 : bool IsInitialized() const;
372 :
373 : int ByteSize() const;
374 : bool MergePartialFromCodedStream(
375 : ::google::protobuf::io::CodedInputStream* input);
376 : void SerializeWithCachedSizes(
377 : ::google::protobuf::io::CodedOutputStream* output) const;
378 : ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
379 0 : int GetCachedSize() const { return _cached_size_; }
380 : private:
381 : void SharedCtor();
382 : void SharedDtor();
383 : void SetCachedSize(int size) const;
384 : void InternalSwap(SingleUserRecordReply* other);
385 : private:
386 : inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
387 : return _internal_metadata_.arena();
388 : }
389 : inline void* MaybeArenaPtr() const {
390 : return _internal_metadata_.raw_arena_ptr();
391 : }
392 : public:
393 :
394 : ::google::protobuf::Metadata GetMetadata() const;
395 :
396 : // nested types ----------------------------------------------------
397 :
398 : // accessors -------------------------------------------------------
399 :
400 : // @@protoc_insertion_point(class_scope:grpc.testing.SingleUserRecordReply)
401 : private:
402 :
403 : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
404 : bool _is_default_instance_;
405 : mutable int _cached_size_;
406 : friend void protobuf_AddDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
407 : friend void protobuf_AssignDesc_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
408 : friend void protobuf_ShutdownFile_test_2fcpp_2fqps_2fperf_5fdb_2eproto();
409 :
410 : void InitAsDefaultInstance();
411 : static SingleUserRecordReply* default_instance_;
412 : };
413 : // ===================================================================
414 :
415 :
416 : // ===================================================================
417 :
418 : #if !PROTOBUF_INLINE_NOT_IN_HEADERS
419 : // Metrics
420 :
421 : // optional double qps = 1;
422 : inline void Metrics::clear_qps() {
423 : qps_ = 0;
424 : }
425 0 : inline double Metrics::qps() const {
426 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.qps)
427 0 : return qps_;
428 : }
429 0 : inline void Metrics::set_qps(double value) {
430 :
431 0 : qps_ = value;
432 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.qps)
433 0 : }
434 :
435 : // optional double qps_per_core = 2;
436 : inline void Metrics::clear_qps_per_core() {
437 : qps_per_core_ = 0;
438 : }
439 0 : inline double Metrics::qps_per_core() const {
440 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.qps_per_core)
441 0 : return qps_per_core_;
442 : }
443 0 : inline void Metrics::set_qps_per_core(double value) {
444 :
445 0 : qps_per_core_ = value;
446 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.qps_per_core)
447 0 : }
448 :
449 : // optional double perc_lat_50 = 3;
450 : inline void Metrics::clear_perc_lat_50() {
451 : perc_lat_50_ = 0;
452 : }
453 0 : inline double Metrics::perc_lat_50() const {
454 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.perc_lat_50)
455 0 : return perc_lat_50_;
456 : }
457 0 : inline void Metrics::set_perc_lat_50(double value) {
458 :
459 0 : perc_lat_50_ = value;
460 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.perc_lat_50)
461 0 : }
462 :
463 : // optional double perc_lat_90 = 4;
464 : inline void Metrics::clear_perc_lat_90() {
465 : perc_lat_90_ = 0;
466 : }
467 0 : inline double Metrics::perc_lat_90() const {
468 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.perc_lat_90)
469 0 : return perc_lat_90_;
470 : }
471 0 : inline void Metrics::set_perc_lat_90(double value) {
472 :
473 0 : perc_lat_90_ = value;
474 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.perc_lat_90)
475 0 : }
476 :
477 : // optional double perc_lat_95 = 5;
478 : inline void Metrics::clear_perc_lat_95() {
479 : perc_lat_95_ = 0;
480 : }
481 0 : inline double Metrics::perc_lat_95() const {
482 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.perc_lat_95)
483 0 : return perc_lat_95_;
484 : }
485 0 : inline void Metrics::set_perc_lat_95(double value) {
486 :
487 0 : perc_lat_95_ = value;
488 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.perc_lat_95)
489 0 : }
490 :
491 : // optional double perc_lat_99 = 6;
492 : inline void Metrics::clear_perc_lat_99() {
493 : perc_lat_99_ = 0;
494 : }
495 0 : inline double Metrics::perc_lat_99() const {
496 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.perc_lat_99)
497 0 : return perc_lat_99_;
498 : }
499 0 : inline void Metrics::set_perc_lat_99(double value) {
500 :
501 0 : perc_lat_99_ = value;
502 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.perc_lat_99)
503 0 : }
504 :
505 : // optional double perc_lat_99_point_9 = 7;
506 : inline void Metrics::clear_perc_lat_99_point_9() {
507 : perc_lat_99_point_9_ = 0;
508 : }
509 0 : inline double Metrics::perc_lat_99_point_9() const {
510 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.perc_lat_99_point_9)
511 0 : return perc_lat_99_point_9_;
512 : }
513 0 : inline void Metrics::set_perc_lat_99_point_9(double value) {
514 :
515 0 : perc_lat_99_point_9_ = value;
516 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.perc_lat_99_point_9)
517 0 : }
518 :
519 : // optional double server_system_time = 8;
520 : inline void Metrics::clear_server_system_time() {
521 : server_system_time_ = 0;
522 : }
523 0 : inline double Metrics::server_system_time() const {
524 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.server_system_time)
525 0 : return server_system_time_;
526 : }
527 0 : inline void Metrics::set_server_system_time(double value) {
528 :
529 0 : server_system_time_ = value;
530 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.server_system_time)
531 0 : }
532 :
533 : // optional double server_user_time = 9;
534 : inline void Metrics::clear_server_user_time() {
535 : server_user_time_ = 0;
536 : }
537 0 : inline double Metrics::server_user_time() const {
538 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.server_user_time)
539 0 : return server_user_time_;
540 : }
541 0 : inline void Metrics::set_server_user_time(double value) {
542 :
543 0 : server_user_time_ = value;
544 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.server_user_time)
545 0 : }
546 :
547 : // optional double client_system_time = 10;
548 : inline void Metrics::clear_client_system_time() {
549 : client_system_time_ = 0;
550 : }
551 0 : inline double Metrics::client_system_time() const {
552 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.client_system_time)
553 0 : return client_system_time_;
554 : }
555 0 : inline void Metrics::set_client_system_time(double value) {
556 :
557 0 : client_system_time_ = value;
558 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.client_system_time)
559 0 : }
560 :
561 : // optional double client_user_time = 11;
562 : inline void Metrics::clear_client_user_time() {
563 : client_user_time_ = 0;
564 : }
565 0 : inline double Metrics::client_user_time() const {
566 : // @@protoc_insertion_point(field_get:grpc.testing.Metrics.client_user_time)
567 0 : return client_user_time_;
568 : }
569 0 : inline void Metrics::set_client_user_time(double value) {
570 :
571 0 : client_user_time_ = value;
572 : // @@protoc_insertion_point(field_set:grpc.testing.Metrics.client_user_time)
573 0 : }
574 :
575 : // -------------------------------------------------------------------
576 :
577 : // SingleUserRecordRequest
578 :
579 : // optional string hashed_id = 1;
580 : inline void SingleUserRecordRequest::clear_hashed_id() {
581 : hashed_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
582 : }
583 0 : inline const ::std::string& SingleUserRecordRequest::hashed_id() const {
584 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.hashed_id)
585 0 : return hashed_id_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
586 : }
587 0 : inline void SingleUserRecordRequest::set_hashed_id(const ::std::string& value) {
588 :
589 0 : hashed_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
590 : // @@protoc_insertion_point(field_set:grpc.testing.SingleUserRecordRequest.hashed_id)
591 0 : }
592 : inline void SingleUserRecordRequest::set_hashed_id(const char* value) {
593 :
594 : hashed_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
595 : // @@protoc_insertion_point(field_set_char:grpc.testing.SingleUserRecordRequest.hashed_id)
596 : }
597 : inline void SingleUserRecordRequest::set_hashed_id(const char* value, size_t size) {
598 :
599 : hashed_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
600 : ::std::string(reinterpret_cast<const char*>(value), size));
601 : // @@protoc_insertion_point(field_set_pointer:grpc.testing.SingleUserRecordRequest.hashed_id)
602 : }
603 0 : inline ::std::string* SingleUserRecordRequest::mutable_hashed_id() {
604 :
605 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.hashed_id)
606 0 : return hashed_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
607 : }
608 : inline ::std::string* SingleUserRecordRequest::release_hashed_id() {
609 :
610 : return hashed_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
611 : }
612 : inline void SingleUserRecordRequest::set_allocated_hashed_id(::std::string* hashed_id) {
613 : if (hashed_id != NULL) {
614 :
615 : } else {
616 :
617 : }
618 : hashed_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hashed_id);
619 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.hashed_id)
620 : }
621 :
622 : // optional string test_name = 2;
623 : inline void SingleUserRecordRequest::clear_test_name() {
624 : test_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
625 : }
626 0 : inline const ::std::string& SingleUserRecordRequest::test_name() const {
627 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.test_name)
628 0 : return test_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
629 : }
630 0 : inline void SingleUserRecordRequest::set_test_name(const ::std::string& value) {
631 :
632 0 : test_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
633 : // @@protoc_insertion_point(field_set:grpc.testing.SingleUserRecordRequest.test_name)
634 0 : }
635 : inline void SingleUserRecordRequest::set_test_name(const char* value) {
636 :
637 : test_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
638 : // @@protoc_insertion_point(field_set_char:grpc.testing.SingleUserRecordRequest.test_name)
639 : }
640 : inline void SingleUserRecordRequest::set_test_name(const char* value, size_t size) {
641 :
642 : test_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
643 : ::std::string(reinterpret_cast<const char*>(value), size));
644 : // @@protoc_insertion_point(field_set_pointer:grpc.testing.SingleUserRecordRequest.test_name)
645 : }
646 0 : inline ::std::string* SingleUserRecordRequest::mutable_test_name() {
647 :
648 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.test_name)
649 0 : return test_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
650 : }
651 : inline ::std::string* SingleUserRecordRequest::release_test_name() {
652 :
653 : return test_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
654 : }
655 : inline void SingleUserRecordRequest::set_allocated_test_name(::std::string* test_name) {
656 : if (test_name != NULL) {
657 :
658 : } else {
659 :
660 : }
661 : test_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), test_name);
662 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.test_name)
663 : }
664 :
665 : // optional string sys_info = 3;
666 : inline void SingleUserRecordRequest::clear_sys_info() {
667 : sys_info_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
668 : }
669 0 : inline const ::std::string& SingleUserRecordRequest::sys_info() const {
670 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.sys_info)
671 0 : return sys_info_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
672 : }
673 0 : inline void SingleUserRecordRequest::set_sys_info(const ::std::string& value) {
674 :
675 0 : sys_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
676 : // @@protoc_insertion_point(field_set:grpc.testing.SingleUserRecordRequest.sys_info)
677 0 : }
678 : inline void SingleUserRecordRequest::set_sys_info(const char* value) {
679 :
680 : sys_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
681 : // @@protoc_insertion_point(field_set_char:grpc.testing.SingleUserRecordRequest.sys_info)
682 : }
683 : inline void SingleUserRecordRequest::set_sys_info(const char* value, size_t size) {
684 :
685 : sys_info_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
686 : ::std::string(reinterpret_cast<const char*>(value), size));
687 : // @@protoc_insertion_point(field_set_pointer:grpc.testing.SingleUserRecordRequest.sys_info)
688 : }
689 0 : inline ::std::string* SingleUserRecordRequest::mutable_sys_info() {
690 :
691 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.sys_info)
692 0 : return sys_info_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
693 : }
694 : inline ::std::string* SingleUserRecordRequest::release_sys_info() {
695 :
696 : return sys_info_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
697 : }
698 : inline void SingleUserRecordRequest::set_allocated_sys_info(::std::string* sys_info) {
699 : if (sys_info != NULL) {
700 :
701 : } else {
702 :
703 : }
704 : sys_info_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sys_info);
705 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.sys_info)
706 : }
707 :
708 : // optional string tag = 4;
709 : inline void SingleUserRecordRequest::clear_tag() {
710 : tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
711 : }
712 0 : inline const ::std::string& SingleUserRecordRequest::tag() const {
713 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.tag)
714 0 : return tag_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
715 : }
716 0 : inline void SingleUserRecordRequest::set_tag(const ::std::string& value) {
717 :
718 0 : tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
719 : // @@protoc_insertion_point(field_set:grpc.testing.SingleUserRecordRequest.tag)
720 0 : }
721 : inline void SingleUserRecordRequest::set_tag(const char* value) {
722 :
723 : tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
724 : // @@protoc_insertion_point(field_set_char:grpc.testing.SingleUserRecordRequest.tag)
725 : }
726 : inline void SingleUserRecordRequest::set_tag(const char* value, size_t size) {
727 :
728 : tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
729 : ::std::string(reinterpret_cast<const char*>(value), size));
730 : // @@protoc_insertion_point(field_set_pointer:grpc.testing.SingleUserRecordRequest.tag)
731 : }
732 0 : inline ::std::string* SingleUserRecordRequest::mutable_tag() {
733 :
734 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.tag)
735 0 : return tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
736 : }
737 : inline ::std::string* SingleUserRecordRequest::release_tag() {
738 :
739 : return tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
740 : }
741 : inline void SingleUserRecordRequest::set_allocated_tag(::std::string* tag) {
742 : if (tag != NULL) {
743 :
744 : } else {
745 :
746 : }
747 : tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tag);
748 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.tag)
749 : }
750 :
751 : // optional .grpc.testing.Metrics metrics = 5;
752 0 : inline bool SingleUserRecordRequest::has_metrics() const {
753 0 : return !_is_default_instance_ && metrics_ != NULL;
754 : }
755 : inline void SingleUserRecordRequest::clear_metrics() {
756 : if (GetArenaNoVirtual() == NULL && metrics_ != NULL) delete metrics_;
757 : metrics_ = NULL;
758 : }
759 0 : inline const ::grpc::testing::Metrics& SingleUserRecordRequest::metrics() const {
760 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.metrics)
761 0 : return metrics_ != NULL ? *metrics_ : *default_instance_->metrics_;
762 : }
763 0 : inline ::grpc::testing::Metrics* SingleUserRecordRequest::mutable_metrics() {
764 :
765 0 : if (metrics_ == NULL) {
766 0 : metrics_ = new ::grpc::testing::Metrics;
767 : }
768 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.metrics)
769 0 : return metrics_;
770 : }
771 : inline ::grpc::testing::Metrics* SingleUserRecordRequest::release_metrics() {
772 :
773 : ::grpc::testing::Metrics* temp = metrics_;
774 : metrics_ = NULL;
775 : return temp;
776 : }
777 : inline void SingleUserRecordRequest::set_allocated_metrics(::grpc::testing::Metrics* metrics) {
778 : delete metrics_;
779 : metrics_ = metrics;
780 : if (metrics) {
781 :
782 : } else {
783 :
784 : }
785 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.metrics)
786 : }
787 :
788 : // optional .grpc.testing.ClientConfig client_config = 6;
789 0 : inline bool SingleUserRecordRequest::has_client_config() const {
790 0 : return !_is_default_instance_ && client_config_ != NULL;
791 : }
792 : inline void SingleUserRecordRequest::clear_client_config() {
793 : if (GetArenaNoVirtual() == NULL && client_config_ != NULL) delete client_config_;
794 : client_config_ = NULL;
795 : }
796 0 : inline const ::grpc::testing::ClientConfig& SingleUserRecordRequest::client_config() const {
797 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.client_config)
798 0 : return client_config_ != NULL ? *client_config_ : *default_instance_->client_config_;
799 : }
800 0 : inline ::grpc::testing::ClientConfig* SingleUserRecordRequest::mutable_client_config() {
801 :
802 0 : if (client_config_ == NULL) {
803 0 : client_config_ = new ::grpc::testing::ClientConfig;
804 : }
805 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.client_config)
806 0 : return client_config_;
807 : }
808 : inline ::grpc::testing::ClientConfig* SingleUserRecordRequest::release_client_config() {
809 :
810 : ::grpc::testing::ClientConfig* temp = client_config_;
811 : client_config_ = NULL;
812 : return temp;
813 : }
814 : inline void SingleUserRecordRequest::set_allocated_client_config(::grpc::testing::ClientConfig* client_config) {
815 : delete client_config_;
816 : client_config_ = client_config;
817 : if (client_config) {
818 :
819 : } else {
820 :
821 : }
822 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.client_config)
823 : }
824 :
825 : // optional .grpc.testing.ServerConfig server_config = 7;
826 0 : inline bool SingleUserRecordRequest::has_server_config() const {
827 0 : return !_is_default_instance_ && server_config_ != NULL;
828 : }
829 : inline void SingleUserRecordRequest::clear_server_config() {
830 : if (GetArenaNoVirtual() == NULL && server_config_ != NULL) delete server_config_;
831 : server_config_ = NULL;
832 : }
833 0 : inline const ::grpc::testing::ServerConfig& SingleUserRecordRequest::server_config() const {
834 : // @@protoc_insertion_point(field_get:grpc.testing.SingleUserRecordRequest.server_config)
835 0 : return server_config_ != NULL ? *server_config_ : *default_instance_->server_config_;
836 : }
837 0 : inline ::grpc::testing::ServerConfig* SingleUserRecordRequest::mutable_server_config() {
838 :
839 0 : if (server_config_ == NULL) {
840 0 : server_config_ = new ::grpc::testing::ServerConfig;
841 : }
842 : // @@protoc_insertion_point(field_mutable:grpc.testing.SingleUserRecordRequest.server_config)
843 0 : return server_config_;
844 : }
845 : inline ::grpc::testing::ServerConfig* SingleUserRecordRequest::release_server_config() {
846 :
847 : ::grpc::testing::ServerConfig* temp = server_config_;
848 : server_config_ = NULL;
849 : return temp;
850 : }
851 : inline void SingleUserRecordRequest::set_allocated_server_config(::grpc::testing::ServerConfig* server_config) {
852 : delete server_config_;
853 : server_config_ = server_config;
854 : if (server_config) {
855 :
856 : } else {
857 :
858 : }
859 : // @@protoc_insertion_point(field_set_allocated:grpc.testing.SingleUserRecordRequest.server_config)
860 : }
861 :
862 : // -------------------------------------------------------------------
863 :
864 : // SingleUserRecordReply
865 :
866 : #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
867 : // -------------------------------------------------------------------
868 :
869 : // -------------------------------------------------------------------
870 :
871 :
872 : // @@protoc_insertion_point(namespace_scope)
873 :
874 : } // namespace testing
875 : } // namespace grpc
876 :
877 : // @@protoc_insertion_point(global_scope)
878 :
879 : #endif // PROTOBUF_test_2fcpp_2fqps_2fperf_5fdb_2eproto__INCLUDED
|