YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/rpc/rtest.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/rpc/rtest.proto
3
4
#ifndef PROTOBUF_yb_2frpc_2frtest_2eproto__INCLUDED
5
#define PROTOBUF_yb_2frpc_2frtest_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
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 3005001 < 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/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.h>
29
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
31
#include <google/protobuf/map.h>  // IWYU pragma: export
32
#include <google/protobuf/map_entry.h>
33
#include <google/protobuf/map_field_inl.h>
34
#include <google/protobuf/generated_enum_reflection.h>
35
#include <google/protobuf/unknown_field_set.h>
36
#include <google/protobuf/any.pb.h>
37
#include "yb/rpc/lightweight_message.pb.h"
38
#include "yb/rpc/rpc_header.pb.h"
39
#include "yb/rpc/rtest_diff_package.pb.h"
40
#include "yb/rpc/service.pb.h"
41
// @@protoc_insertion_point(includes)
42
43
namespace protobuf_yb_2frpc_2frtest_2eproto {
44
// Internal implementation detail -- do not use these members.
45
struct TableStruct {
46
  static const ::google::protobuf::internal::ParseTableField entries[];
47
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
48
  static const ::google::protobuf::internal::ParseTable schema[31];
49
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
50
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
51
  static const ::google::protobuf::uint32 offsets[];
52
};
53
void AddDescriptors();
54
void InitDefaultsAddRequestPBImpl();
55
void InitDefaultsAddRequestPB();
56
void InitDefaultsAddRequestPartialPBImpl();
57
void InitDefaultsAddRequestPartialPB();
58
void InitDefaultsAddResponsePBImpl();
59
void InitDefaultsAddResponsePB();
60
void InitDefaultsSleepRequestPBImpl();
61
void InitDefaultsSleepRequestPB();
62
void InitDefaultsSleepResponsePBImpl();
63
void InitDefaultsSleepResponsePB();
64
void InitDefaultsSendStringsRequestPBImpl();
65
void InitDefaultsSendStringsRequestPB();
66
void InitDefaultsSendStringsResponsePBImpl();
67
void InitDefaultsSendStringsResponsePB();
68
void InitDefaultsEchoRequestPBImpl();
69
void InitDefaultsEchoRequestPB();
70
void InitDefaultsEchoResponsePBImpl();
71
void InitDefaultsEchoResponsePB();
72
void InitDefaultsWhoAmIRequestPBImpl();
73
void InitDefaultsWhoAmIRequestPB();
74
void InitDefaultsWhoAmIResponsePBImpl();
75
void InitDefaultsWhoAmIResponsePB();
76
void InitDefaultsCalculatorErrorImpl();
77
void InitDefaultsCalculatorError();
78
void InitDefaultsPanicRequestPBImpl();
79
void InitDefaultsPanicRequestPB();
80
void InitDefaultsPanicResponsePBImpl();
81
void InitDefaultsPanicResponsePB();
82
void InitDefaultsPingRequestPBImpl();
83
void InitDefaultsPingRequestPB();
84
void InitDefaultsPingResponsePBImpl();
85
void InitDefaultsPingResponsePB();
86
void InitDefaultsDisconnectRequestPBImpl();
87
void InitDefaultsDisconnectRequestPB();
88
void InitDefaultsDisconnectResponsePBImpl();
89
void InitDefaultsDisconnectResponsePB();
90
void InitDefaultsForwardRequestPBImpl();
91
void InitDefaultsForwardRequestPB();
92
void InitDefaultsForwardResponsePBImpl();
93
void InitDefaultsForwardResponsePB();
94
void InitDefaultsConcatRequestPBImpl();
95
void InitDefaultsConcatRequestPB();
96
void InitDefaultsConcatResponsePBImpl();
97
void InitDefaultsConcatResponsePB();
98
void InitDefaultsLightweightSubMessagePBImpl();
99
void InitDefaultsLightweightSubMessagePB();
100
void InitDefaultsLightweightPairPBImpl();
101
void InitDefaultsLightweightPairPB();
102
void InitDefaultsLightweightRequestPB_MapEntry_DoNotUseImpl();
103
void InitDefaultsLightweightRequestPB_MapEntry_DoNotUse();
104
void InitDefaultsLightweightRequestPBImpl();
105
void InitDefaultsLightweightRequestPB();
106
void InitDefaultsLightweightResponsePB_MapEntry_DoNotUseImpl();
107
void InitDefaultsLightweightResponsePB_MapEntry_DoNotUse();
108
void InitDefaultsLightweightResponsePBImpl();
109
void InitDefaultsLightweightResponsePB();
110
void InitDefaultsTrivialRequestPBImpl();
111
void InitDefaultsTrivialRequestPB();
112
void InitDefaultsTrivialErrorPBImpl();
113
void InitDefaultsTrivialErrorPB();
114
void InitDefaultsTrivialResponsePBImpl();
115
void InitDefaultsTrivialResponsePB();
116
123
inline void InitDefaults() {
117
123
  InitDefaultsAddRequestPB();
118
123
  InitDefaultsAddRequestPartialPB();
119
123
  InitDefaultsAddResponsePB();
120
123
  InitDefaultsSleepRequestPB();
121
123
  InitDefaultsSleepResponsePB();
122
123
  InitDefaultsSendStringsRequestPB();
123
123
  InitDefaultsSendStringsResponsePB();
124
123
  InitDefaultsEchoRequestPB();
125
123
  InitDefaultsEchoResponsePB();
126
123
  InitDefaultsWhoAmIRequestPB();
127
123
  InitDefaultsWhoAmIResponsePB();
128
123
  InitDefaultsCalculatorError();
129
123
  InitDefaultsPanicRequestPB();
130
123
  InitDefaultsPanicResponsePB();
131
123
  InitDefaultsPingRequestPB();
132
123
  InitDefaultsPingResponsePB();
133
123
  InitDefaultsDisconnectRequestPB();
134
123
  InitDefaultsDisconnectResponsePB();
135
123
  InitDefaultsForwardRequestPB();
136
123
  InitDefaultsForwardResponsePB();
137
123
  InitDefaultsConcatRequestPB();
138
123
  InitDefaultsConcatResponsePB();
139
123
  InitDefaultsLightweightSubMessagePB();
140
123
  InitDefaultsLightweightPairPB();
141
123
  InitDefaultsLightweightRequestPB_MapEntry_DoNotUse();
142
123
  InitDefaultsLightweightRequestPB();
143
123
  InitDefaultsLightweightResponsePB_MapEntry_DoNotUse();
144
123
  InitDefaultsLightweightResponsePB();
145
123
  InitDefaultsTrivialRequestPB();
146
123
  InitDefaultsTrivialErrorPB();
147
123
  InitDefaultsTrivialResponsePB();
148
123
}
149
}  // namespace protobuf_yb_2frpc_2frtest_2eproto
150
namespace yb {
151
namespace rpc_test {
152
class AddRequestPB;
153
class AddRequestPBDefaultTypeInternal;
154
extern AddRequestPBDefaultTypeInternal _AddRequestPB_default_instance_;
155
class AddRequestPartialPB;
156
class AddRequestPartialPBDefaultTypeInternal;
157
extern AddRequestPartialPBDefaultTypeInternal _AddRequestPartialPB_default_instance_;
158
class AddResponsePB;
159
class AddResponsePBDefaultTypeInternal;
160
extern AddResponsePBDefaultTypeInternal _AddResponsePB_default_instance_;
161
class CalculatorError;
162
class CalculatorErrorDefaultTypeInternal;
163
extern CalculatorErrorDefaultTypeInternal _CalculatorError_default_instance_;
164
class ConcatRequestPB;
165
class ConcatRequestPBDefaultTypeInternal;
166
extern ConcatRequestPBDefaultTypeInternal _ConcatRequestPB_default_instance_;
167
class ConcatResponsePB;
168
class ConcatResponsePBDefaultTypeInternal;
169
extern ConcatResponsePBDefaultTypeInternal _ConcatResponsePB_default_instance_;
170
class DisconnectRequestPB;
171
class DisconnectRequestPBDefaultTypeInternal;
172
extern DisconnectRequestPBDefaultTypeInternal _DisconnectRequestPB_default_instance_;
173
class DisconnectResponsePB;
174
class DisconnectResponsePBDefaultTypeInternal;
175
extern DisconnectResponsePBDefaultTypeInternal _DisconnectResponsePB_default_instance_;
176
class EchoRequestPB;
177
class EchoRequestPBDefaultTypeInternal;
178
extern EchoRequestPBDefaultTypeInternal _EchoRequestPB_default_instance_;
179
class EchoResponsePB;
180
class EchoResponsePBDefaultTypeInternal;
181
extern EchoResponsePBDefaultTypeInternal _EchoResponsePB_default_instance_;
182
class ForwardRequestPB;
183
class ForwardRequestPBDefaultTypeInternal;
184
extern ForwardRequestPBDefaultTypeInternal _ForwardRequestPB_default_instance_;
185
class ForwardResponsePB;
186
class ForwardResponsePBDefaultTypeInternal;
187
extern ForwardResponsePBDefaultTypeInternal _ForwardResponsePB_default_instance_;
188
class LightweightPairPB;
189
class LightweightPairPBDefaultTypeInternal;
190
extern LightweightPairPBDefaultTypeInternal _LightweightPairPB_default_instance_;
191
class LightweightRequestPB;
192
class LightweightRequestPBDefaultTypeInternal;
193
extern LightweightRequestPBDefaultTypeInternal _LightweightRequestPB_default_instance_;
194
class LightweightRequestPB_MapEntry_DoNotUse;
195
class LightweightRequestPB_MapEntry_DoNotUseDefaultTypeInternal;
196
extern LightweightRequestPB_MapEntry_DoNotUseDefaultTypeInternal _LightweightRequestPB_MapEntry_DoNotUse_default_instance_;
197
class LightweightResponsePB;
198
class LightweightResponsePBDefaultTypeInternal;
199
extern LightweightResponsePBDefaultTypeInternal _LightweightResponsePB_default_instance_;
200
class LightweightResponsePB_MapEntry_DoNotUse;
201
class LightweightResponsePB_MapEntry_DoNotUseDefaultTypeInternal;
202
extern LightweightResponsePB_MapEntry_DoNotUseDefaultTypeInternal _LightweightResponsePB_MapEntry_DoNotUse_default_instance_;
203
class LightweightSubMessagePB;
204
class LightweightSubMessagePBDefaultTypeInternal;
205
extern LightweightSubMessagePBDefaultTypeInternal _LightweightSubMessagePB_default_instance_;
206
class PanicRequestPB;
207
class PanicRequestPBDefaultTypeInternal;
208
extern PanicRequestPBDefaultTypeInternal _PanicRequestPB_default_instance_;
209
class PanicResponsePB;
210
class PanicResponsePBDefaultTypeInternal;
211
extern PanicResponsePBDefaultTypeInternal _PanicResponsePB_default_instance_;
212
class PingRequestPB;
213
class PingRequestPBDefaultTypeInternal;
214
extern PingRequestPBDefaultTypeInternal _PingRequestPB_default_instance_;
215
class PingResponsePB;
216
class PingResponsePBDefaultTypeInternal;
217
extern PingResponsePBDefaultTypeInternal _PingResponsePB_default_instance_;
218
class SendStringsRequestPB;
219
class SendStringsRequestPBDefaultTypeInternal;
220
extern SendStringsRequestPBDefaultTypeInternal _SendStringsRequestPB_default_instance_;
221
class SendStringsResponsePB;
222
class SendStringsResponsePBDefaultTypeInternal;
223
extern SendStringsResponsePBDefaultTypeInternal _SendStringsResponsePB_default_instance_;
224
class SleepRequestPB;
225
class SleepRequestPBDefaultTypeInternal;
226
extern SleepRequestPBDefaultTypeInternal _SleepRequestPB_default_instance_;
227
class SleepResponsePB;
228
class SleepResponsePBDefaultTypeInternal;
229
extern SleepResponsePBDefaultTypeInternal _SleepResponsePB_default_instance_;
230
class TrivialErrorPB;
231
class TrivialErrorPBDefaultTypeInternal;
232
extern TrivialErrorPBDefaultTypeInternal _TrivialErrorPB_default_instance_;
233
class TrivialRequestPB;
234
class TrivialRequestPBDefaultTypeInternal;
235
extern TrivialRequestPBDefaultTypeInternal _TrivialRequestPB_default_instance_;
236
class TrivialResponsePB;
237
class TrivialResponsePBDefaultTypeInternal;
238
extern TrivialResponsePBDefaultTypeInternal _TrivialResponsePB_default_instance_;
239
class WhoAmIRequestPB;
240
class WhoAmIRequestPBDefaultTypeInternal;
241
extern WhoAmIRequestPBDefaultTypeInternal _WhoAmIRequestPB_default_instance_;
242
class WhoAmIResponsePB;
243
class WhoAmIResponsePBDefaultTypeInternal;
244
extern WhoAmIResponsePBDefaultTypeInternal _WhoAmIResponsePB_default_instance_;
245
}  // namespace rpc_test
246
}  // namespace yb
247
namespace yb {
248
namespace rpc_test {
249
250
enum LightweightEnum {
251
  ZERO = 0,
252
  ONE = 1,
253
  TWO = 2,
254
  THREE = 3,
255
  FOUR = 4
256
};
257
bool LightweightEnum_IsValid(int value);
258
const LightweightEnum LightweightEnum_MIN = ZERO;
259
const LightweightEnum LightweightEnum_MAX = FOUR;
260
const int LightweightEnum_ARRAYSIZE = LightweightEnum_MAX + 1;
261
262
const ::google::protobuf::EnumDescriptor* LightweightEnum_descriptor();
263
5
inline const ::std::string& LightweightEnum_Name(LightweightEnum value) {
264
5
  return ::google::protobuf::internal::NameOfEnum(
265
5
    LightweightEnum_descriptor(), value);
266
5
}
267
inline bool LightweightEnum_Parse(
268
0
    const ::std::string& name, LightweightEnum* value) {
269
0
  return ::google::protobuf::internal::ParseNamedEnum<LightweightEnum>(
270
0
    LightweightEnum_descriptor(), name, value);
271
0
}
272
// ===================================================================
273
274
class AddRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.AddRequestPB) */ {
275
 public:
276
  AddRequestPB();
277
  virtual ~AddRequestPB();
278
279
  AddRequestPB(const AddRequestPB& from);
280
281
0
  inline AddRequestPB& operator=(const AddRequestPB& from) {
282
0
    CopyFrom(from);
283
0
    return *this;
284
0
  }
285
  #if LANG_CXX11
286
  AddRequestPB(AddRequestPB&& from) noexcept
287
0
    : AddRequestPB() {
288
0
    *this = ::std::move(from);
289
0
  }
290
291
0
  inline AddRequestPB& operator=(AddRequestPB&& from) noexcept {
292
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
293
0
      if (this != &from) InternalSwap(&from);
294
0
    } else {
295
0
      CopyFrom(from);
296
0
    }
297
0
    return *this;
298
0
  }
299
  #endif
300
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
301
0
    return _internal_metadata_.unknown_fields();
302
0
  }
303
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
304
0
    return _internal_metadata_.mutable_unknown_fields();
305
0
  }
306
307
  static const ::google::protobuf::Descriptor* descriptor();
308
  static const AddRequestPB& default_instance();
309
310
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
311
3.53k
  static inline const AddRequestPB* internal_default_instance() {
312
3.53k
    return reinterpret_cast<const AddRequestPB*>(
313
3.53k
               &_AddRequestPB_default_instance_);
314
3.53k
  }
315
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
316
    0;
317
318
  void Swap(AddRequestPB* other);
319
0
  friend void swap(AddRequestPB& a, AddRequestPB& b) {
320
0
    a.Swap(&b);
321
0
  }
322
323
  // implements Message ----------------------------------------------
324
325
0
  inline AddRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
326
327
  AddRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
328
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
329
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
330
  void CopyFrom(const AddRequestPB& from);
331
  void MergeFrom(const AddRequestPB& from);
332
  void Clear() PROTOBUF_FINAL;
333
  bool IsInitialized() const PROTOBUF_FINAL;
334
335
  size_t ByteSizeLong() const PROTOBUF_FINAL;
336
  bool MergePartialFromCodedStream(
337
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
338
  void SerializeWithCachedSizes(
339
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
340
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
341
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
342
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
343
  private:
344
  void SharedCtor();
345
  void SharedDtor();
346
  void SetCachedSize(int size) const PROTOBUF_FINAL;
347
  void InternalSwap(AddRequestPB* other);
348
  private:
349
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
350
0
    return NULL;
351
0
  }
352
0
  inline void* MaybeArenaPtr() const {
353
0
    return NULL;
354
0
  }
355
  public:
356
357
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
358
359
  // nested types ----------------------------------------------------
360
361
  // accessors -------------------------------------------------------
362
363
  // required uint32 x = 1;
364
  bool has_x() const;
365
  void clear_x();
366
  static const int kXFieldNumber = 1;
367
  ::google::protobuf::uint32 x() const;
368
  void set_x(::google::protobuf::uint32 value);
369
370
  // required uint32 y = 2;
371
  bool has_y() const;
372
  void clear_y();
373
  static const int kYFieldNumber = 2;
374
  ::google::protobuf::uint32 y() const;
375
  void set_y(::google::protobuf::uint32 value);
376
377
  // @@protoc_insertion_point(class_scope:yb.rpc_test.AddRequestPB)
378
 private:
379
  void set_has_x();
380
  void clear_has_x();
381
  void set_has_y();
382
  void clear_has_y();
383
384
  // helper for ByteSizeLong()
385
  size_t RequiredFieldsByteSizeFallback() const;
386
387
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
388
  ::google::protobuf::internal::HasBits<1> _has_bits_;
389
  mutable int _cached_size_;
390
  ::google::protobuf::uint32 x_;
391
  ::google::protobuf::uint32 y_;
392
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
393
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsAddRequestPBImpl();
394
};
395
// -------------------------------------------------------------------
396
397
class AddRequestPartialPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.AddRequestPartialPB) */ {
398
 public:
399
  AddRequestPartialPB();
400
  virtual ~AddRequestPartialPB();
401
402
  AddRequestPartialPB(const AddRequestPartialPB& from);
403
404
0
  inline AddRequestPartialPB& operator=(const AddRequestPartialPB& from) {
405
0
    CopyFrom(from);
406
0
    return *this;
407
0
  }
408
  #if LANG_CXX11
409
  AddRequestPartialPB(AddRequestPartialPB&& from) noexcept
410
0
    : AddRequestPartialPB() {
411
0
    *this = ::std::move(from);
412
0
  }
413
414
0
  inline AddRequestPartialPB& operator=(AddRequestPartialPB&& from) noexcept {
415
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
416
0
      if (this != &from) InternalSwap(&from);
417
0
    } else {
418
0
      CopyFrom(from);
419
0
    }
420
0
    return *this;
421
0
  }
422
  #endif
423
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
424
0
    return _internal_metadata_.unknown_fields();
425
0
  }
426
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
427
0
    return _internal_metadata_.mutable_unknown_fields();
428
0
  }
429
430
  static const ::google::protobuf::Descriptor* descriptor();
431
  static const AddRequestPartialPB& default_instance();
432
433
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
434
124
  static inline const AddRequestPartialPB* internal_default_instance() {
435
124
    return reinterpret_cast<const AddRequestPartialPB*>(
436
124
               &_AddRequestPartialPB_default_instance_);
437
124
  }
438
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
439
    1;
440
441
  void Swap(AddRequestPartialPB* other);
442
0
  friend void swap(AddRequestPartialPB& a, AddRequestPartialPB& b) {
443
0
    a.Swap(&b);
444
0
  }
445
446
  // implements Message ----------------------------------------------
447
448
0
  inline AddRequestPartialPB* New() const PROTOBUF_FINAL { return New(NULL); }
449
450
  AddRequestPartialPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
451
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
452
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
453
  void CopyFrom(const AddRequestPartialPB& from);
454
  void MergeFrom(const AddRequestPartialPB& from);
455
  void Clear() PROTOBUF_FINAL;
456
  bool IsInitialized() const PROTOBUF_FINAL;
457
458
  size_t ByteSizeLong() const PROTOBUF_FINAL;
459
  bool MergePartialFromCodedStream(
460
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
461
  void SerializeWithCachedSizes(
462
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
463
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
464
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
465
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
466
  private:
467
  void SharedCtor();
468
  void SharedDtor();
469
  void SetCachedSize(int size) const PROTOBUF_FINAL;
470
  void InternalSwap(AddRequestPartialPB* other);
471
  private:
472
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
473
0
    return NULL;
474
0
  }
475
0
  inline void* MaybeArenaPtr() const {
476
0
    return NULL;
477
0
  }
478
  public:
479
480
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
481
482
  // nested types ----------------------------------------------------
483
484
  // accessors -------------------------------------------------------
485
486
  // required uint32 x = 1;
487
  bool has_x() const;
488
  void clear_x();
489
  static const int kXFieldNumber = 1;
490
  ::google::protobuf::uint32 x() const;
491
  void set_x(::google::protobuf::uint32 value);
492
493
  // @@protoc_insertion_point(class_scope:yb.rpc_test.AddRequestPartialPB)
494
 private:
495
  void set_has_x();
496
  void clear_has_x();
497
498
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
499
  ::google::protobuf::internal::HasBits<1> _has_bits_;
500
  mutable int _cached_size_;
501
  ::google::protobuf::uint32 x_;
502
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
503
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsAddRequestPartialPBImpl();
504
};
505
// -------------------------------------------------------------------
506
507
class AddResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.AddResponsePB) */ {
508
 public:
509
  AddResponsePB();
510
  virtual ~AddResponsePB();
511
512
  AddResponsePB(const AddResponsePB& from);
513
514
0
  inline AddResponsePB& operator=(const AddResponsePB& from) {
515
0
    CopyFrom(from);
516
0
    return *this;
517
0
  }
518
  #if LANG_CXX11
519
  AddResponsePB(AddResponsePB&& from) noexcept
520
0
    : AddResponsePB() {
521
0
    *this = ::std::move(from);
522
0
  }
523
524
0
  inline AddResponsePB& operator=(AddResponsePB&& from) noexcept {
525
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
526
0
      if (this != &from) InternalSwap(&from);
527
0
    } else {
528
0
      CopyFrom(from);
529
0
    }
530
0
    return *this;
531
0
  }
532
  #endif
533
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
534
0
    return _internal_metadata_.unknown_fields();
535
0
  }
536
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
537
0
    return _internal_metadata_.mutable_unknown_fields();
538
0
  }
539
540
  static const ::google::protobuf::Descriptor* descriptor();
541
  static const AddResponsePB& default_instance();
542
543
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
544
3.53k
  static inline const AddResponsePB* internal_default_instance() {
545
3.53k
    return reinterpret_cast<const AddResponsePB*>(
546
3.53k
               &_AddResponsePB_default_instance_);
547
3.53k
  }
548
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
549
    2;
550
551
  void Swap(AddResponsePB* other);
552
0
  friend void swap(AddResponsePB& a, AddResponsePB& b) {
553
0
    a.Swap(&b);
554
0
  }
555
556
  // implements Message ----------------------------------------------
557
558
0
  inline AddResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
559
560
  AddResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
561
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
562
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
563
  void CopyFrom(const AddResponsePB& from);
564
  void MergeFrom(const AddResponsePB& from);
565
  void Clear() PROTOBUF_FINAL;
566
  bool IsInitialized() const PROTOBUF_FINAL;
567
568
  size_t ByteSizeLong() const PROTOBUF_FINAL;
569
  bool MergePartialFromCodedStream(
570
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
571
  void SerializeWithCachedSizes(
572
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
573
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
574
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
575
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
576
  private:
577
  void SharedCtor();
578
  void SharedDtor();
579
  void SetCachedSize(int size) const PROTOBUF_FINAL;
580
  void InternalSwap(AddResponsePB* other);
581
  private:
582
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
583
0
    return NULL;
584
0
  }
585
0
  inline void* MaybeArenaPtr() const {
586
0
    return NULL;
587
0
  }
588
  public:
589
590
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
591
592
  // nested types ----------------------------------------------------
593
594
  // accessors -------------------------------------------------------
595
596
  // required uint32 result = 1;
597
  bool has_result() const;
598
  void clear_result();
599
  static const int kResultFieldNumber = 1;
600
  ::google::protobuf::uint32 result() const;
601
  void set_result(::google::protobuf::uint32 value);
602
603
  // @@protoc_insertion_point(class_scope:yb.rpc_test.AddResponsePB)
604
 private:
605
  void set_has_result();
606
  void clear_has_result();
607
608
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
609
  ::google::protobuf::internal::HasBits<1> _has_bits_;
610
  mutable int _cached_size_;
611
  ::google::protobuf::uint32 result_;
612
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
613
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsAddResponsePBImpl();
614
};
615
// -------------------------------------------------------------------
616
617
class SleepRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.SleepRequestPB) */ {
618
 public:
619
  SleepRequestPB();
620
  virtual ~SleepRequestPB();
621
622
  SleepRequestPB(const SleepRequestPB& from);
623
624
0
  inline SleepRequestPB& operator=(const SleepRequestPB& from) {
625
0
    CopyFrom(from);
626
0
    return *this;
627
0
  }
628
  #if LANG_CXX11
629
  SleepRequestPB(SleepRequestPB&& from) noexcept
630
0
    : SleepRequestPB() {
631
0
    *this = ::std::move(from);
632
0
  }
633
634
0
  inline SleepRequestPB& operator=(SleepRequestPB&& from) noexcept {
635
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
636
0
      if (this != &from) InternalSwap(&from);
637
0
    } else {
638
0
      CopyFrom(from);
639
0
    }
640
0
    return *this;
641
0
  }
642
  #endif
643
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
644
0
    return _internal_metadata_.unknown_fields();
645
0
  }
646
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
647
0
    return _internal_metadata_.mutable_unknown_fields();
648
0
  }
649
650
  static const ::google::protobuf::Descriptor* descriptor();
651
  static const SleepRequestPB& default_instance();
652
653
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
654
243
  static inline const SleepRequestPB* internal_default_instance() {
655
243
    return reinterpret_cast<const SleepRequestPB*>(
656
243
               &_SleepRequestPB_default_instance_);
657
243
  }
658
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
659
    3;
660
661
  void Swap(SleepRequestPB* other);
662
0
  friend void swap(SleepRequestPB& a, SleepRequestPB& b) {
663
0
    a.Swap(&b);
664
0
  }
665
666
  // implements Message ----------------------------------------------
667
668
0
  inline SleepRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
669
670
  SleepRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
671
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
672
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
673
  void CopyFrom(const SleepRequestPB& from);
674
  void MergeFrom(const SleepRequestPB& from);
675
  void Clear() PROTOBUF_FINAL;
676
  bool IsInitialized() const PROTOBUF_FINAL;
677
678
  size_t ByteSizeLong() const PROTOBUF_FINAL;
679
  bool MergePartialFromCodedStream(
680
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
681
  void SerializeWithCachedSizes(
682
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
683
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
684
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
685
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
686
  private:
687
  void SharedCtor();
688
  void SharedDtor();
689
  void SetCachedSize(int size) const PROTOBUF_FINAL;
690
  void InternalSwap(SleepRequestPB* other);
691
  private:
692
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
693
0
    return NULL;
694
0
  }
695
0
  inline void* MaybeArenaPtr() const {
696
0
    return NULL;
697
0
  }
698
  public:
699
700
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
701
702
  // nested types ----------------------------------------------------
703
704
  // accessors -------------------------------------------------------
705
706
  // required uint32 sleep_micros = 1;
707
  bool has_sleep_micros() const;
708
  void clear_sleep_micros();
709
  static const int kSleepMicrosFieldNumber = 1;
710
  ::google::protobuf::uint32 sleep_micros() const;
711
  void set_sleep_micros(::google::protobuf::uint32 value);
712
713
  // optional bool deferred = 2 [default = false];
714
  bool has_deferred() const;
715
  void clear_deferred();
716
  static const int kDeferredFieldNumber = 2;
717
  bool deferred() const;
718
  void set_deferred(bool value);
719
720
  // optional bool return_app_error = 3 [default = false];
721
  bool has_return_app_error() const;
722
  void clear_return_app_error();
723
  static const int kReturnAppErrorFieldNumber = 3;
724
  bool return_app_error() const;
725
  void set_return_app_error(bool value);
726
727
  // optional bool client_timeout_defined = 4 [default = false];
728
  bool has_client_timeout_defined() const;
729
  void clear_client_timeout_defined();
730
  static const int kClientTimeoutDefinedFieldNumber = 4;
731
  bool client_timeout_defined() const;
732
  void set_client_timeout_defined(bool value);
733
734
  // @@protoc_insertion_point(class_scope:yb.rpc_test.SleepRequestPB)
735
 private:
736
  void set_has_sleep_micros();
737
  void clear_has_sleep_micros();
738
  void set_has_deferred();
739
  void clear_has_deferred();
740
  void set_has_return_app_error();
741
  void clear_has_return_app_error();
742
  void set_has_client_timeout_defined();
743
  void clear_has_client_timeout_defined();
744
745
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
746
  ::google::protobuf::internal::HasBits<1> _has_bits_;
747
  mutable int _cached_size_;
748
  ::google::protobuf::uint32 sleep_micros_;
749
  bool deferred_;
750
  bool return_app_error_;
751
  bool client_timeout_defined_;
752
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
753
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsSleepRequestPBImpl();
754
};
755
// -------------------------------------------------------------------
756
757
class SleepResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.SleepResponsePB) */ {
758
 public:
759
  SleepResponsePB();
760
  virtual ~SleepResponsePB();
761
762
  SleepResponsePB(const SleepResponsePB& from);
763
764
0
  inline SleepResponsePB& operator=(const SleepResponsePB& from) {
765
0
    CopyFrom(from);
766
0
    return *this;
767
0
  }
768
  #if LANG_CXX11
769
  SleepResponsePB(SleepResponsePB&& from) noexcept
770
0
    : SleepResponsePB() {
771
0
    *this = ::std::move(from);
772
0
  }
773
774
0
  inline SleepResponsePB& operator=(SleepResponsePB&& from) noexcept {
775
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
776
0
      if (this != &from) InternalSwap(&from);
777
0
    } else {
778
0
      CopyFrom(from);
779
0
    }
780
0
    return *this;
781
0
  }
782
  #endif
783
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
784
0
    return _internal_metadata_.unknown_fields();
785
0
  }
786
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
787
0
    return _internal_metadata_.mutable_unknown_fields();
788
0
  }
789
790
  static const ::google::protobuf::Descriptor* descriptor();
791
  static const SleepResponsePB& default_instance();
792
793
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
794
242
  static inline const SleepResponsePB* internal_default_instance() {
795
242
    return reinterpret_cast<const SleepResponsePB*>(
796
242
               &_SleepResponsePB_default_instance_);
797
242
  }
798
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
799
    4;
800
801
  void Swap(SleepResponsePB* other);
802
0
  friend void swap(SleepResponsePB& a, SleepResponsePB& b) {
803
0
    a.Swap(&b);
804
0
  }
805
806
  // implements Message ----------------------------------------------
807
808
0
  inline SleepResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
809
810
  SleepResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
811
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
812
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
813
  void CopyFrom(const SleepResponsePB& from);
814
  void MergeFrom(const SleepResponsePB& from);
815
  void Clear() PROTOBUF_FINAL;
816
  bool IsInitialized() const PROTOBUF_FINAL;
817
818
  size_t ByteSizeLong() const PROTOBUF_FINAL;
819
  bool MergePartialFromCodedStream(
820
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
821
  void SerializeWithCachedSizes(
822
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
823
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
824
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
825
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
826
  private:
827
  void SharedCtor();
828
  void SharedDtor();
829
  void SetCachedSize(int size) const PROTOBUF_FINAL;
830
  void InternalSwap(SleepResponsePB* other);
831
  private:
832
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
833
0
    return NULL;
834
0
  }
835
0
  inline void* MaybeArenaPtr() const {
836
0
    return NULL;
837
0
  }
838
  public:
839
840
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
841
842
  // nested types ----------------------------------------------------
843
844
  // accessors -------------------------------------------------------
845
846
  // @@protoc_insertion_point(class_scope:yb.rpc_test.SleepResponsePB)
847
 private:
848
849
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
850
  ::google::protobuf::internal::HasBits<1> _has_bits_;
851
  mutable int _cached_size_;
852
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
853
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsSleepResponsePBImpl();
854
};
855
// -------------------------------------------------------------------
856
857
class SendStringsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.SendStringsRequestPB) */ {
858
 public:
859
  SendStringsRequestPB();
860
  virtual ~SendStringsRequestPB();
861
862
  SendStringsRequestPB(const SendStringsRequestPB& from);
863
864
0
  inline SendStringsRequestPB& operator=(const SendStringsRequestPB& from) {
865
0
    CopyFrom(from);
866
0
    return *this;
867
0
  }
868
  #if LANG_CXX11
869
  SendStringsRequestPB(SendStringsRequestPB&& from) noexcept
870
0
    : SendStringsRequestPB() {
871
0
    *this = ::std::move(from);
872
0
  }
873
874
0
  inline SendStringsRequestPB& operator=(SendStringsRequestPB&& from) noexcept {
875
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
876
0
      if (this != &from) InternalSwap(&from);
877
0
    } else {
878
0
      CopyFrom(from);
879
0
    }
880
0
    return *this;
881
0
  }
882
  #endif
883
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
884
0
    return _internal_metadata_.unknown_fields();
885
0
  }
886
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
887
0
    return _internal_metadata_.mutable_unknown_fields();
888
0
  }
889
890
  static const ::google::protobuf::Descriptor* descriptor();
891
  static const SendStringsRequestPB& default_instance();
892
893
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
894
129
  static inline const SendStringsRequestPB* internal_default_instance() {
895
129
    return reinterpret_cast<const SendStringsRequestPB*>(
896
129
               &_SendStringsRequestPB_default_instance_);
897
129
  }
898
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
899
    5;
900
901
  void Swap(SendStringsRequestPB* other);
902
0
  friend void swap(SendStringsRequestPB& a, SendStringsRequestPB& b) {
903
0
    a.Swap(&b);
904
0
  }
905
906
  // implements Message ----------------------------------------------
907
908
0
  inline SendStringsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
909
910
  SendStringsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
911
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
912
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
913
  void CopyFrom(const SendStringsRequestPB& from);
914
  void MergeFrom(const SendStringsRequestPB& from);
915
  void Clear() PROTOBUF_FINAL;
916
  bool IsInitialized() const PROTOBUF_FINAL;
917
918
  size_t ByteSizeLong() const PROTOBUF_FINAL;
919
  bool MergePartialFromCodedStream(
920
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
921
  void SerializeWithCachedSizes(
922
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
923
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
924
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
925
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
926
  private:
927
  void SharedCtor();
928
  void SharedDtor();
929
  void SetCachedSize(int size) const PROTOBUF_FINAL;
930
  void InternalSwap(SendStringsRequestPB* other);
931
  private:
932
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
933
0
    return NULL;
934
0
  }
935
0
  inline void* MaybeArenaPtr() const {
936
0
    return NULL;
937
0
  }
938
  public:
939
940
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
941
942
  // nested types ----------------------------------------------------
943
944
  // accessors -------------------------------------------------------
945
946
  // repeated uint64 sizes = 2;
947
  int sizes_size() const;
948
  void clear_sizes();
949
  static const int kSizesFieldNumber = 2;
950
  ::google::protobuf::uint64 sizes(int index) const;
951
  void set_sizes(int index, ::google::protobuf::uint64 value);
952
  void add_sizes(::google::protobuf::uint64 value);
953
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
954
      sizes() const;
955
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
956
      mutable_sizes();
957
958
  // optional uint32 random_seed = 1;
959
  bool has_random_seed() const;
960
  void clear_random_seed();
961
  static const int kRandomSeedFieldNumber = 1;
962
  ::google::protobuf::uint32 random_seed() const;
963
  void set_random_seed(::google::protobuf::uint32 value);
964
965
  // @@protoc_insertion_point(class_scope:yb.rpc_test.SendStringsRequestPB)
966
 private:
967
  void set_has_random_seed();
968
  void clear_has_random_seed();
969
970
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
971
  ::google::protobuf::internal::HasBits<1> _has_bits_;
972
  mutable int _cached_size_;
973
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > sizes_;
974
  ::google::protobuf::uint32 random_seed_;
975
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
976
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsSendStringsRequestPBImpl();
977
};
978
// -------------------------------------------------------------------
979
980
class SendStringsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.SendStringsResponsePB) */ {
981
 public:
982
  SendStringsResponsePB();
983
  virtual ~SendStringsResponsePB();
984
985
  SendStringsResponsePB(const SendStringsResponsePB& from);
986
987
0
  inline SendStringsResponsePB& operator=(const SendStringsResponsePB& from) {
988
0
    CopyFrom(from);
989
0
    return *this;
990
0
  }
991
  #if LANG_CXX11
992
  SendStringsResponsePB(SendStringsResponsePB&& from) noexcept
993
0
    : SendStringsResponsePB() {
994
0
    *this = ::std::move(from);
995
0
  }
996
997
0
  inline SendStringsResponsePB& operator=(SendStringsResponsePB&& from) noexcept {
998
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
999
0
      if (this != &from) InternalSwap(&from);
1000
0
    } else {
1001
0
      CopyFrom(from);
1002
0
    }
1003
0
    return *this;
1004
0
  }
1005
  #endif
1006
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1007
0
    return _internal_metadata_.unknown_fields();
1008
0
  }
1009
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1010
0
    return _internal_metadata_.mutable_unknown_fields();
1011
0
  }
1012
1013
  static const ::google::protobuf::Descriptor* descriptor();
1014
  static const SendStringsResponsePB& default_instance();
1015
1016
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1017
129
  static inline const SendStringsResponsePB* internal_default_instance() {
1018
129
    return reinterpret_cast<const SendStringsResponsePB*>(
1019
129
               &_SendStringsResponsePB_default_instance_);
1020
129
  }
1021
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1022
    6;
1023
1024
  void Swap(SendStringsResponsePB* other);
1025
0
  friend void swap(SendStringsResponsePB& a, SendStringsResponsePB& b) {
1026
0
    a.Swap(&b);
1027
0
  }
1028
1029
  // implements Message ----------------------------------------------
1030
1031
0
  inline SendStringsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1032
1033
  SendStringsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1034
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1035
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1036
  void CopyFrom(const SendStringsResponsePB& from);
1037
  void MergeFrom(const SendStringsResponsePB& from);
1038
  void Clear() PROTOBUF_FINAL;
1039
  bool IsInitialized() const PROTOBUF_FINAL;
1040
1041
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1042
  bool MergePartialFromCodedStream(
1043
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1044
  void SerializeWithCachedSizes(
1045
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1046
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1047
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1048
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1049
  private:
1050
  void SharedCtor();
1051
  void SharedDtor();
1052
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1053
  void InternalSwap(SendStringsResponsePB* other);
1054
  private:
1055
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1056
0
    return NULL;
1057
0
  }
1058
0
  inline void* MaybeArenaPtr() const {
1059
0
    return NULL;
1060
0
  }
1061
  public:
1062
1063
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1064
1065
  // nested types ----------------------------------------------------
1066
1067
  // accessors -------------------------------------------------------
1068
1069
  // repeated uint32 sidecars = 1;
1070
  int sidecars_size() const;
1071
  void clear_sidecars();
1072
  static const int kSidecarsFieldNumber = 1;
1073
  ::google::protobuf::uint32 sidecars(int index) const;
1074
  void set_sidecars(int index, ::google::protobuf::uint32 value);
1075
  void add_sidecars(::google::protobuf::uint32 value);
1076
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1077
      sidecars() const;
1078
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1079
      mutable_sidecars();
1080
1081
  // @@protoc_insertion_point(class_scope:yb.rpc_test.SendStringsResponsePB)
1082
 private:
1083
1084
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1085
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1086
  mutable int _cached_size_;
1087
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > sidecars_;
1088
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1089
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsSendStringsResponsePBImpl();
1090
};
1091
// -------------------------------------------------------------------
1092
1093
class EchoRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.EchoRequestPB) */ {
1094
 public:
1095
  EchoRequestPB();
1096
  virtual ~EchoRequestPB();
1097
1098
  EchoRequestPB(const EchoRequestPB& from);
1099
1100
0
  inline EchoRequestPB& operator=(const EchoRequestPB& from) {
1101
0
    CopyFrom(from);
1102
0
    return *this;
1103
0
  }
1104
  #if LANG_CXX11
1105
  EchoRequestPB(EchoRequestPB&& from) noexcept
1106
0
    : EchoRequestPB() {
1107
0
    *this = ::std::move(from);
1108
0
  }
1109
1110
0
  inline EchoRequestPB& operator=(EchoRequestPB&& from) noexcept {
1111
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1112
0
      if (this != &from) InternalSwap(&from);
1113
0
    } else {
1114
0
      CopyFrom(from);
1115
0
    }
1116
0
    return *this;
1117
0
  }
1118
  #endif
1119
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1120
0
    return _internal_metadata_.unknown_fields();
1121
0
  }
1122
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1123
0
    return _internal_metadata_.mutable_unknown_fields();
1124
0
  }
1125
1126
  static const ::google::protobuf::Descriptor* descriptor();
1127
  static const EchoRequestPB& default_instance();
1128
1129
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1130
295k
  static inline const EchoRequestPB* internal_default_instance() {
1131
295k
    return reinterpret_cast<const EchoRequestPB*>(
1132
295k
               &_EchoRequestPB_default_instance_);
1133
295k
  }
1134
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1135
    7;
1136
1137
  void Swap(EchoRequestPB* other);
1138
0
  friend void swap(EchoRequestPB& a, EchoRequestPB& b) {
1139
0
    a.Swap(&b);
1140
0
  }
1141
1142
  // implements Message ----------------------------------------------
1143
1144
0
  inline EchoRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1145
1146
  EchoRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1147
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1148
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1149
  void CopyFrom(const EchoRequestPB& from);
1150
  void MergeFrom(const EchoRequestPB& from);
1151
  void Clear() PROTOBUF_FINAL;
1152
  bool IsInitialized() const PROTOBUF_FINAL;
1153
1154
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1155
  bool MergePartialFromCodedStream(
1156
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1157
  void SerializeWithCachedSizes(
1158
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1159
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1160
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1161
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1162
  private:
1163
  void SharedCtor();
1164
  void SharedDtor();
1165
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1166
  void InternalSwap(EchoRequestPB* other);
1167
  private:
1168
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1169
0
    return NULL;
1170
0
  }
1171
0
  inline void* MaybeArenaPtr() const {
1172
0
    return NULL;
1173
0
  }
1174
  public:
1175
1176
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1177
1178
  // nested types ----------------------------------------------------
1179
1180
  // accessors -------------------------------------------------------
1181
1182
  // required string data = 1;
1183
  bool has_data() const;
1184
  void clear_data();
1185
  static const int kDataFieldNumber = 1;
1186
  const ::std::string& data() const;
1187
  void set_data(const ::std::string& value);
1188
  #if LANG_CXX11
1189
  void set_data(::std::string&& value);
1190
  #endif
1191
  void set_data(const char* value);
1192
  void set_data(const char* value, size_t size);
1193
  ::std::string* mutable_data();
1194
  ::std::string* release_data();
1195
  void set_allocated_data(::std::string* data);
1196
1197
  // @@protoc_insertion_point(class_scope:yb.rpc_test.EchoRequestPB)
1198
 private:
1199
  void set_has_data();
1200
  void clear_has_data();
1201
1202
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1203
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1204
  mutable int _cached_size_;
1205
  ::google::protobuf::internal::ArenaStringPtr data_;
1206
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1207
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsEchoRequestPBImpl();
1208
};
1209
// -------------------------------------------------------------------
1210
1211
class EchoResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.EchoResponsePB) */ {
1212
 public:
1213
  EchoResponsePB();
1214
  virtual ~EchoResponsePB();
1215
1216
  EchoResponsePB(const EchoResponsePB& from);
1217
1218
0
  inline EchoResponsePB& operator=(const EchoResponsePB& from) {
1219
0
    CopyFrom(from);
1220
0
    return *this;
1221
0
  }
1222
  #if LANG_CXX11
1223
  EchoResponsePB(EchoResponsePB&& from) noexcept
1224
0
    : EchoResponsePB() {
1225
0
    *this = ::std::move(from);
1226
0
  }
1227
1228
0
  inline EchoResponsePB& operator=(EchoResponsePB&& from) noexcept {
1229
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1230
0
      if (this != &from) InternalSwap(&from);
1231
0
    } else {
1232
0
      CopyFrom(from);
1233
0
    }
1234
0
    return *this;
1235
0
  }
1236
  #endif
1237
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1238
0
    return _internal_metadata_.unknown_fields();
1239
0
  }
1240
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1241
0
    return _internal_metadata_.mutable_unknown_fields();
1242
0
  }
1243
1244
  static const ::google::protobuf::Descriptor* descriptor();
1245
  static const EchoResponsePB& default_instance();
1246
1247
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1248
557k
  static inline const EchoResponsePB* internal_default_instance() {
1249
557k
    return reinterpret_cast<const EchoResponsePB*>(
1250
557k
               &_EchoResponsePB_default_instance_);
1251
557k
  }
1252
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1253
    8;
1254
1255
  void Swap(EchoResponsePB* other);
1256
0
  friend void swap(EchoResponsePB& a, EchoResponsePB& b) {
1257
0
    a.Swap(&b);
1258
0
  }
1259
1260
  // implements Message ----------------------------------------------
1261
1262
0
  inline EchoResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1263
1264
  EchoResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1265
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1266
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1267
  void CopyFrom(const EchoResponsePB& from);
1268
  void MergeFrom(const EchoResponsePB& from);
1269
  void Clear() PROTOBUF_FINAL;
1270
  bool IsInitialized() const PROTOBUF_FINAL;
1271
1272
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1273
  bool MergePartialFromCodedStream(
1274
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1275
  void SerializeWithCachedSizes(
1276
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1277
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1278
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1279
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1280
  private:
1281
  void SharedCtor();
1282
  void SharedDtor();
1283
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1284
  void InternalSwap(EchoResponsePB* other);
1285
  private:
1286
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1287
0
    return NULL;
1288
0
  }
1289
0
  inline void* MaybeArenaPtr() const {
1290
0
    return NULL;
1291
0
  }
1292
  public:
1293
1294
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1295
1296
  // nested types ----------------------------------------------------
1297
1298
  // accessors -------------------------------------------------------
1299
1300
  // required string data = 1;
1301
  bool has_data() const;
1302
  void clear_data();
1303
  static const int kDataFieldNumber = 1;
1304
  const ::std::string& data() const;
1305
  void set_data(const ::std::string& value);
1306
  #if LANG_CXX11
1307
  void set_data(::std::string&& value);
1308
  #endif
1309
  void set_data(const char* value);
1310
  void set_data(const char* value, size_t size);
1311
  ::std::string* mutable_data();
1312
  ::std::string* release_data();
1313
  void set_allocated_data(::std::string* data);
1314
1315
  // @@protoc_insertion_point(class_scope:yb.rpc_test.EchoResponsePB)
1316
 private:
1317
  void set_has_data();
1318
  void clear_has_data();
1319
1320
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1321
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1322
  mutable int _cached_size_;
1323
  ::google::protobuf::internal::ArenaStringPtr data_;
1324
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1325
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsEchoResponsePBImpl();
1326
};
1327
// -------------------------------------------------------------------
1328
1329
class WhoAmIRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.WhoAmIRequestPB) */ {
1330
 public:
1331
  WhoAmIRequestPB();
1332
  virtual ~WhoAmIRequestPB();
1333
1334
  WhoAmIRequestPB(const WhoAmIRequestPB& from);
1335
1336
0
  inline WhoAmIRequestPB& operator=(const WhoAmIRequestPB& from) {
1337
0
    CopyFrom(from);
1338
0
    return *this;
1339
0
  }
1340
  #if LANG_CXX11
1341
  WhoAmIRequestPB(WhoAmIRequestPB&& from) noexcept
1342
0
    : WhoAmIRequestPB() {
1343
0
    *this = ::std::move(from);
1344
0
  }
1345
1346
0
  inline WhoAmIRequestPB& operator=(WhoAmIRequestPB&& from) noexcept {
1347
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1348
0
      if (this != &from) InternalSwap(&from);
1349
0
    } else {
1350
0
      CopyFrom(from);
1351
0
    }
1352
0
    return *this;
1353
0
  }
1354
  #endif
1355
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1356
0
    return _internal_metadata_.unknown_fields();
1357
0
  }
1358
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1359
0
    return _internal_metadata_.mutable_unknown_fields();
1360
0
  }
1361
1362
  static const ::google::protobuf::Descriptor* descriptor();
1363
  static const WhoAmIRequestPB& default_instance();
1364
1365
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1366
131
  static inline const WhoAmIRequestPB* internal_default_instance() {
1367
131
    return reinterpret_cast<const WhoAmIRequestPB*>(
1368
131
               &_WhoAmIRequestPB_default_instance_);
1369
131
  }
1370
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1371
    9;
1372
1373
  void Swap(WhoAmIRequestPB* other);
1374
0
  friend void swap(WhoAmIRequestPB& a, WhoAmIRequestPB& b) {
1375
0
    a.Swap(&b);
1376
0
  }
1377
1378
  // implements Message ----------------------------------------------
1379
1380
0
  inline WhoAmIRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1381
1382
  WhoAmIRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1383
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1384
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1385
  void CopyFrom(const WhoAmIRequestPB& from);
1386
  void MergeFrom(const WhoAmIRequestPB& from);
1387
  void Clear() PROTOBUF_FINAL;
1388
  bool IsInitialized() const PROTOBUF_FINAL;
1389
1390
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1391
  bool MergePartialFromCodedStream(
1392
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1393
  void SerializeWithCachedSizes(
1394
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1395
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1396
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1397
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1398
  private:
1399
  void SharedCtor();
1400
  void SharedDtor();
1401
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1402
  void InternalSwap(WhoAmIRequestPB* other);
1403
  private:
1404
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1405
0
    return NULL;
1406
0
  }
1407
0
  inline void* MaybeArenaPtr() const {
1408
0
    return NULL;
1409
0
  }
1410
  public:
1411
1412
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1413
1414
  // nested types ----------------------------------------------------
1415
1416
  // accessors -------------------------------------------------------
1417
1418
  // @@protoc_insertion_point(class_scope:yb.rpc_test.WhoAmIRequestPB)
1419
 private:
1420
1421
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1422
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1423
  mutable int _cached_size_;
1424
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1425
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsWhoAmIRequestPBImpl();
1426
};
1427
// -------------------------------------------------------------------
1428
1429
class WhoAmIResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.WhoAmIResponsePB) */ {
1430
 public:
1431
  WhoAmIResponsePB();
1432
  virtual ~WhoAmIResponsePB();
1433
1434
  WhoAmIResponsePB(const WhoAmIResponsePB& from);
1435
1436
0
  inline WhoAmIResponsePB& operator=(const WhoAmIResponsePB& from) {
1437
0
    CopyFrom(from);
1438
0
    return *this;
1439
0
  }
1440
  #if LANG_CXX11
1441
  WhoAmIResponsePB(WhoAmIResponsePB&& from) noexcept
1442
0
    : WhoAmIResponsePB() {
1443
0
    *this = ::std::move(from);
1444
0
  }
1445
1446
0
  inline WhoAmIResponsePB& operator=(WhoAmIResponsePB&& from) noexcept {
1447
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1448
0
      if (this != &from) InternalSwap(&from);
1449
0
    } else {
1450
0
      CopyFrom(from);
1451
0
    }
1452
0
    return *this;
1453
0
  }
1454
  #endif
1455
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1456
0
    return _internal_metadata_.unknown_fields();
1457
0
  }
1458
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1459
0
    return _internal_metadata_.mutable_unknown_fields();
1460
0
  }
1461
1462
  static const ::google::protobuf::Descriptor* descriptor();
1463
  static const WhoAmIResponsePB& default_instance();
1464
1465
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1466
131
  static inline const WhoAmIResponsePB* internal_default_instance() {
1467
131
    return reinterpret_cast<const WhoAmIResponsePB*>(
1468
131
               &_WhoAmIResponsePB_default_instance_);
1469
131
  }
1470
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1471
    10;
1472
1473
  void Swap(WhoAmIResponsePB* other);
1474
0
  friend void swap(WhoAmIResponsePB& a, WhoAmIResponsePB& b) {
1475
0
    a.Swap(&b);
1476
0
  }
1477
1478
  // implements Message ----------------------------------------------
1479
1480
0
  inline WhoAmIResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1481
1482
  WhoAmIResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1483
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1484
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1485
  void CopyFrom(const WhoAmIResponsePB& from);
1486
  void MergeFrom(const WhoAmIResponsePB& from);
1487
  void Clear() PROTOBUF_FINAL;
1488
  bool IsInitialized() const PROTOBUF_FINAL;
1489
1490
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1491
  bool MergePartialFromCodedStream(
1492
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1493
  void SerializeWithCachedSizes(
1494
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1495
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1496
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1497
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1498
  private:
1499
  void SharedCtor();
1500
  void SharedDtor();
1501
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1502
  void InternalSwap(WhoAmIResponsePB* other);
1503
  private:
1504
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1505
0
    return NULL;
1506
0
  }
1507
0
  inline void* MaybeArenaPtr() const {
1508
0
    return NULL;
1509
0
  }
1510
  public:
1511
1512
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1513
1514
  // nested types ----------------------------------------------------
1515
1516
  // accessors -------------------------------------------------------
1517
1518
  // required string address = 2;
1519
  bool has_address() const;
1520
  void clear_address();
1521
  static const int kAddressFieldNumber = 2;
1522
  const ::std::string& address() const;
1523
  void set_address(const ::std::string& value);
1524
  #if LANG_CXX11
1525
  void set_address(::std::string&& value);
1526
  #endif
1527
  void set_address(const char* value);
1528
  void set_address(const char* value, size_t size);
1529
  ::std::string* mutable_address();
1530
  ::std::string* release_address();
1531
  void set_allocated_address(::std::string* address);
1532
1533
  // @@protoc_insertion_point(class_scope:yb.rpc_test.WhoAmIResponsePB)
1534
 private:
1535
  void set_has_address();
1536
  void clear_has_address();
1537
1538
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1539
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1540
  mutable int _cached_size_;
1541
  ::google::protobuf::internal::ArenaStringPtr address_;
1542
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1543
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsWhoAmIResponsePBImpl();
1544
};
1545
// -------------------------------------------------------------------
1546
1547
class CalculatorError : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.CalculatorError) */ {
1548
 public:
1549
  CalculatorError();
1550
  virtual ~CalculatorError();
1551
1552
  CalculatorError(const CalculatorError& from);
1553
1554
0
  inline CalculatorError& operator=(const CalculatorError& from) {
1555
0
    CopyFrom(from);
1556
0
    return *this;
1557
0
  }
1558
  #if LANG_CXX11
1559
  CalculatorError(CalculatorError&& from) noexcept
1560
0
    : CalculatorError() {
1561
0
    *this = ::std::move(from);
1562
0
  }
1563
1564
0
  inline CalculatorError& operator=(CalculatorError&& from) noexcept {
1565
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1566
0
      if (this != &from) InternalSwap(&from);
1567
0
    } else {
1568
0
      CopyFrom(from);
1569
0
    }
1570
0
    return *this;
1571
0
  }
1572
  #endif
1573
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1574
0
    return _internal_metadata_.unknown_fields();
1575
0
  }
1576
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1577
0
    return _internal_metadata_.mutable_unknown_fields();
1578
0
  }
1579
1580
  static const ::google::protobuf::Descriptor* descriptor();
1581
  static const CalculatorError& default_instance();
1582
1583
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1584
375
  static inline const CalculatorError* internal_default_instance() {
1585
375
    return reinterpret_cast<const CalculatorError*>(
1586
375
               &_CalculatorError_default_instance_);
1587
375
  }
1588
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1589
    11;
1590
1591
  void Swap(CalculatorError* other);
1592
0
  friend void swap(CalculatorError& a, CalculatorError& b) {
1593
0
    a.Swap(&b);
1594
0
  }
1595
1596
  // implements Message ----------------------------------------------
1597
1598
0
  inline CalculatorError* New() const PROTOBUF_FINAL { return New(NULL); }
1599
1600
  CalculatorError* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1601
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1602
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1603
  void CopyFrom(const CalculatorError& from);
1604
  void MergeFrom(const CalculatorError& from);
1605
  void Clear() PROTOBUF_FINAL;
1606
  bool IsInitialized() const PROTOBUF_FINAL;
1607
1608
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1609
  bool MergePartialFromCodedStream(
1610
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1611
  void SerializeWithCachedSizes(
1612
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1613
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1614
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1615
2
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1616
  private:
1617
  void SharedCtor();
1618
  void SharedDtor();
1619
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1620
  void InternalSwap(CalculatorError* other);
1621
  private:
1622
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1623
0
    return NULL;
1624
0
  }
1625
0
  inline void* MaybeArenaPtr() const {
1626
0
    return NULL;
1627
0
  }
1628
  public:
1629
1630
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1631
1632
  // nested types ----------------------------------------------------
1633
1634
  // accessors -------------------------------------------------------
1635
1636
  // required string extra_error_data = 1;
1637
  bool has_extra_error_data() const;
1638
  void clear_extra_error_data();
1639
  static const int kExtraErrorDataFieldNumber = 1;
1640
  const ::std::string& extra_error_data() const;
1641
  void set_extra_error_data(const ::std::string& value);
1642
  #if LANG_CXX11
1643
  void set_extra_error_data(::std::string&& value);
1644
  #endif
1645
  void set_extra_error_data(const char* value);
1646
  void set_extra_error_data(const char* value, size_t size);
1647
  ::std::string* mutable_extra_error_data();
1648
  ::std::string* release_extra_error_data();
1649
  void set_allocated_extra_error_data(::std::string* extra_error_data);
1650
1651
  static const int kAppErrorExtFieldNumber = 101;
1652
  static ::google::protobuf::internal::ExtensionIdentifier< ::yb::rpc::ErrorStatusPB,
1653
      ::google::protobuf::internal::MessageTypeTraits< ::yb::rpc_test::CalculatorError >, 11, false >
1654
    app_error_ext;
1655
  // @@protoc_insertion_point(class_scope:yb.rpc_test.CalculatorError)
1656
 private:
1657
  void set_has_extra_error_data();
1658
  void clear_has_extra_error_data();
1659
1660
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1661
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1662
  mutable int _cached_size_;
1663
  ::google::protobuf::internal::ArenaStringPtr extra_error_data_;
1664
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1665
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsCalculatorErrorImpl();
1666
};
1667
// -------------------------------------------------------------------
1668
1669
class PanicRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.PanicRequestPB) */ {
1670
 public:
1671
  PanicRequestPB();
1672
  virtual ~PanicRequestPB();
1673
1674
  PanicRequestPB(const PanicRequestPB& from);
1675
1676
0
  inline PanicRequestPB& operator=(const PanicRequestPB& from) {
1677
0
    CopyFrom(from);
1678
0
    return *this;
1679
0
  }
1680
  #if LANG_CXX11
1681
  PanicRequestPB(PanicRequestPB&& from) noexcept
1682
0
    : PanicRequestPB() {
1683
0
    *this = ::std::move(from);
1684
0
  }
1685
1686
0
  inline PanicRequestPB& operator=(PanicRequestPB&& from) noexcept {
1687
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1688
0
      if (this != &from) InternalSwap(&from);
1689
0
    } else {
1690
0
      CopyFrom(from);
1691
0
    }
1692
0
    return *this;
1693
0
  }
1694
  #endif
1695
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1696
0
    return _internal_metadata_.unknown_fields();
1697
0
  }
1698
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1699
0
    return _internal_metadata_.mutable_unknown_fields();
1700
0
  }
1701
1702
  static const ::google::protobuf::Descriptor* descriptor();
1703
  static const PanicRequestPB& default_instance();
1704
1705
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1706
125
  static inline const PanicRequestPB* internal_default_instance() {
1707
125
    return reinterpret_cast<const PanicRequestPB*>(
1708
125
               &_PanicRequestPB_default_instance_);
1709
125
  }
1710
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1711
    12;
1712
1713
  void Swap(PanicRequestPB* other);
1714
0
  friend void swap(PanicRequestPB& a, PanicRequestPB& b) {
1715
0
    a.Swap(&b);
1716
0
  }
1717
1718
  // implements Message ----------------------------------------------
1719
1720
0
  inline PanicRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1721
1722
  PanicRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1723
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1724
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1725
  void CopyFrom(const PanicRequestPB& from);
1726
  void MergeFrom(const PanicRequestPB& from);
1727
  void Clear() PROTOBUF_FINAL;
1728
  bool IsInitialized() const PROTOBUF_FINAL;
1729
1730
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1731
  bool MergePartialFromCodedStream(
1732
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1733
  void SerializeWithCachedSizes(
1734
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1735
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1736
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1737
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1738
  private:
1739
  void SharedCtor();
1740
  void SharedDtor();
1741
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1742
  void InternalSwap(PanicRequestPB* other);
1743
  private:
1744
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1745
0
    return NULL;
1746
0
  }
1747
0
  inline void* MaybeArenaPtr() const {
1748
0
    return NULL;
1749
0
  }
1750
  public:
1751
1752
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1753
1754
  // nested types ----------------------------------------------------
1755
1756
  // accessors -------------------------------------------------------
1757
1758
  // @@protoc_insertion_point(class_scope:yb.rpc_test.PanicRequestPB)
1759
 private:
1760
1761
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1762
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1763
  mutable int _cached_size_;
1764
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1765
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsPanicRequestPBImpl();
1766
};
1767
// -------------------------------------------------------------------
1768
1769
class PanicResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.PanicResponsePB) */ {
1770
 public:
1771
  PanicResponsePB();
1772
  virtual ~PanicResponsePB();
1773
1774
  PanicResponsePB(const PanicResponsePB& from);
1775
1776
0
  inline PanicResponsePB& operator=(const PanicResponsePB& from) {
1777
0
    CopyFrom(from);
1778
0
    return *this;
1779
0
  }
1780
  #if LANG_CXX11
1781
  PanicResponsePB(PanicResponsePB&& from) noexcept
1782
0
    : PanicResponsePB() {
1783
0
    *this = ::std::move(from);
1784
0
  }
1785
1786
0
  inline PanicResponsePB& operator=(PanicResponsePB&& from) noexcept {
1787
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1788
0
      if (this != &from) InternalSwap(&from);
1789
0
    } else {
1790
0
      CopyFrom(from);
1791
0
    }
1792
0
    return *this;
1793
0
  }
1794
  #endif
1795
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1796
0
    return _internal_metadata_.unknown_fields();
1797
0
  }
1798
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1799
0
    return _internal_metadata_.mutable_unknown_fields();
1800
0
  }
1801
1802
  static const ::google::protobuf::Descriptor* descriptor();
1803
  static const PanicResponsePB& default_instance();
1804
1805
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1806
125
  static inline const PanicResponsePB* internal_default_instance() {
1807
125
    return reinterpret_cast<const PanicResponsePB*>(
1808
125
               &_PanicResponsePB_default_instance_);
1809
125
  }
1810
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1811
    13;
1812
1813
  void Swap(PanicResponsePB* other);
1814
0
  friend void swap(PanicResponsePB& a, PanicResponsePB& b) {
1815
0
    a.Swap(&b);
1816
0
  }
1817
1818
  // implements Message ----------------------------------------------
1819
1820
0
  inline PanicResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1821
1822
  PanicResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1823
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1824
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1825
  void CopyFrom(const PanicResponsePB& from);
1826
  void MergeFrom(const PanicResponsePB& from);
1827
  void Clear() PROTOBUF_FINAL;
1828
  bool IsInitialized() const PROTOBUF_FINAL;
1829
1830
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1831
  bool MergePartialFromCodedStream(
1832
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1833
  void SerializeWithCachedSizes(
1834
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1835
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1836
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1837
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1838
  private:
1839
  void SharedCtor();
1840
  void SharedDtor();
1841
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1842
  void InternalSwap(PanicResponsePB* other);
1843
  private:
1844
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1845
0
    return NULL;
1846
0
  }
1847
0
  inline void* MaybeArenaPtr() const {
1848
0
    return NULL;
1849
0
  }
1850
  public:
1851
1852
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1853
1854
  // nested types ----------------------------------------------------
1855
1856
  // accessors -------------------------------------------------------
1857
1858
  // @@protoc_insertion_point(class_scope:yb.rpc_test.PanicResponsePB)
1859
 private:
1860
1861
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1862
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1863
  mutable int _cached_size_;
1864
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1865
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsPanicResponsePBImpl();
1866
};
1867
// -------------------------------------------------------------------
1868
1869
class PingRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.PingRequestPB) */ {
1870
 public:
1871
  PingRequestPB();
1872
  virtual ~PingRequestPB();
1873
1874
  PingRequestPB(const PingRequestPB& from);
1875
1876
0
  inline PingRequestPB& operator=(const PingRequestPB& from) {
1877
0
    CopyFrom(from);
1878
0
    return *this;
1879
0
  }
1880
  #if LANG_CXX11
1881
  PingRequestPB(PingRequestPB&& from) noexcept
1882
0
    : PingRequestPB() {
1883
0
    *this = ::std::move(from);
1884
0
  }
1885
1886
0
  inline PingRequestPB& operator=(PingRequestPB&& from) noexcept {
1887
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1888
0
      if (this != &from) InternalSwap(&from);
1889
0
    } else {
1890
0
      CopyFrom(from);
1891
0
    }
1892
0
    return *this;
1893
0
  }
1894
  #endif
1895
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1896
0
    return _internal_metadata_.unknown_fields();
1897
0
  }
1898
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1899
0
    return _internal_metadata_.mutable_unknown_fields();
1900
0
  }
1901
1902
  static const ::google::protobuf::Descriptor* descriptor();
1903
  static const PingRequestPB& default_instance();
1904
1905
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1906
99.5k
  static inline const PingRequestPB* internal_default_instance() {
1907
99.5k
    return reinterpret_cast<const PingRequestPB*>(
1908
99.5k
               &_PingRequestPB_default_instance_);
1909
99.5k
  }
1910
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1911
    14;
1912
1913
  void Swap(PingRequestPB* other);
1914
0
  friend void swap(PingRequestPB& a, PingRequestPB& b) {
1915
0
    a.Swap(&b);
1916
0
  }
1917
1918
  // implements Message ----------------------------------------------
1919
1920
0
  inline PingRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1921
1922
  PingRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1923
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1924
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1925
  void CopyFrom(const PingRequestPB& from);
1926
  void MergeFrom(const PingRequestPB& from);
1927
  void Clear() PROTOBUF_FINAL;
1928
  bool IsInitialized() const PROTOBUF_FINAL;
1929
1930
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1931
  bool MergePartialFromCodedStream(
1932
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1933
  void SerializeWithCachedSizes(
1934
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1935
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1936
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1937
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1938
  private:
1939
  void SharedCtor();
1940
  void SharedDtor();
1941
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1942
  void InternalSwap(PingRequestPB* other);
1943
  private:
1944
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1945
0
    return NULL;
1946
0
  }
1947
0
  inline void* MaybeArenaPtr() const {
1948
0
    return NULL;
1949
0
  }
1950
  public:
1951
1952
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1953
1954
  // nested types ----------------------------------------------------
1955
1956
  // accessors -------------------------------------------------------
1957
1958
  // required uint64 id = 1;
1959
  bool has_id() const;
1960
  void clear_id();
1961
  static const int kIdFieldNumber = 1;
1962
  ::google::protobuf::uint64 id() const;
1963
  void set_id(::google::protobuf::uint64 value);
1964
1965
  // @@protoc_insertion_point(class_scope:yb.rpc_test.PingRequestPB)
1966
 private:
1967
  void set_has_id();
1968
  void clear_has_id();
1969
1970
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1971
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1972
  mutable int _cached_size_;
1973
  ::google::protobuf::uint64 id_;
1974
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
1975
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsPingRequestPBImpl();
1976
};
1977
// -------------------------------------------------------------------
1978
1979
class PingResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.PingResponsePB) */ {
1980
 public:
1981
  PingResponsePB();
1982
  virtual ~PingResponsePB();
1983
1984
  PingResponsePB(const PingResponsePB& from);
1985
1986
0
  inline PingResponsePB& operator=(const PingResponsePB& from) {
1987
0
    CopyFrom(from);
1988
0
    return *this;
1989
0
  }
1990
  #if LANG_CXX11
1991
  PingResponsePB(PingResponsePB&& from) noexcept
1992
0
    : PingResponsePB() {
1993
0
    *this = ::std::move(from);
1994
0
  }
1995
1996
0
  inline PingResponsePB& operator=(PingResponsePB&& from) noexcept {
1997
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1998
0
      if (this != &from) InternalSwap(&from);
1999
0
    } else {
2000
0
      CopyFrom(from);
2001
0
    }
2002
0
    return *this;
2003
0
  }
2004
  #endif
2005
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2006
0
    return _internal_metadata_.unknown_fields();
2007
0
  }
2008
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2009
0
    return _internal_metadata_.mutable_unknown_fields();
2010
0
  }
2011
2012
  static const ::google::protobuf::Descriptor* descriptor();
2013
  static const PingResponsePB& default_instance();
2014
2015
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2016
99.8k
  static inline const PingResponsePB* internal_default_instance() {
2017
99.8k
    return reinterpret_cast<const PingResponsePB*>(
2018
99.8k
               &_PingResponsePB_default_instance_);
2019
99.8k
  }
2020
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2021
    15;
2022
2023
  void Swap(PingResponsePB* other);
2024
0
  friend void swap(PingResponsePB& a, PingResponsePB& b) {
2025
0
    a.Swap(&b);
2026
0
  }
2027
2028
  // implements Message ----------------------------------------------
2029
2030
0
  inline PingResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2031
2032
  PingResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2033
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2034
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2035
  void CopyFrom(const PingResponsePB& from);
2036
  void MergeFrom(const PingResponsePB& from);
2037
  void Clear() PROTOBUF_FINAL;
2038
  bool IsInitialized() const PROTOBUF_FINAL;
2039
2040
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2041
  bool MergePartialFromCodedStream(
2042
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2043
  void SerializeWithCachedSizes(
2044
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2045
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2046
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2047
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2048
  private:
2049
  void SharedCtor();
2050
  void SharedDtor();
2051
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2052
  void InternalSwap(PingResponsePB* other);
2053
  private:
2054
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2055
0
    return NULL;
2056
0
  }
2057
0
  inline void* MaybeArenaPtr() const {
2058
0
    return NULL;
2059
0
  }
2060
  public:
2061
2062
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2063
2064
  // nested types ----------------------------------------------------
2065
2066
  // accessors -------------------------------------------------------
2067
2068
  // required uint64 time = 1;
2069
  bool has_time() const;
2070
  void clear_time();
2071
  static const int kTimeFieldNumber = 1;
2072
  ::google::protobuf::uint64 time() const;
2073
  void set_time(::google::protobuf::uint64 value);
2074
2075
  // @@protoc_insertion_point(class_scope:yb.rpc_test.PingResponsePB)
2076
 private:
2077
  void set_has_time();
2078
  void clear_has_time();
2079
2080
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2081
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2082
  mutable int _cached_size_;
2083
  ::google::protobuf::uint64 time_;
2084
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2085
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsPingResponsePBImpl();
2086
};
2087
// -------------------------------------------------------------------
2088
2089
class DisconnectRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.DisconnectRequestPB) */ {
2090
 public:
2091
  DisconnectRequestPB();
2092
  virtual ~DisconnectRequestPB();
2093
2094
  DisconnectRequestPB(const DisconnectRequestPB& from);
2095
2096
0
  inline DisconnectRequestPB& operator=(const DisconnectRequestPB& from) {
2097
0
    CopyFrom(from);
2098
0
    return *this;
2099
0
  }
2100
  #if LANG_CXX11
2101
  DisconnectRequestPB(DisconnectRequestPB&& from) noexcept
2102
0
    : DisconnectRequestPB() {
2103
0
    *this = ::std::move(from);
2104
0
  }
2105
2106
0
  inline DisconnectRequestPB& operator=(DisconnectRequestPB&& from) noexcept {
2107
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2108
0
      if (this != &from) InternalSwap(&from);
2109
0
    } else {
2110
0
      CopyFrom(from);
2111
0
    }
2112
0
    return *this;
2113
0
  }
2114
  #endif
2115
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2116
0
    return _internal_metadata_.unknown_fields();
2117
0
  }
2118
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2119
0
    return _internal_metadata_.mutable_unknown_fields();
2120
0
  }
2121
2122
  static const ::google::protobuf::Descriptor* descriptor();
2123
  static const DisconnectRequestPB& default_instance();
2124
2125
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2126
15.3k
  static inline const DisconnectRequestPB* internal_default_instance() {
2127
15.3k
    return reinterpret_cast<const DisconnectRequestPB*>(
2128
15.3k
               &_DisconnectRequestPB_default_instance_);
2129
15.3k
  }
2130
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2131
    16;
2132
2133
  void Swap(DisconnectRequestPB* other);
2134
0
  friend void swap(DisconnectRequestPB& a, DisconnectRequestPB& b) {
2135
0
    a.Swap(&b);
2136
0
  }
2137
2138
  // implements Message ----------------------------------------------
2139
2140
0
  inline DisconnectRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2141
2142
  DisconnectRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2143
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2144
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2145
  void CopyFrom(const DisconnectRequestPB& from);
2146
  void MergeFrom(const DisconnectRequestPB& from);
2147
  void Clear() PROTOBUF_FINAL;
2148
  bool IsInitialized() const PROTOBUF_FINAL;
2149
2150
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2151
  bool MergePartialFromCodedStream(
2152
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2153
  void SerializeWithCachedSizes(
2154
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2155
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2156
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2157
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2158
  private:
2159
  void SharedCtor();
2160
  void SharedDtor();
2161
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2162
  void InternalSwap(DisconnectRequestPB* other);
2163
  private:
2164
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2165
0
    return NULL;
2166
0
  }
2167
0
  inline void* MaybeArenaPtr() const {
2168
0
    return NULL;
2169
0
  }
2170
  public:
2171
2172
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2173
2174
  // nested types ----------------------------------------------------
2175
2176
  // accessors -------------------------------------------------------
2177
2178
  // @@protoc_insertion_point(class_scope:yb.rpc_test.DisconnectRequestPB)
2179
 private:
2180
2181
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2182
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2183
  mutable int _cached_size_;
2184
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2185
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsDisconnectRequestPBImpl();
2186
};
2187
// -------------------------------------------------------------------
2188
2189
class DisconnectResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.DisconnectResponsePB) */ {
2190
 public:
2191
  DisconnectResponsePB();
2192
  virtual ~DisconnectResponsePB();
2193
2194
  DisconnectResponsePB(const DisconnectResponsePB& from);
2195
2196
0
  inline DisconnectResponsePB& operator=(const DisconnectResponsePB& from) {
2197
0
    CopyFrom(from);
2198
0
    return *this;
2199
0
  }
2200
  #if LANG_CXX11
2201
  DisconnectResponsePB(DisconnectResponsePB&& from) noexcept
2202
0
    : DisconnectResponsePB() {
2203
0
    *this = ::std::move(from);
2204
0
  }
2205
2206
  inline DisconnectResponsePB& operator=(DisconnectResponsePB&& from) noexcept {
2207
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2208
      if (this != &from) InternalSwap(&from);
2209
    } else {
2210
      CopyFrom(from);
2211
    }
2212
    return *this;
2213
  }
2214
  #endif
2215
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2216
0
    return _internal_metadata_.unknown_fields();
2217
0
  }
2218
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2219
0
    return _internal_metadata_.mutable_unknown_fields();
2220
0
  }
2221
2222
  static const ::google::protobuf::Descriptor* descriptor();
2223
  static const DisconnectResponsePB& default_instance();
2224
2225
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2226
31.6k
  static inline const DisconnectResponsePB* internal_default_instance() {
2227
31.6k
    return reinterpret_cast<const DisconnectResponsePB*>(
2228
31.6k
               &_DisconnectResponsePB_default_instance_);
2229
31.6k
  }
2230
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2231
    17;
2232
2233
  void Swap(DisconnectResponsePB* other);
2234
0
  friend void swap(DisconnectResponsePB& a, DisconnectResponsePB& b) {
2235
0
    a.Swap(&b);
2236
0
  }
2237
2238
  // implements Message ----------------------------------------------
2239
2240
0
  inline DisconnectResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2241
2242
  DisconnectResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2243
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2244
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2245
  void CopyFrom(const DisconnectResponsePB& from);
2246
  void MergeFrom(const DisconnectResponsePB& from);
2247
  void Clear() PROTOBUF_FINAL;
2248
  bool IsInitialized() const PROTOBUF_FINAL;
2249
2250
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2251
  bool MergePartialFromCodedStream(
2252
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2253
  void SerializeWithCachedSizes(
2254
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2255
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2256
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2257
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2258
  private:
2259
  void SharedCtor();
2260
  void SharedDtor();
2261
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2262
  void InternalSwap(DisconnectResponsePB* other);
2263
  private:
2264
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2265
    return NULL;
2266
  }
2267
0
  inline void* MaybeArenaPtr() const {
2268
0
    return NULL;
2269
0
  }
2270
  public:
2271
2272
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2273
2274
  // nested types ----------------------------------------------------
2275
2276
  // accessors -------------------------------------------------------
2277
2278
  // @@protoc_insertion_point(class_scope:yb.rpc_test.DisconnectResponsePB)
2279
 private:
2280
2281
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2282
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2283
  mutable int _cached_size_;
2284
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2285
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsDisconnectResponsePBImpl();
2286
};
2287
// -------------------------------------------------------------------
2288
2289
class ForwardRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.ForwardRequestPB) */ {
2290
 public:
2291
  ForwardRequestPB();
2292
  virtual ~ForwardRequestPB();
2293
2294
  ForwardRequestPB(const ForwardRequestPB& from);
2295
2296
0
  inline ForwardRequestPB& operator=(const ForwardRequestPB& from) {
2297
0
    CopyFrom(from);
2298
0
    return *this;
2299
0
  }
2300
  #if LANG_CXX11
2301
  ForwardRequestPB(ForwardRequestPB&& from) noexcept
2302
0
    : ForwardRequestPB() {
2303
0
    *this = ::std::move(from);
2304
0
  }
2305
2306
0
  inline ForwardRequestPB& operator=(ForwardRequestPB&& from) noexcept {
2307
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2308
0
      if (this != &from) InternalSwap(&from);
2309
0
    } else {
2310
0
      CopyFrom(from);
2311
0
    }
2312
0
    return *this;
2313
0
  }
2314
  #endif
2315
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2316
0
    return _internal_metadata_.unknown_fields();
2317
0
  }
2318
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2319
0
    return _internal_metadata_.mutable_unknown_fields();
2320
0
  }
2321
2322
  static const ::google::protobuf::Descriptor* descriptor();
2323
  static const ForwardRequestPB& default_instance();
2324
2325
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2326
149
  static inline const ForwardRequestPB* internal_default_instance() {
2327
149
    return reinterpret_cast<const ForwardRequestPB*>(
2328
149
               &_ForwardRequestPB_default_instance_);
2329
149
  }
2330
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2331
    18;
2332
2333
  void Swap(ForwardRequestPB* other);
2334
0
  friend void swap(ForwardRequestPB& a, ForwardRequestPB& b) {
2335
0
    a.Swap(&b);
2336
0
  }
2337
2338
  // implements Message ----------------------------------------------
2339
2340
0
  inline ForwardRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2341
2342
  ForwardRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2343
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2344
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2345
  void CopyFrom(const ForwardRequestPB& from);
2346
  void MergeFrom(const ForwardRequestPB& from);
2347
  void Clear() PROTOBUF_FINAL;
2348
  bool IsInitialized() const PROTOBUF_FINAL;
2349
2350
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2351
  bool MergePartialFromCodedStream(
2352
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2353
  void SerializeWithCachedSizes(
2354
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2355
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2356
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2357
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2358
  private:
2359
  void SharedCtor();
2360
  void SharedDtor();
2361
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2362
  void InternalSwap(ForwardRequestPB* other);
2363
  private:
2364
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2365
0
    return NULL;
2366
0
  }
2367
0
  inline void* MaybeArenaPtr() const {
2368
0
    return NULL;
2369
0
  }
2370
  public:
2371
2372
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2373
2374
  // nested types ----------------------------------------------------
2375
2376
  // accessors -------------------------------------------------------
2377
2378
  // optional string host = 1;
2379
  bool has_host() const;
2380
  void clear_host();
2381
  static const int kHostFieldNumber = 1;
2382
  const ::std::string& host() const;
2383
  void set_host(const ::std::string& value);
2384
  #if LANG_CXX11
2385
  void set_host(::std::string&& value);
2386
  #endif
2387
  void set_host(const char* value);
2388
  void set_host(const char* value, size_t size);
2389
  ::std::string* mutable_host();
2390
  ::std::string* release_host();
2391
  void set_allocated_host(::std::string* host);
2392
2393
  // optional uint32 port = 2;
2394
  bool has_port() const;
2395
  void clear_port();
2396
  static const int kPortFieldNumber = 2;
2397
  ::google::protobuf::uint32 port() const;
2398
  void set_port(::google::protobuf::uint32 value);
2399
2400
  // @@protoc_insertion_point(class_scope:yb.rpc_test.ForwardRequestPB)
2401
 private:
2402
  void set_has_host();
2403
  void clear_has_host();
2404
  void set_has_port();
2405
  void clear_has_port();
2406
2407
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2408
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2409
  mutable int _cached_size_;
2410
  ::google::protobuf::internal::ArenaStringPtr host_;
2411
  ::google::protobuf::uint32 port_;
2412
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2413
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsForwardRequestPBImpl();
2414
};
2415
// -------------------------------------------------------------------
2416
2417
class ForwardResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.ForwardResponsePB) */ {
2418
 public:
2419
  ForwardResponsePB();
2420
  virtual ~ForwardResponsePB();
2421
2422
  ForwardResponsePB(const ForwardResponsePB& from);
2423
2424
0
  inline ForwardResponsePB& operator=(const ForwardResponsePB& from) {
2425
0
    CopyFrom(from);
2426
0
    return *this;
2427
0
  }
2428
  #if LANG_CXX11
2429
  ForwardResponsePB(ForwardResponsePB&& from) noexcept
2430
0
    : ForwardResponsePB() {
2431
0
    *this = ::std::move(from);
2432
0
  }
2433
2434
0
  inline ForwardResponsePB& operator=(ForwardResponsePB&& from) noexcept {
2435
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2436
0
      if (this != &from) InternalSwap(&from);
2437
0
    } else {
2438
0
      CopyFrom(from);
2439
0
    }
2440
0
    return *this;
2441
0
  }
2442
  #endif
2443
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2444
0
    return _internal_metadata_.unknown_fields();
2445
0
  }
2446
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2447
0
    return _internal_metadata_.mutable_unknown_fields();
2448
0
  }
2449
2450
  static const ::google::protobuf::Descriptor* descriptor();
2451
  static const ForwardResponsePB& default_instance();
2452
2453
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2454
149
  static inline const ForwardResponsePB* internal_default_instance() {
2455
149
    return reinterpret_cast<const ForwardResponsePB*>(
2456
149
               &_ForwardResponsePB_default_instance_);
2457
149
  }
2458
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2459
    19;
2460
2461
  void Swap(ForwardResponsePB* other);
2462
0
  friend void swap(ForwardResponsePB& a, ForwardResponsePB& b) {
2463
0
    a.Swap(&b);
2464
0
  }
2465
2466
  // implements Message ----------------------------------------------
2467
2468
0
  inline ForwardResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2469
2470
  ForwardResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2471
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2472
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2473
  void CopyFrom(const ForwardResponsePB& from);
2474
  void MergeFrom(const ForwardResponsePB& from);
2475
  void Clear() PROTOBUF_FINAL;
2476
  bool IsInitialized() const PROTOBUF_FINAL;
2477
2478
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2479
  bool MergePartialFromCodedStream(
2480
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2481
  void SerializeWithCachedSizes(
2482
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2483
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2484
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2485
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2486
  private:
2487
  void SharedCtor();
2488
  void SharedDtor();
2489
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2490
  void InternalSwap(ForwardResponsePB* other);
2491
  private:
2492
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2493
0
    return NULL;
2494
0
  }
2495
0
  inline void* MaybeArenaPtr() const {
2496
0
    return NULL;
2497
0
  }
2498
  public:
2499
2500
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2501
2502
  // nested types ----------------------------------------------------
2503
2504
  // accessors -------------------------------------------------------
2505
2506
  // optional string name = 1;
2507
  bool has_name() const;
2508
  void clear_name();
2509
  static const int kNameFieldNumber = 1;
2510
  const ::std::string& name() const;
2511
  void set_name(const ::std::string& value);
2512
  #if LANG_CXX11
2513
  void set_name(::std::string&& value);
2514
  #endif
2515
  void set_name(const char* value);
2516
  void set_name(const char* value, size_t size);
2517
  ::std::string* mutable_name();
2518
  ::std::string* release_name();
2519
  void set_allocated_name(::std::string* name);
2520
2521
  // @@protoc_insertion_point(class_scope:yb.rpc_test.ForwardResponsePB)
2522
 private:
2523
  void set_has_name();
2524
  void clear_has_name();
2525
2526
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2527
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2528
  mutable int _cached_size_;
2529
  ::google::protobuf::internal::ArenaStringPtr name_;
2530
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2531
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsForwardResponsePBImpl();
2532
};
2533
// -------------------------------------------------------------------
2534
2535
class ConcatRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.ConcatRequestPB) */ {
2536
 public:
2537
  ConcatRequestPB();
2538
  virtual ~ConcatRequestPB();
2539
2540
  ConcatRequestPB(const ConcatRequestPB& from);
2541
2542
0
  inline ConcatRequestPB& operator=(const ConcatRequestPB& from) {
2543
0
    CopyFrom(from);
2544
0
    return *this;
2545
0
  }
2546
  #if LANG_CXX11
2547
  ConcatRequestPB(ConcatRequestPB&& from) noexcept
2548
0
    : ConcatRequestPB() {
2549
0
    *this = ::std::move(from);
2550
0
  }
2551
2552
0
  inline ConcatRequestPB& operator=(ConcatRequestPB&& from) noexcept {
2553
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2554
0
      if (this != &from) InternalSwap(&from);
2555
0
    } else {
2556
0
      CopyFrom(from);
2557
0
    }
2558
0
    return *this;
2559
0
  }
2560
  #endif
2561
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2562
0
    return _internal_metadata_.unknown_fields();
2563
0
  }
2564
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2565
0
    return _internal_metadata_.mutable_unknown_fields();
2566
0
  }
2567
2568
  static const ::google::protobuf::Descriptor* descriptor();
2569
  static const ConcatRequestPB& default_instance();
2570
2571
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2572
125
  static inline const ConcatRequestPB* internal_default_instance() {
2573
125
    return reinterpret_cast<const ConcatRequestPB*>(
2574
125
               &_ConcatRequestPB_default_instance_);
2575
125
  }
2576
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2577
    20;
2578
2579
  void Swap(ConcatRequestPB* other);
2580
0
  friend void swap(ConcatRequestPB& a, ConcatRequestPB& b) {
2581
0
    a.Swap(&b);
2582
0
  }
2583
2584
  // implements Message ----------------------------------------------
2585
2586
0
  inline ConcatRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2587
2588
  ConcatRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2589
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2590
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2591
  void CopyFrom(const ConcatRequestPB& from);
2592
  void MergeFrom(const ConcatRequestPB& from);
2593
  void Clear() PROTOBUF_FINAL;
2594
  bool IsInitialized() const PROTOBUF_FINAL;
2595
2596
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2597
  bool MergePartialFromCodedStream(
2598
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2599
  void SerializeWithCachedSizes(
2600
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2601
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2602
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2603
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2604
  private:
2605
  void SharedCtor();
2606
  void SharedDtor();
2607
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2608
  void InternalSwap(ConcatRequestPB* other);
2609
  private:
2610
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2611
0
    return NULL;
2612
0
  }
2613
0
  inline void* MaybeArenaPtr() const {
2614
0
    return NULL;
2615
0
  }
2616
  public:
2617
2618
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2619
2620
  // nested types ----------------------------------------------------
2621
2622
  // accessors -------------------------------------------------------
2623
2624
  // optional string lhs = 1;
2625
  bool has_lhs() const;
2626
  void clear_lhs();
2627
  static const int kLhsFieldNumber = 1;
2628
  const ::std::string& lhs() const;
2629
  void set_lhs(const ::std::string& value);
2630
  #if LANG_CXX11
2631
  void set_lhs(::std::string&& value);
2632
  #endif
2633
  void set_lhs(const char* value);
2634
  void set_lhs(const char* value, size_t size);
2635
  ::std::string* mutable_lhs();
2636
  ::std::string* release_lhs();
2637
  void set_allocated_lhs(::std::string* lhs);
2638
2639
  // optional string rhs = 2;
2640
  bool has_rhs() const;
2641
  void clear_rhs();
2642
  static const int kRhsFieldNumber = 2;
2643
  const ::std::string& rhs() const;
2644
  void set_rhs(const ::std::string& value);
2645
  #if LANG_CXX11
2646
  void set_rhs(::std::string&& value);
2647
  #endif
2648
  void set_rhs(const char* value);
2649
  void set_rhs(const char* value, size_t size);
2650
  ::std::string* mutable_rhs();
2651
  ::std::string* release_rhs();
2652
  void set_allocated_rhs(::std::string* rhs);
2653
2654
  // @@protoc_insertion_point(class_scope:yb.rpc_test.ConcatRequestPB)
2655
 private:
2656
  void set_has_lhs();
2657
  void clear_has_lhs();
2658
  void set_has_rhs();
2659
  void clear_has_rhs();
2660
2661
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2662
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2663
  mutable int _cached_size_;
2664
  ::google::protobuf::internal::ArenaStringPtr lhs_;
2665
  ::google::protobuf::internal::ArenaStringPtr rhs_;
2666
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2667
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsConcatRequestPBImpl();
2668
};
2669
// -------------------------------------------------------------------
2670
2671
class ConcatResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.ConcatResponsePB) */ {
2672
 public:
2673
  ConcatResponsePB();
2674
  virtual ~ConcatResponsePB();
2675
2676
  ConcatResponsePB(const ConcatResponsePB& from);
2677
2678
0
  inline ConcatResponsePB& operator=(const ConcatResponsePB& from) {
2679
0
    CopyFrom(from);
2680
0
    return *this;
2681
0
  }
2682
  #if LANG_CXX11
2683
  ConcatResponsePB(ConcatResponsePB&& from) noexcept
2684
0
    : ConcatResponsePB() {
2685
0
    *this = ::std::move(from);
2686
0
  }
2687
2688
0
  inline ConcatResponsePB& operator=(ConcatResponsePB&& from) noexcept {
2689
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2690
0
      if (this != &from) InternalSwap(&from);
2691
0
    } else {
2692
0
      CopyFrom(from);
2693
0
    }
2694
0
    return *this;
2695
0
  }
2696
  #endif
2697
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2698
0
    return _internal_metadata_.unknown_fields();
2699
0
  }
2700
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2701
0
    return _internal_metadata_.mutable_unknown_fields();
2702
0
  }
2703
2704
  static const ::google::protobuf::Descriptor* descriptor();
2705
  static const ConcatResponsePB& default_instance();
2706
2707
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2708
125
  static inline const ConcatResponsePB* internal_default_instance() {
2709
125
    return reinterpret_cast<const ConcatResponsePB*>(
2710
125
               &_ConcatResponsePB_default_instance_);
2711
125
  }
2712
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2713
    21;
2714
2715
  void Swap(ConcatResponsePB* other);
2716
0
  friend void swap(ConcatResponsePB& a, ConcatResponsePB& b) {
2717
0
    a.Swap(&b);
2718
0
  }
2719
2720
  // implements Message ----------------------------------------------
2721
2722
0
  inline ConcatResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2723
2724
  ConcatResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2725
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2726
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2727
  void CopyFrom(const ConcatResponsePB& from);
2728
  void MergeFrom(const ConcatResponsePB& from);
2729
  void Clear() PROTOBUF_FINAL;
2730
  bool IsInitialized() const PROTOBUF_FINAL;
2731
2732
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2733
  bool MergePartialFromCodedStream(
2734
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2735
  void SerializeWithCachedSizes(
2736
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2737
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2738
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2739
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2740
  private:
2741
  void SharedCtor();
2742
  void SharedDtor();
2743
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2744
  void InternalSwap(ConcatResponsePB* other);
2745
  private:
2746
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2747
0
    return NULL;
2748
0
  }
2749
0
  inline void* MaybeArenaPtr() const {
2750
0
    return NULL;
2751
0
  }
2752
  public:
2753
2754
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2755
2756
  // nested types ----------------------------------------------------
2757
2758
  // accessors -------------------------------------------------------
2759
2760
  // optional string result = 1;
2761
  bool has_result() const;
2762
  void clear_result();
2763
  static const int kResultFieldNumber = 1;
2764
  const ::std::string& result() const;
2765
  void set_result(const ::std::string& value);
2766
  #if LANG_CXX11
2767
  void set_result(::std::string&& value);
2768
  #endif
2769
  void set_result(const char* value);
2770
  void set_result(const char* value, size_t size);
2771
  ::std::string* mutable_result();
2772
  ::std::string* release_result();
2773
  void set_allocated_result(::std::string* result);
2774
2775
  // @@protoc_insertion_point(class_scope:yb.rpc_test.ConcatResponsePB)
2776
 private:
2777
  void set_has_result();
2778
  void clear_has_result();
2779
2780
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2781
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2782
  mutable int _cached_size_;
2783
  ::google::protobuf::internal::ArenaStringPtr result_;
2784
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2785
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsConcatResponsePBImpl();
2786
};
2787
// -------------------------------------------------------------------
2788
2789
class LightweightSubMessagePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.LightweightSubMessagePB) */ {
2790
 public:
2791
  LightweightSubMessagePB();
2792
  virtual ~LightweightSubMessagePB();
2793
2794
  LightweightSubMessagePB(const LightweightSubMessagePB& from);
2795
2796
0
  inline LightweightSubMessagePB& operator=(const LightweightSubMessagePB& from) {
2797
0
    CopyFrom(from);
2798
0
    return *this;
2799
0
  }
2800
  #if LANG_CXX11
2801
  LightweightSubMessagePB(LightweightSubMessagePB&& from) noexcept
2802
0
    : LightweightSubMessagePB() {
2803
0
    *this = ::std::move(from);
2804
0
  }
2805
2806
0
  inline LightweightSubMessagePB& operator=(LightweightSubMessagePB&& from) noexcept {
2807
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2808
0
      if (this != &from) InternalSwap(&from);
2809
0
    } else {
2810
0
      CopyFrom(from);
2811
0
    }
2812
0
    return *this;
2813
0
  }
2814
  #endif
2815
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2816
0
    return _internal_metadata_.unknown_fields();
2817
0
  }
2818
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2819
0
    return _internal_metadata_.mutable_unknown_fields();
2820
0
  }
2821
2822
  static const ::google::protobuf::Descriptor* descriptor();
2823
  static const LightweightSubMessagePB& default_instance();
2824
2825
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2826
904
  static inline const LightweightSubMessagePB* internal_default_instance() {
2827
904
    return reinterpret_cast<const LightweightSubMessagePB*>(
2828
904
               &_LightweightSubMessagePB_default_instance_);
2829
904
  }
2830
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2831
    22;
2832
2833
  void Swap(LightweightSubMessagePB* other);
2834
  friend void swap(LightweightSubMessagePB& a, LightweightSubMessagePB& b) {
2835
    a.Swap(&b);
2836
  }
2837
2838
  // implements Message ----------------------------------------------
2839
2840
0
  inline LightweightSubMessagePB* New() const PROTOBUF_FINAL { return New(NULL); }
2841
2842
  LightweightSubMessagePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2843
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2844
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2845
  void CopyFrom(const LightweightSubMessagePB& from);
2846
  void MergeFrom(const LightweightSubMessagePB& from);
2847
  void Clear() PROTOBUF_FINAL;
2848
  bool IsInitialized() const PROTOBUF_FINAL;
2849
2850
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2851
  bool MergePartialFromCodedStream(
2852
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2853
  void SerializeWithCachedSizes(
2854
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2855
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2856
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2857
11
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2858
  private:
2859
  void SharedCtor();
2860
  void SharedDtor();
2861
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2862
  void InternalSwap(LightweightSubMessagePB* other);
2863
  private:
2864
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2865
0
    return NULL;
2866
0
  }
2867
0
  inline void* MaybeArenaPtr() const {
2868
0
    return NULL;
2869
0
  }
2870
  public:
2871
2872
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2873
2874
  // nested types ----------------------------------------------------
2875
2876
  // accessors -------------------------------------------------------
2877
2878
  // repeated sint32 rsi32 = 2;
2879
  int rsi32_size() const;
2880
  void clear_rsi32();
2881
  static const int kRsi32FieldNumber = 2;
2882
  ::google::protobuf::int32 rsi32(int index) const;
2883
  void set_rsi32(int index, ::google::protobuf::int32 value);
2884
  void add_rsi32(::google::protobuf::int32 value);
2885
  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2886
      rsi32() const;
2887
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2888
      mutable_rsi32();
2889
2890
  // repeated bytes rbytes = 4;
2891
  int rbytes_size() const;
2892
  void clear_rbytes();
2893
  static const int kRbytesFieldNumber = 4;
2894
  const ::std::string& rbytes(int index) const;
2895
  ::std::string* mutable_rbytes(int index);
2896
  void set_rbytes(int index, const ::std::string& value);
2897
  #if LANG_CXX11
2898
  void set_rbytes(int index, ::std::string&& value);
2899
  #endif
2900
  void set_rbytes(int index, const char* value);
2901
  void set_rbytes(int index, const void* value, size_t size);
2902
  ::std::string* add_rbytes();
2903
  void add_rbytes(const ::std::string& value);
2904
  #if LANG_CXX11
2905
  void add_rbytes(::std::string&& value);
2906
  #endif
2907
  void add_rbytes(const char* value);
2908
  void add_rbytes(const void* value, size_t size);
2909
  const ::google::protobuf::RepeatedPtrField< ::std::string>& rbytes() const;
2910
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_rbytes();
2911
2912
  // optional string str = 3;
2913
  bool has_str() const;
2914
  void clear_str();
2915
  static const int kStrFieldNumber = 3;
2916
  const ::std::string& str() const;
2917
  void set_str(const ::std::string& value);
2918
  #if LANG_CXX11
2919
  void set_str(::std::string&& value);
2920
  #endif
2921
  void set_str(const char* value);
2922
  void set_str(const char* value, size_t size);
2923
  ::std::string* mutable_str();
2924
  ::std::string* release_str();
2925
  void set_allocated_str(::std::string* str);
2926
2927
  // optional .yb.rpc_test.LightweightSubMessagePB cycle = 5;
2928
  bool has_cycle() const;
2929
  void clear_cycle();
2930
  static const int kCycleFieldNumber = 5;
2931
  const ::yb::rpc_test::LightweightSubMessagePB& cycle() const;
2932
  ::yb::rpc_test::LightweightSubMessagePB* release_cycle();
2933
  ::yb::rpc_test::LightweightSubMessagePB* mutable_cycle();
2934
  void set_allocated_cycle(::yb::rpc_test::LightweightSubMessagePB* cycle);
2935
2936
  // optional sfixed32 sf32 = 1;
2937
  bool has_sf32() const;
2938
  void clear_sf32();
2939
  static const int kSf32FieldNumber = 1;
2940
  ::google::protobuf::int32 sf32() const;
2941
  void set_sf32(::google::protobuf::int32 value);
2942
2943
  // @@protoc_insertion_point(class_scope:yb.rpc_test.LightweightSubMessagePB)
2944
 private:
2945
  void set_has_sf32();
2946
  void clear_has_sf32();
2947
  void set_has_str();
2948
  void clear_has_str();
2949
  void set_has_cycle();
2950
  void clear_has_cycle();
2951
2952
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2953
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2954
  mutable int _cached_size_;
2955
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > rsi32_;
2956
  ::google::protobuf::RepeatedPtrField< ::std::string> rbytes_;
2957
  ::google::protobuf::internal::ArenaStringPtr str_;
2958
  ::yb::rpc_test::LightweightSubMessagePB* cycle_;
2959
  ::google::protobuf::int32 sf32_;
2960
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
2961
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsLightweightSubMessagePBImpl();
2962
};
2963
// -------------------------------------------------------------------
2964
2965
class LightweightPairPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.LightweightPairPB) */ {
2966
 public:
2967
  LightweightPairPB();
2968
  virtual ~LightweightPairPB();
2969
2970
  LightweightPairPB(const LightweightPairPB& from);
2971
2972
0
  inline LightweightPairPB& operator=(const LightweightPairPB& from) {
2973
0
    CopyFrom(from);
2974
0
    return *this;
2975
0
  }
2976
  #if LANG_CXX11
2977
  LightweightPairPB(LightweightPairPB&& from) noexcept
2978
0
    : LightweightPairPB() {
2979
0
    *this = ::std::move(from);
2980
0
  }
2981
2982
0
  inline LightweightPairPB& operator=(LightweightPairPB&& from) noexcept {
2983
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2984
0
      if (this != &from) InternalSwap(&from);
2985
0
    } else {
2986
0
      CopyFrom(from);
2987
0
    }
2988
0
    return *this;
2989
0
  }
2990
  #endif
2991
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2992
0
    return _internal_metadata_.unknown_fields();
2993
0
  }
2994
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2995
0
    return _internal_metadata_.mutable_unknown_fields();
2996
0
  }
2997
2998
  static const ::google::protobuf::Descriptor* descriptor();
2999
  static const LightweightPairPB& default_instance();
3000
3001
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3002
175
  static inline const LightweightPairPB* internal_default_instance() {
3003
175
    return reinterpret_cast<const LightweightPairPB*>(
3004
175
               &_LightweightPairPB_default_instance_);
3005
175
  }
3006
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3007
    23;
3008
3009
  void Swap(LightweightPairPB* other);
3010
0
  friend void swap(LightweightPairPB& a, LightweightPairPB& b) {
3011
0
    a.Swap(&b);
3012
0
  }
3013
3014
  // implements Message ----------------------------------------------
3015
3016
0
  inline LightweightPairPB* New() const PROTOBUF_FINAL { return New(NULL); }
3017
3018
  LightweightPairPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3019
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3020
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3021
  void CopyFrom(const LightweightPairPB& from);
3022
  void MergeFrom(const LightweightPairPB& from);
3023
  void Clear() PROTOBUF_FINAL;
3024
  bool IsInitialized() const PROTOBUF_FINAL;
3025
3026
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3027
  bool MergePartialFromCodedStream(
3028
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3029
  void SerializeWithCachedSizes(
3030
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3031
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3032
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3033
13
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3034
  private:
3035
  void SharedCtor();
3036
  void SharedDtor();
3037
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3038
  void InternalSwap(LightweightPairPB* other);
3039
  private:
3040
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3041
0
    return NULL;
3042
0
  }
3043
0
  inline void* MaybeArenaPtr() const {
3044
0
    return NULL;
3045
0
  }
3046
  public:
3047
3048
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3049
3050
  // nested types ----------------------------------------------------
3051
3052
  // accessors -------------------------------------------------------
3053
3054
  // optional string s1 = 1;
3055
  bool has_s1() const;
3056
  void clear_s1();
3057
  static const int kS1FieldNumber = 1;
3058
  const ::std::string& s1() const;
3059
  void set_s1(const ::std::string& value);
3060
  #if LANG_CXX11
3061
  void set_s1(::std::string&& value);
3062
  #endif
3063
  void set_s1(const char* value);
3064
  void set_s1(const char* value, size_t size);
3065
  ::std::string* mutable_s1();
3066
  ::std::string* release_s1();
3067
  void set_allocated_s1(::std::string* s1);
3068
3069
  // optional string s2 = 2;
3070
  bool has_s2() const;
3071
  void clear_s2();
3072
  static const int kS2FieldNumber = 2;
3073
  const ::std::string& s2() const;
3074
  void set_s2(const ::std::string& value);
3075
  #if LANG_CXX11
3076
  void set_s2(::std::string&& value);
3077
  #endif
3078
  void set_s2(const char* value);
3079
  void set_s2(const char* value, size_t size);
3080
  ::std::string* mutable_s2();
3081
  ::std::string* release_s2();
3082
  void set_allocated_s2(::std::string* s2);
3083
3084
  // @@protoc_insertion_point(class_scope:yb.rpc_test.LightweightPairPB)
3085
 private:
3086
  void set_has_s1();
3087
  void clear_has_s1();
3088
  void set_has_s2();
3089
  void clear_has_s2();
3090
3091
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3092
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3093
  mutable int _cached_size_;
3094
  ::google::protobuf::internal::ArenaStringPtr s1_;
3095
  ::google::protobuf::internal::ArenaStringPtr s2_;
3096
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
3097
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsLightweightPairPBImpl();
3098
};
3099
// -------------------------------------------------------------------
3100
3101
class LightweightRequestPB_MapEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<LightweightRequestPB_MapEntry_DoNotUse, 
3102
    ::std::string, ::google::protobuf::int64,
3103
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
3104
    ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
3105
    0 > {
3106
public:
3107
  typedef ::google::protobuf::internal::MapEntry<LightweightRequestPB_MapEntry_DoNotUse, 
3108
    ::std::string, ::google::protobuf::int64,
3109
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
3110
    ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
3111
    0 > SuperType;
3112
  LightweightRequestPB_MapEntry_DoNotUse();
3113
  LightweightRequestPB_MapEntry_DoNotUse(::google::protobuf::Arena* arena);
3114
  void MergeFrom(const LightweightRequestPB_MapEntry_DoNotUse& other);
3115
124
  static const LightweightRequestPB_MapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const LightweightRequestPB_MapEntry_DoNotUse*>(&_LightweightRequestPB_MapEntry_DoNotUse_default_instance_); }
3116
  void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL;
3117
  ::google::protobuf::Metadata GetMetadata() const;
3118
};
3119
3120
// -------------------------------------------------------------------
3121
3122
class LightweightRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.LightweightRequestPB) */ {
3123
 public:
3124
  LightweightRequestPB();
3125
  virtual ~LightweightRequestPB();
3126
3127
  LightweightRequestPB(const LightweightRequestPB& from);
3128
3129
0
  inline LightweightRequestPB& operator=(const LightweightRequestPB& from) {
3130
0
    CopyFrom(from);
3131
0
    return *this;
3132
0
  }
3133
  #if LANG_CXX11
3134
  LightweightRequestPB(LightweightRequestPB&& from) noexcept
3135
0
    : LightweightRequestPB() {
3136
0
    *this = ::std::move(from);
3137
0
  }
3138
3139
0
  inline LightweightRequestPB& operator=(LightweightRequestPB&& from) noexcept {
3140
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3141
0
      if (this != &from) InternalSwap(&from);
3142
0
    } else {
3143
0
      CopyFrom(from);
3144
0
    }
3145
0
    return *this;
3146
0
  }
3147
  #endif
3148
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3149
0
    return _internal_metadata_.unknown_fields();
3150
0
  }
3151
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3152
0
    return _internal_metadata_.mutable_unknown_fields();
3153
0
  }
3154
3155
  static const ::google::protobuf::Descriptor* descriptor();
3156
  static const LightweightRequestPB& default_instance();
3157
3158
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3159
127
  static inline const LightweightRequestPB* internal_default_instance() {
3160
127
    return reinterpret_cast<const LightweightRequestPB*>(
3161
127
               &_LightweightRequestPB_default_instance_);
3162
127
  }
3163
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3164
    25;
3165
3166
  void Swap(LightweightRequestPB* other);
3167
0
  friend void swap(LightweightRequestPB& a, LightweightRequestPB& b) {
3168
0
    a.Swap(&b);
3169
0
  }
3170
3171
  // implements Message ----------------------------------------------
3172
3173
0
  inline LightweightRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3174
3175
  LightweightRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3176
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3177
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3178
  void CopyFrom(const LightweightRequestPB& from);
3179
  void MergeFrom(const LightweightRequestPB& from);
3180
  void Clear() PROTOBUF_FINAL;
3181
  bool IsInitialized() const PROTOBUF_FINAL;
3182
3183
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3184
  bool MergePartialFromCodedStream(
3185
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3186
  void SerializeWithCachedSizes(
3187
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3188
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3189
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3190
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3191
  private:
3192
  void SharedCtor();
3193
  void SharedDtor();
3194
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3195
  void InternalSwap(LightweightRequestPB* other);
3196
  private:
3197
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3198
0
    return NULL;
3199
0
  }
3200
0
  inline void* MaybeArenaPtr() const {
3201
0
    return NULL;
3202
0
  }
3203
  public:
3204
3205
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3206
3207
  // nested types ----------------------------------------------------
3208
3209
3210
  // accessors -------------------------------------------------------
3211
3212
  // repeated uint32 ru32 = 16;
3213
  int ru32_size() const;
3214
  void clear_ru32();
3215
  static const int kRu32FieldNumber = 16;
3216
  ::google::protobuf::uint32 ru32(int index) const;
3217
  void set_ru32(int index, ::google::protobuf::uint32 value);
3218
  void add_ru32(::google::protobuf::uint32 value);
3219
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3220
      ru32() const;
3221
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3222
      mutable_ru32();
3223
3224
  // repeated fixed32 rf32 = 17;
3225
  int rf32_size() const;
3226
  void clear_rf32();
3227
  static const int kRf32FieldNumber = 17;
3228
  ::google::protobuf::uint32 rf32(int index) const;
3229
  void set_rf32(int index, ::google::protobuf::uint32 value);
3230
  void add_rf32(::google::protobuf::uint32 value);
3231
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3232
      rf32() const;
3233
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3234
      mutable_rf32();
3235
3236
  // repeated string rstr = 18;
3237
  int rstr_size() const;
3238
  void clear_rstr();
3239
  static const int kRstrFieldNumber = 18;
3240
  const ::std::string& rstr(int index) const;
3241
  ::std::string* mutable_rstr(int index);
3242
  void set_rstr(int index, const ::std::string& value);
3243
  #if LANG_CXX11
3244
  void set_rstr(int index, ::std::string&& value);
3245
  #endif
3246
  void set_rstr(int index, const char* value);
3247
  void set_rstr(int index, const char* value, size_t size);
3248
  ::std::string* add_rstr();
3249
  void add_rstr(const ::std::string& value);
3250
  #if LANG_CXX11
3251
  void add_rstr(::std::string&& value);
3252
  #endif
3253
  void add_rstr(const char* value);
3254
  void add_rstr(const char* value, size_t size);
3255
  const ::google::protobuf::RepeatedPtrField< ::std::string>& rstr() const;
3256
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_rstr();
3257
3258
  // repeated .yb.rpc_test.LightweightSubMessagePB repeated_messages = 20;
3259
  int repeated_messages_size() const;
3260
  void clear_repeated_messages();
3261
  static const int kRepeatedMessagesFieldNumber = 20;
3262
  const ::yb::rpc_test::LightweightSubMessagePB& repeated_messages(int index) const;
3263
  ::yb::rpc_test::LightweightSubMessagePB* mutable_repeated_messages(int index);
3264
  ::yb::rpc_test::LightweightSubMessagePB* add_repeated_messages();
3265
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >*
3266
      mutable_repeated_messages();
3267
  const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >&
3268
      repeated_messages() const;
3269
3270
  // repeated uint64 packed_u64 = 21 [packed = true];
3271
  int packed_u64_size() const;
3272
  void clear_packed_u64();
3273
  static const int kPackedU64FieldNumber = 21;
3274
  ::google::protobuf::uint64 packed_u64(int index) const;
3275
  void set_packed_u64(int index, ::google::protobuf::uint64 value);
3276
  void add_packed_u64(::google::protobuf::uint64 value);
3277
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
3278
      packed_u64() const;
3279
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
3280
      mutable_packed_u64();
3281
3282
  // repeated fixed32 packed_f32 = 22 [packed = true];
3283
  int packed_f32_size() const;
3284
  void clear_packed_f32();
3285
  static const int kPackedF32FieldNumber = 22;
3286
  ::google::protobuf::uint32 packed_f32(int index) const;
3287
  void set_packed_f32(int index, ::google::protobuf::uint32 value);
3288
  void add_packed_f32(::google::protobuf::uint32 value);
3289
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3290
      packed_f32() const;
3291
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3292
      mutable_packed_f32();
3293
3294
  // repeated .yb.rpc_test.LightweightPairPB pairs = 23;
3295
  int pairs_size() const;
3296
  void clear_pairs();
3297
  static const int kPairsFieldNumber = 23;
3298
  const ::yb::rpc_test::LightweightPairPB& pairs(int index) const;
3299
  ::yb::rpc_test::LightweightPairPB* mutable_pairs(int index);
3300
  ::yb::rpc_test::LightweightPairPB* add_pairs();
3301
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >*
3302
      mutable_pairs();
3303
  const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >&
3304
      pairs() const;
3305
3306
  // map<string, int64> map = 25;
3307
  int map_size() const;
3308
  void clear_map();
3309
  static const int kMapFieldNumber = 25;
3310
  const ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >&
3311
      map() const;
3312
  ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >*
3313
      mutable_map();
3314
3315
  // optional string str = 9;
3316
  bool has_str() const;
3317
  void clear_str();
3318
  static const int kStrFieldNumber = 9;
3319
  const ::std::string& str() const;
3320
  void set_str(const ::std::string& value);
3321
  #if LANG_CXX11
3322
  void set_str(::std::string&& value);
3323
  #endif
3324
  void set_str(const char* value);
3325
  void set_str(const char* value, size_t size);
3326
  ::std::string* mutable_str();
3327
  ::std::string* release_str();
3328
  void set_allocated_str(::std::string* str);
3329
3330
  // optional bytes bytes = 10;
3331
  bool has_bytes() const;
3332
  void clear_bytes();
3333
  static const int kBytesFieldNumber = 10;
3334
  const ::std::string& bytes() const;
3335
  void set_bytes(const ::std::string& value);
3336
  #if LANG_CXX11
3337
  void set_bytes(::std::string&& value);
3338
  #endif
3339
  void set_bytes(const char* value);
3340
  void set_bytes(const void* value, size_t size);
3341
  ::std::string* mutable_bytes();
3342
  ::std::string* release_bytes();
3343
  void set_allocated_bytes(::std::string* bytes);
3344
3345
  // optional .yb.rpc_test.LightweightSubMessagePB message = 19;
3346
  bool has_message() const;
3347
  void clear_message();
3348
  static const int kMessageFieldNumber = 19;
3349
  const ::yb::rpc_test::LightweightSubMessagePB& message() const;
3350
  ::yb::rpc_test::LightweightSubMessagePB* release_message();
3351
  ::yb::rpc_test::LightweightSubMessagePB* mutable_message();
3352
  void set_allocated_message(::yb::rpc_test::LightweightSubMessagePB* message);
3353
3354
  // optional .yb.rpc_test.LightweightSubMessagePB ptr_message = 24 [(.yb.rpc.lightweight_field) = {
3355
  bool has_ptr_message() const;
3356
  void clear_ptr_message();
3357
  static const int kPtrMessageFieldNumber = 24;
3358
  const ::yb::rpc_test::LightweightSubMessagePB& ptr_message() const;
3359
  ::yb::rpc_test::LightweightSubMessagePB* release_ptr_message();
3360
  ::yb::rpc_test::LightweightSubMessagePB* mutable_ptr_message();
3361
  void set_allocated_ptr_message(::yb::rpc_test::LightweightSubMessagePB* ptr_message);
3362
3363
  // optional .google.protobuf.Any extra_data = 26;
3364
  bool has_extra_data() const;
3365
  void clear_extra_data();
3366
  static const int kExtraDataFieldNumber = 26;
3367
  const ::google::protobuf::Any& extra_data() const;
3368
  ::google::protobuf::Any* release_extra_data();
3369
  ::google::protobuf::Any* mutable_extra_data();
3370
  void set_allocated_extra_data(::google::protobuf::Any* extra_data);
3371
3372
  // optional int64 i64 = 2;
3373
  bool has_i64() const;
3374
  void clear_i64();
3375
  static const int kI64FieldNumber = 2;
3376
  ::google::protobuf::int64 i64() const;
3377
  void set_i64(::google::protobuf::int64 value);
3378
3379
  // optional int32 i32 = 1;
3380
  bool has_i32() const;
3381
  void clear_i32();
3382
  static const int kI32FieldNumber = 1;
3383
  ::google::protobuf::int32 i32() const;
3384
  void set_i32(::google::protobuf::int32 value);
3385
3386
  // optional fixed32 f32 = 3;
3387
  bool has_f32() const;
3388
  void clear_f32();
3389
  static const int kF32FieldNumber = 3;
3390
  ::google::protobuf::uint32 f32() const;
3391
  void set_f32(::google::protobuf::uint32 value);
3392
3393
  // optional fixed64 f64 = 4;
3394
  bool has_f64() const;
3395
  void clear_f64();
3396
  static const int kF64FieldNumber = 4;
3397
  ::google::protobuf::uint64 f64() const;
3398
  void set_f64(::google::protobuf::uint64 value);
3399
3400
  // optional uint64 u64 = 6;
3401
  bool has_u64() const;
3402
  void clear_u64();
3403
  static const int kU64FieldNumber = 6;
3404
  ::google::protobuf::uint64 u64() const;
3405
  void set_u64(::google::protobuf::uint64 value);
3406
3407
  // optional uint32 u32 = 5;
3408
  bool has_u32() const;
3409
  void clear_u32();
3410
  static const int kU32FieldNumber = 5;
3411
  ::google::protobuf::uint32 u32() const;
3412
  void set_u32(::google::protobuf::uint32 value);
3413
3414
  // optional float r32 = 7;
3415
  bool has_r32() const;
3416
  void clear_r32();
3417
  static const int kR32FieldNumber = 7;
3418
  float r32() const;
3419
  void set_r32(float value);
3420
3421
  // optional double r64 = 8;
3422
  bool has_r64() const;
3423
  void clear_r64();
3424
  static const int kR64FieldNumber = 8;
3425
  double r64() const;
3426
  void set_r64(double value);
3427
3428
  // optional .yb.rpc_test.LightweightEnum en = 11;
3429
  bool has_en() const;
3430
  void clear_en();
3431
  static const int kEnFieldNumber = 11;
3432
  ::yb::rpc_test::LightweightEnum en() const;
3433
  void set_en(::yb::rpc_test::LightweightEnum value);
3434
3435
  // optional sfixed32 sf32 = 12;
3436
  bool has_sf32() const;
3437
  void clear_sf32();
3438
  static const int kSf32FieldNumber = 12;
3439
  ::google::protobuf::int32 sf32() const;
3440
  void set_sf32(::google::protobuf::int32 value);
3441
3442
  // optional sfixed64 sf64 = 13;
3443
  bool has_sf64() const;
3444
  void clear_sf64();
3445
  static const int kSf64FieldNumber = 13;
3446
  ::google::protobuf::int64 sf64() const;
3447
  void set_sf64(::google::protobuf::int64 value);
3448
3449
  // optional sint64 si64 = 15;
3450
  bool has_si64() const;
3451
  void clear_si64();
3452
  static const int kSi64FieldNumber = 15;
3453
  ::google::protobuf::int64 si64() const;
3454
  void set_si64(::google::protobuf::int64 value);
3455
3456
  // optional sint32 si32 = 14;
3457
  bool has_si32() const;
3458
  void clear_si32();
3459
  static const int kSi32FieldNumber = 14;
3460
  ::google::protobuf::int32 si32() const;
3461
  void set_si32(::google::protobuf::int32 value);
3462
3463
  // @@protoc_insertion_point(class_scope:yb.rpc_test.LightweightRequestPB)
3464
 private:
3465
  void set_has_i32();
3466
  void clear_has_i32();
3467
  void set_has_i64();
3468
  void clear_has_i64();
3469
  void set_has_f32();
3470
  void clear_has_f32();
3471
  void set_has_f64();
3472
  void clear_has_f64();
3473
  void set_has_u32();
3474
  void clear_has_u32();
3475
  void set_has_u64();
3476
  void clear_has_u64();
3477
  void set_has_r32();
3478
  void clear_has_r32();
3479
  void set_has_r64();
3480
  void clear_has_r64();
3481
  void set_has_str();
3482
  void clear_has_str();
3483
  void set_has_bytes();
3484
  void clear_has_bytes();
3485
  void set_has_en();
3486
  void clear_has_en();
3487
  void set_has_sf32();
3488
  void clear_has_sf32();
3489
  void set_has_sf64();
3490
  void clear_has_sf64();
3491
  void set_has_si32();
3492
  void clear_has_si32();
3493
  void set_has_si64();
3494
  void clear_has_si64();
3495
  void set_has_message();
3496
  void clear_has_message();
3497
  void set_has_ptr_message();
3498
  void clear_has_ptr_message();
3499
  void set_has_extra_data();
3500
  void clear_has_extra_data();
3501
3502
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3503
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3504
  mutable int _cached_size_;
3505
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > ru32_;
3506
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > rf32_;
3507
  ::google::protobuf::RepeatedPtrField< ::std::string> rstr_;
3508
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB > repeated_messages_;
3509
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > packed_u64_;
3510
  mutable int _packed_u64_cached_byte_size_;
3511
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > packed_f32_;
3512
  mutable int _packed_f32_cached_byte_size_;
3513
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB > pairs_;
3514
  ::google::protobuf::internal::MapField<
3515
      LightweightRequestPB_MapEntry_DoNotUse,
3516
      ::std::string, ::google::protobuf::int64,
3517
      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
3518
      ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
3519
      0 > map_;
3520
  ::google::protobuf::internal::ArenaStringPtr str_;
3521
  ::google::protobuf::internal::ArenaStringPtr bytes_;
3522
  ::yb::rpc_test::LightweightSubMessagePB* message_;
3523
  ::yb::rpc_test::LightweightSubMessagePB* ptr_message_;
3524
  ::google::protobuf::Any* extra_data_;
3525
  ::google::protobuf::int64 i64_;
3526
  ::google::protobuf::int32 i32_;
3527
  ::google::protobuf::uint32 f32_;
3528
  ::google::protobuf::uint64 f64_;
3529
  ::google::protobuf::uint64 u64_;
3530
  ::google::protobuf::uint32 u32_;
3531
  float r32_;
3532
  double r64_;
3533
  int en_;
3534
  ::google::protobuf::int32 sf32_;
3535
  ::google::protobuf::int64 sf64_;
3536
  ::google::protobuf::int64 si64_;
3537
  ::google::protobuf::int32 si32_;
3538
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
3539
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsLightweightRequestPBImpl();
3540
};
3541
// -------------------------------------------------------------------
3542
3543
class LightweightResponsePB_MapEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<LightweightResponsePB_MapEntry_DoNotUse, 
3544
    ::std::string, ::google::protobuf::int64,
3545
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
3546
    ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
3547
    0 > {
3548
public:
3549
  typedef ::google::protobuf::internal::MapEntry<LightweightResponsePB_MapEntry_DoNotUse, 
3550
    ::std::string, ::google::protobuf::int64,
3551
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
3552
    ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
3553
    0 > SuperType;
3554
  LightweightResponsePB_MapEntry_DoNotUse();
3555
  LightweightResponsePB_MapEntry_DoNotUse(::google::protobuf::Arena* arena);
3556
  void MergeFrom(const LightweightResponsePB_MapEntry_DoNotUse& other);
3557
125
  static const LightweightResponsePB_MapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const LightweightResponsePB_MapEntry_DoNotUse*>(&_LightweightResponsePB_MapEntry_DoNotUse_default_instance_); }
3558
  void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL;
3559
  ::google::protobuf::Metadata GetMetadata() const;
3560
};
3561
3562
// -------------------------------------------------------------------
3563
3564
class LightweightResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.LightweightResponsePB) */ {
3565
 public:
3566
  LightweightResponsePB();
3567
  virtual ~LightweightResponsePB();
3568
3569
  LightweightResponsePB(const LightweightResponsePB& from);
3570
3571
0
  inline LightweightResponsePB& operator=(const LightweightResponsePB& from) {
3572
0
    CopyFrom(from);
3573
0
    return *this;
3574
0
  }
3575
  #if LANG_CXX11
3576
  LightweightResponsePB(LightweightResponsePB&& from) noexcept
3577
0
    : LightweightResponsePB() {
3578
0
    *this = ::std::move(from);
3579
0
  }
3580
3581
0
  inline LightweightResponsePB& operator=(LightweightResponsePB&& from) noexcept {
3582
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3583
0
      if (this != &from) InternalSwap(&from);
3584
0
    } else {
3585
0
      CopyFrom(from);
3586
0
    }
3587
0
    return *this;
3588
0
  }
3589
  #endif
3590
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3591
0
    return _internal_metadata_.unknown_fields();
3592
0
  }
3593
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3594
0
    return _internal_metadata_.mutable_unknown_fields();
3595
0
  }
3596
3597
  static const ::google::protobuf::Descriptor* descriptor();
3598
  static const LightweightResponsePB& default_instance();
3599
3600
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3601
132
  static inline const LightweightResponsePB* internal_default_instance() {
3602
132
    return reinterpret_cast<const LightweightResponsePB*>(
3603
132
               &_LightweightResponsePB_default_instance_);
3604
132
  }
3605
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3606
    27;
3607
3608
  void Swap(LightweightResponsePB* other);
3609
0
  friend void swap(LightweightResponsePB& a, LightweightResponsePB& b) {
3610
0
    a.Swap(&b);
3611
0
  }
3612
3613
  // implements Message ----------------------------------------------
3614
3615
0
  inline LightweightResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3616
3617
  LightweightResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3618
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3619
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3620
  void CopyFrom(const LightweightResponsePB& from);
3621
  void MergeFrom(const LightweightResponsePB& from);
3622
  void Clear() PROTOBUF_FINAL;
3623
  bool IsInitialized() const PROTOBUF_FINAL;
3624
3625
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3626
  bool MergePartialFromCodedStream(
3627
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3628
  void SerializeWithCachedSizes(
3629
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3630
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3631
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3632
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3633
  private:
3634
  void SharedCtor();
3635
  void SharedDtor();
3636
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3637
  void InternalSwap(LightweightResponsePB* other);
3638
  private:
3639
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3640
0
    return NULL;
3641
0
  }
3642
0
  inline void* MaybeArenaPtr() const {
3643
0
    return NULL;
3644
0
  }
3645
  public:
3646
3647
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3648
3649
  // nested types ----------------------------------------------------
3650
3651
3652
  // accessors -------------------------------------------------------
3653
3654
  // repeated uint32 ru32 = 16;
3655
  int ru32_size() const;
3656
  void clear_ru32();
3657
  static const int kRu32FieldNumber = 16;
3658
  ::google::protobuf::uint32 ru32(int index) const;
3659
  void set_ru32(int index, ::google::protobuf::uint32 value);
3660
  void add_ru32(::google::protobuf::uint32 value);
3661
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3662
      ru32() const;
3663
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3664
      mutable_ru32();
3665
3666
  // repeated fixed32 rf32 = 17;
3667
  int rf32_size() const;
3668
  void clear_rf32();
3669
  static const int kRf32FieldNumber = 17;
3670
  ::google::protobuf::uint32 rf32(int index) const;
3671
  void set_rf32(int index, ::google::protobuf::uint32 value);
3672
  void add_rf32(::google::protobuf::uint32 value);
3673
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3674
      rf32() const;
3675
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3676
      mutable_rf32();
3677
3678
  // repeated string rstr = 18;
3679
  int rstr_size() const;
3680
  void clear_rstr();
3681
  static const int kRstrFieldNumber = 18;
3682
  const ::std::string& rstr(int index) const;
3683
  ::std::string* mutable_rstr(int index);
3684
  void set_rstr(int index, const ::std::string& value);
3685
  #if LANG_CXX11
3686
  void set_rstr(int index, ::std::string&& value);
3687
  #endif
3688
  void set_rstr(int index, const char* value);
3689
  void set_rstr(int index, const char* value, size_t size);
3690
  ::std::string* add_rstr();
3691
  void add_rstr(const ::std::string& value);
3692
  #if LANG_CXX11
3693
  void add_rstr(::std::string&& value);
3694
  #endif
3695
  void add_rstr(const char* value);
3696
  void add_rstr(const char* value, size_t size);
3697
  const ::google::protobuf::RepeatedPtrField< ::std::string>& rstr() const;
3698
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_rstr();
3699
3700
  // repeated .yb.rpc_test.LightweightSubMessagePB repeated_messages = 20;
3701
  int repeated_messages_size() const;
3702
  void clear_repeated_messages();
3703
  static const int kRepeatedMessagesFieldNumber = 20;
3704
  const ::yb::rpc_test::LightweightSubMessagePB& repeated_messages(int index) const;
3705
  ::yb::rpc_test::LightweightSubMessagePB* mutable_repeated_messages(int index);
3706
  ::yb::rpc_test::LightweightSubMessagePB* add_repeated_messages();
3707
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >*
3708
      mutable_repeated_messages();
3709
  const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >&
3710
      repeated_messages() const;
3711
3712
  // repeated uint64 packed_u64 = 21 [packed = true];
3713
  int packed_u64_size() const;
3714
  void clear_packed_u64();
3715
  static const int kPackedU64FieldNumber = 21;
3716
  ::google::protobuf::uint64 packed_u64(int index) const;
3717
  void set_packed_u64(int index, ::google::protobuf::uint64 value);
3718
  void add_packed_u64(::google::protobuf::uint64 value);
3719
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
3720
      packed_u64() const;
3721
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
3722
      mutable_packed_u64();
3723
3724
  // repeated fixed32 packed_f32 = 22 [packed = true];
3725
  int packed_f32_size() const;
3726
  void clear_packed_f32();
3727
  static const int kPackedF32FieldNumber = 22;
3728
  ::google::protobuf::uint32 packed_f32(int index) const;
3729
  void set_packed_f32(int index, ::google::protobuf::uint32 value);
3730
  void add_packed_f32(::google::protobuf::uint32 value);
3731
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
3732
      packed_f32() const;
3733
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
3734
      mutable_packed_f32();
3735
3736
  // repeated .yb.rpc_test.LightweightPairPB pairs = 23;
3737
  int pairs_size() const;
3738
  void clear_pairs();
3739
  static const int kPairsFieldNumber = 23;
3740
  const ::yb::rpc_test::LightweightPairPB& pairs(int index) const;
3741
  ::yb::rpc_test::LightweightPairPB* mutable_pairs(int index);
3742
  ::yb::rpc_test::LightweightPairPB* add_pairs();
3743
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >*
3744
      mutable_pairs();
3745
  const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >&
3746
      pairs() const;
3747
3748
  // map<string, int64> map = 25;
3749
  int map_size() const;
3750
  void clear_map();
3751
  static const int kMapFieldNumber = 25;
3752
  const ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >&
3753
      map() const;
3754
  ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >*
3755
      mutable_map();
3756
3757
  // repeated .yb.rpc_test.LightweightSubMessagePB repeated_messages_copy = 120;
3758
  int repeated_messages_copy_size() const;
3759
  void clear_repeated_messages_copy();
3760
  static const int kRepeatedMessagesCopyFieldNumber = 120;
3761
  const ::yb::rpc_test::LightweightSubMessagePB& repeated_messages_copy(int index) const;
3762
  ::yb::rpc_test::LightweightSubMessagePB* mutable_repeated_messages_copy(int index);
3763
  ::yb::rpc_test::LightweightSubMessagePB* add_repeated_messages_copy();
3764
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >*
3765
      mutable_repeated_messages_copy();
3766
  const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >&
3767
      repeated_messages_copy() const;
3768
3769
  // optional string str = 9;
3770
  bool has_str() const;
3771
  void clear_str();
3772
  static const int kStrFieldNumber = 9;
3773
  const ::std::string& str() const;
3774
  void set_str(const ::std::string& value);
3775
  #if LANG_CXX11
3776
  void set_str(::std::string&& value);
3777
  #endif
3778
  void set_str(const char* value);
3779
  void set_str(const char* value, size_t size);
3780
  ::std::string* mutable_str();
3781
  ::std::string* release_str();
3782
  void set_allocated_str(::std::string* str);
3783
3784
  // optional bytes bytes = 10;
3785
  bool has_bytes() const;
3786
  void clear_bytes();
3787
  static const int kBytesFieldNumber = 10;
3788
  const ::std::string& bytes() const;
3789
  void set_bytes(const ::std::string& value);
3790
  #if LANG_CXX11
3791
  void set_bytes(::std::string&& value);
3792
  #endif
3793
  void set_bytes(const char* value);
3794
  void set_bytes(const void* value, size_t size);
3795
  ::std::string* mutable_bytes();
3796
  ::std::string* release_bytes();
3797
  void set_allocated_bytes(::std::string* bytes);
3798
3799
  // optional string short_debug_string = 100;
3800
  bool has_short_debug_string() const;
3801
  void clear_short_debug_string();
3802
  static const int kShortDebugStringFieldNumber = 100;
3803
  const ::std::string& short_debug_string() const;
3804
  void set_short_debug_string(const ::std::string& value);
3805
  #if LANG_CXX11
3806
  void set_short_debug_string(::std::string&& value);
3807
  #endif
3808
  void set_short_debug_string(const char* value);
3809
  void set_short_debug_string(const char* value, size_t size);
3810
  ::std::string* mutable_short_debug_string();
3811
  ::std::string* release_short_debug_string();
3812
  void set_allocated_short_debug_string(::std::string* short_debug_string);
3813
3814
  // optional .yb.rpc_test.LightweightSubMessagePB message = 19;
3815
  bool has_message() const;
3816
  void clear_message();
3817
  static const int kMessageFieldNumber = 19;
3818
  const ::yb::rpc_test::LightweightSubMessagePB& message() const;
3819
  ::yb::rpc_test::LightweightSubMessagePB* release_message();
3820
  ::yb::rpc_test::LightweightSubMessagePB* mutable_message();
3821
  void set_allocated_message(::yb::rpc_test::LightweightSubMessagePB* message);
3822
3823
  // optional .yb.rpc_test.LightweightSubMessagePB ptr_message = 24 [(.yb.rpc.lightweight_field) = {
3824
  bool has_ptr_message() const;
3825
  void clear_ptr_message();
3826
  static const int kPtrMessageFieldNumber = 24;
3827
  const ::yb::rpc_test::LightweightSubMessagePB& ptr_message() const;
3828
  ::yb::rpc_test::LightweightSubMessagePB* release_ptr_message();
3829
  ::yb::rpc_test::LightweightSubMessagePB* mutable_ptr_message();
3830
  void set_allocated_ptr_message(::yb::rpc_test::LightweightSubMessagePB* ptr_message);
3831
3832
  // optional int64 i64 = 2;
3833
  bool has_i64() const;
3834
  void clear_i64();
3835
  static const int kI64FieldNumber = 2;
3836
  ::google::protobuf::int64 i64() const;
3837
  void set_i64(::google::protobuf::int64 value);
3838
3839
  // optional int32 i32 = 1;
3840
  bool has_i32() const;
3841
  void clear_i32();
3842
  static const int kI32FieldNumber = 1;
3843
  ::google::protobuf::int32 i32() const;
3844
  void set_i32(::google::protobuf::int32 value);
3845
3846
  // optional fixed32 f32 = 3;
3847
  bool has_f32() const;
3848
  void clear_f32();
3849
  static const int kF32FieldNumber = 3;
3850
  ::google::protobuf::uint32 f32() const;
3851
  void set_f32(::google::protobuf::uint32 value);
3852
3853
  // optional fixed64 f64 = 4;
3854
  bool has_f64() const;
3855
  void clear_f64();
3856
  static const int kF64FieldNumber = 4;
3857
  ::google::protobuf::uint64 f64() const;
3858
  void set_f64(::google::protobuf::uint64 value);
3859
3860
  // optional uint64 u64 = 6;
3861
  bool has_u64() const;
3862
  void clear_u64();
3863
  static const int kU64FieldNumber = 6;
3864
  ::google::protobuf::uint64 u64() const;
3865
  void set_u64(::google::protobuf::uint64 value);
3866
3867
  // optional uint32 u32 = 5;
3868
  bool has_u32() const;
3869
  void clear_u32();
3870
  static const int kU32FieldNumber = 5;
3871
  ::google::protobuf::uint32 u32() const;
3872
  void set_u32(::google::protobuf::uint32 value);
3873
3874
  // optional float r32 = 7;
3875
  bool has_r32() const;
3876
  void clear_r32();
3877
  static const int kR32FieldNumber = 7;
3878
  float r32() const;
3879
  void set_r32(float value);
3880
3881
  // optional double r64 = 8;
3882
  bool has_r64() const;
3883
  void clear_r64();
3884
  static const int kR64FieldNumber = 8;
3885
  double r64() const;
3886
  void set_r64(double value);
3887
3888
  // optional .yb.rpc_test.LightweightEnum en = 11;
3889
  bool has_en() const;
3890
  void clear_en();
3891
  static const int kEnFieldNumber = 11;
3892
  ::yb::rpc_test::LightweightEnum en() const;
3893
  void set_en(::yb::rpc_test::LightweightEnum value);
3894
3895
  // optional sfixed32 sf32 = 12;
3896
  bool has_sf32() const;
3897
  void clear_sf32();
3898
  static const int kSf32FieldNumber = 12;
3899
  ::google::protobuf::int32 sf32() const;
3900
  void set_sf32(::google::protobuf::int32 value);
3901
3902
  // optional sfixed64 sf64 = 13;
3903
  bool has_sf64() const;
3904
  void clear_sf64();
3905
  static const int kSf64FieldNumber = 13;
3906
  ::google::protobuf::int64 sf64() const;
3907
  void set_sf64(::google::protobuf::int64 value);
3908
3909
  // optional sint64 si64 = 15;
3910
  bool has_si64() const;
3911
  void clear_si64();
3912
  static const int kSi64FieldNumber = 15;
3913
  ::google::protobuf::int64 si64() const;
3914
  void set_si64(::google::protobuf::int64 value);
3915
3916
  // optional sint32 si32 = 14;
3917
  bool has_si32() const;
3918
  void clear_si32();
3919
  static const int kSi32FieldNumber = 14;
3920
  ::google::protobuf::int32 si32() const;
3921
  void set_si32(::google::protobuf::int32 value);
3922
3923
  // @@protoc_insertion_point(class_scope:yb.rpc_test.LightweightResponsePB)
3924
 private:
3925
  void set_has_i32();
3926
  void clear_has_i32();
3927
  void set_has_i64();
3928
  void clear_has_i64();
3929
  void set_has_f32();
3930
  void clear_has_f32();
3931
  void set_has_f64();
3932
  void clear_has_f64();
3933
  void set_has_u32();
3934
  void clear_has_u32();
3935
  void set_has_u64();
3936
  void clear_has_u64();
3937
  void set_has_r32();
3938
  void clear_has_r32();
3939
  void set_has_r64();
3940
  void clear_has_r64();
3941
  void set_has_str();
3942
  void clear_has_str();
3943
  void set_has_bytes();
3944
  void clear_has_bytes();
3945
  void set_has_en();
3946
  void clear_has_en();
3947
  void set_has_sf32();
3948
  void clear_has_sf32();
3949
  void set_has_sf64();
3950
  void clear_has_sf64();
3951
  void set_has_si32();
3952
  void clear_has_si32();
3953
  void set_has_si64();
3954
  void clear_has_si64();
3955
  void set_has_message();
3956
  void clear_has_message();
3957
  void set_has_ptr_message();
3958
  void clear_has_ptr_message();
3959
  void set_has_short_debug_string();
3960
  void clear_has_short_debug_string();
3961
3962
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3963
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3964
  mutable int _cached_size_;
3965
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > ru32_;
3966
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > rf32_;
3967
  ::google::protobuf::RepeatedPtrField< ::std::string> rstr_;
3968
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB > repeated_messages_;
3969
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > packed_u64_;
3970
  mutable int _packed_u64_cached_byte_size_;
3971
  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > packed_f32_;
3972
  mutable int _packed_f32_cached_byte_size_;
3973
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB > pairs_;
3974
  ::google::protobuf::internal::MapField<
3975
      LightweightResponsePB_MapEntry_DoNotUse,
3976
      ::std::string, ::google::protobuf::int64,
3977
      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
3978
      ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
3979
      0 > map_;
3980
  ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB > repeated_messages_copy_;
3981
  ::google::protobuf::internal::ArenaStringPtr str_;
3982
  ::google::protobuf::internal::ArenaStringPtr bytes_;
3983
  ::google::protobuf::internal::ArenaStringPtr short_debug_string_;
3984
  ::yb::rpc_test::LightweightSubMessagePB* message_;
3985
  ::yb::rpc_test::LightweightSubMessagePB* ptr_message_;
3986
  ::google::protobuf::int64 i64_;
3987
  ::google::protobuf::int32 i32_;
3988
  ::google::protobuf::uint32 f32_;
3989
  ::google::protobuf::uint64 f64_;
3990
  ::google::protobuf::uint64 u64_;
3991
  ::google::protobuf::uint32 u32_;
3992
  float r32_;
3993
  double r64_;
3994
  int en_;
3995
  ::google::protobuf::int32 sf32_;
3996
  ::google::protobuf::int64 sf64_;
3997
  ::google::protobuf::int64 si64_;
3998
  ::google::protobuf::int32 si32_;
3999
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
4000
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsLightweightResponsePBImpl();
4001
};
4002
// -------------------------------------------------------------------
4003
4004
class TrivialRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.TrivialRequestPB) */ {
4005
 public:
4006
  TrivialRequestPB();
4007
  virtual ~TrivialRequestPB();
4008
4009
  TrivialRequestPB(const TrivialRequestPB& from);
4010
4011
0
  inline TrivialRequestPB& operator=(const TrivialRequestPB& from) {
4012
0
    CopyFrom(from);
4013
0
    return *this;
4014
0
  }
4015
  #if LANG_CXX11
4016
  TrivialRequestPB(TrivialRequestPB&& from) noexcept
4017
0
    : TrivialRequestPB() {
4018
0
    *this = ::std::move(from);
4019
0
  }
4020
4021
0
  inline TrivialRequestPB& operator=(TrivialRequestPB&& from) noexcept {
4022
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4023
0
      if (this != &from) InternalSwap(&from);
4024
0
    } else {
4025
0
      CopyFrom(from);
4026
0
    }
4027
0
    return *this;
4028
0
  }
4029
  #endif
4030
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4031
0
    return _internal_metadata_.unknown_fields();
4032
0
  }
4033
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4034
0
    return _internal_metadata_.mutable_unknown_fields();
4035
0
  }
4036
4037
  static const ::google::protobuf::Descriptor* descriptor();
4038
  static const TrivialRequestPB& default_instance();
4039
4040
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4041
126
  static inline const TrivialRequestPB* internal_default_instance() {
4042
126
    return reinterpret_cast<const TrivialRequestPB*>(
4043
126
               &_TrivialRequestPB_default_instance_);
4044
126
  }
4045
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4046
    28;
4047
4048
  void Swap(TrivialRequestPB* other);
4049
0
  friend void swap(TrivialRequestPB& a, TrivialRequestPB& b) {
4050
0
    a.Swap(&b);
4051
0
  }
4052
4053
  // implements Message ----------------------------------------------
4054
4055
0
  inline TrivialRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4056
4057
  TrivialRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4058
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4059
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4060
  void CopyFrom(const TrivialRequestPB& from);
4061
  void MergeFrom(const TrivialRequestPB& from);
4062
  void Clear() PROTOBUF_FINAL;
4063
  bool IsInitialized() const PROTOBUF_FINAL;
4064
4065
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4066
  bool MergePartialFromCodedStream(
4067
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4068
  void SerializeWithCachedSizes(
4069
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4070
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4071
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4072
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4073
  private:
4074
  void SharedCtor();
4075
  void SharedDtor();
4076
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4077
  void InternalSwap(TrivialRequestPB* other);
4078
  private:
4079
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4080
0
    return NULL;
4081
0
  }
4082
0
  inline void* MaybeArenaPtr() const {
4083
0
    return NULL;
4084
0
  }
4085
  public:
4086
4087
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4088
4089
  // nested types ----------------------------------------------------
4090
4091
  // accessors -------------------------------------------------------
4092
4093
  // optional int32 value = 1;
4094
  bool has_value() const;
4095
  void clear_value();
4096
  static const int kValueFieldNumber = 1;
4097
  ::google::protobuf::int32 value() const;
4098
  void set_value(::google::protobuf::int32 value);
4099
4100
  // @@protoc_insertion_point(class_scope:yb.rpc_test.TrivialRequestPB)
4101
 private:
4102
  void set_has_value();
4103
  void clear_has_value();
4104
4105
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4106
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4107
  mutable int _cached_size_;
4108
  ::google::protobuf::int32 value_;
4109
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
4110
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsTrivialRequestPBImpl();
4111
};
4112
// -------------------------------------------------------------------
4113
4114
class TrivialErrorPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.TrivialErrorPB) */ {
4115
 public:
4116
  TrivialErrorPB();
4117
  virtual ~TrivialErrorPB();
4118
4119
  TrivialErrorPB(const TrivialErrorPB& from);
4120
4121
0
  inline TrivialErrorPB& operator=(const TrivialErrorPB& from) {
4122
0
    CopyFrom(from);
4123
0
    return *this;
4124
0
  }
4125
  #if LANG_CXX11
4126
  TrivialErrorPB(TrivialErrorPB&& from) noexcept
4127
0
    : TrivialErrorPB() {
4128
0
    *this = ::std::move(from);
4129
0
  }
4130
4131
0
  inline TrivialErrorPB& operator=(TrivialErrorPB&& from) noexcept {
4132
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4133
0
      if (this != &from) InternalSwap(&from);
4134
0
    } else {
4135
0
      CopyFrom(from);
4136
0
    }
4137
0
    return *this;
4138
0
  }
4139
  #endif
4140
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4141
0
    return _internal_metadata_.unknown_fields();
4142
0
  }
4143
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4144
0
    return _internal_metadata_.mutable_unknown_fields();
4145
0
  }
4146
4147
  static const ::google::protobuf::Descriptor* descriptor();
4148
  static const TrivialErrorPB& default_instance();
4149
4150
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4151
248
  static inline const TrivialErrorPB* internal_default_instance() {
4152
248
    return reinterpret_cast<const TrivialErrorPB*>(
4153
248
               &_TrivialErrorPB_default_instance_);
4154
248
  }
4155
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4156
    29;
4157
4158
  void Swap(TrivialErrorPB* other);
4159
0
  friend void swap(TrivialErrorPB& a, TrivialErrorPB& b) {
4160
0
    a.Swap(&b);
4161
0
  }
4162
4163
  // implements Message ----------------------------------------------
4164
4165
0
  inline TrivialErrorPB* New() const PROTOBUF_FINAL { return New(NULL); }
4166
4167
  TrivialErrorPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4168
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4169
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4170
  void CopyFrom(const TrivialErrorPB& from);
4171
  void MergeFrom(const TrivialErrorPB& from);
4172
  void Clear() PROTOBUF_FINAL;
4173
  bool IsInitialized() const PROTOBUF_FINAL;
4174
4175
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4176
  bool MergePartialFromCodedStream(
4177
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4178
  void SerializeWithCachedSizes(
4179
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4180
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4181
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4182
1
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4183
  private:
4184
  void SharedCtor();
4185
  void SharedDtor();
4186
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4187
  void InternalSwap(TrivialErrorPB* other);
4188
  private:
4189
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4190
0
    return NULL;
4191
0
  }
4192
0
  inline void* MaybeArenaPtr() const {
4193
0
    return NULL;
4194
0
  }
4195
  public:
4196
4197
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4198
4199
  // nested types ----------------------------------------------------
4200
4201
  // accessors -------------------------------------------------------
4202
4203
  // optional int32 code = 1;
4204
  bool has_code() const;
4205
  void clear_code();
4206
  static const int kCodeFieldNumber = 1;
4207
  ::google::protobuf::int32 code() const;
4208
  void set_code(::google::protobuf::int32 value);
4209
4210
  // @@protoc_insertion_point(class_scope:yb.rpc_test.TrivialErrorPB)
4211
 private:
4212
  void set_has_code();
4213
  void clear_has_code();
4214
4215
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4216
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4217
  mutable int _cached_size_;
4218
  ::google::protobuf::int32 code_;
4219
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
4220
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsTrivialErrorPBImpl();
4221
};
4222
// -------------------------------------------------------------------
4223
4224
class TrivialResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc_test.TrivialResponsePB) */ {
4225
 public:
4226
  TrivialResponsePB();
4227
  virtual ~TrivialResponsePB();
4228
4229
  TrivialResponsePB(const TrivialResponsePB& from);
4230
4231
0
  inline TrivialResponsePB& operator=(const TrivialResponsePB& from) {
4232
0
    CopyFrom(from);
4233
0
    return *this;
4234
0
  }
4235
  #if LANG_CXX11
4236
  TrivialResponsePB(TrivialResponsePB&& from) noexcept
4237
1
    : TrivialResponsePB() {
4238
1
    *this = ::std::move(from);
4239
1
  }
yb::rpc_test::TrivialResponsePB::TrivialResponsePB(yb::rpc_test::TrivialResponsePB&&)
Line
Count
Source
4237
1
    : TrivialResponsePB() {
4238
1
    *this = ::std::move(from);
4239
1
  }
Unexecuted instantiation: yb::rpc_test::TrivialResponsePB::TrivialResponsePB(yb::rpc_test::TrivialResponsePB&&)
4240
4241
1
  inline TrivialResponsePB& operator=(TrivialResponsePB&& from) noexcept {
4242
1
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4243
1
      if (this != &from) InternalSwap(&from);
4244
1
    } else {
4245
0
      CopyFrom(from);
4246
0
    }
4247
1
    return *this;
4248
1
  }
4249
  #endif
4250
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4251
0
    return _internal_metadata_.unknown_fields();
4252
0
  }
4253
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4254
0
    return _internal_metadata_.mutable_unknown_fields();
4255
0
  }
4256
4257
  static const ::google::protobuf::Descriptor* descriptor();
4258
  static const TrivialResponsePB& default_instance();
4259
4260
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4261
133
  static inline const TrivialResponsePB* internal_default_instance() {
4262
133
    return reinterpret_cast<const TrivialResponsePB*>(
4263
133
               &_TrivialResponsePB_default_instance_);
4264
133
  }
4265
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4266
    30;
4267
4268
  void Swap(TrivialResponsePB* other);
4269
0
  friend void swap(TrivialResponsePB& a, TrivialResponsePB& b) {
4270
0
    a.Swap(&b);
4271
0
  }
4272
4273
  // implements Message ----------------------------------------------
4274
4275
0
  inline TrivialResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4276
4277
  TrivialResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4278
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4279
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4280
  void CopyFrom(const TrivialResponsePB& from);
4281
  void MergeFrom(const TrivialResponsePB& from);
4282
  void Clear() PROTOBUF_FINAL;
4283
  bool IsInitialized() const PROTOBUF_FINAL;
4284
4285
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4286
  bool MergePartialFromCodedStream(
4287
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4288
  void SerializeWithCachedSizes(
4289
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4290
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4291
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4292
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4293
  private:
4294
  void SharedCtor();
4295
  void SharedDtor();
4296
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4297
  void InternalSwap(TrivialResponsePB* other);
4298
  private:
4299
2
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4300
2
    return NULL;
4301
2
  }
4302
0
  inline void* MaybeArenaPtr() const {
4303
0
    return NULL;
4304
0
  }
4305
  public:
4306
4307
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4308
4309
  // nested types ----------------------------------------------------
4310
4311
  // accessors -------------------------------------------------------
4312
4313
  // optional .yb.rpc_test.TrivialErrorPB error = 1;
4314
  bool has_error() const;
4315
  void clear_error();
4316
  static const int kErrorFieldNumber = 1;
4317
  const ::yb::rpc_test::TrivialErrorPB& error() const;
4318
  ::yb::rpc_test::TrivialErrorPB* release_error();
4319
  ::yb::rpc_test::TrivialErrorPB* mutable_error();
4320
  void set_allocated_error(::yb::rpc_test::TrivialErrorPB* error);
4321
4322
  // optional int32 value = 2;
4323
  bool has_value() const;
4324
  void clear_value();
4325
  static const int kValueFieldNumber = 2;
4326
  ::google::protobuf::int32 value() const;
4327
  void set_value(::google::protobuf::int32 value);
4328
4329
  // @@protoc_insertion_point(class_scope:yb.rpc_test.TrivialResponsePB)
4330
 private:
4331
  void set_has_error();
4332
  void clear_has_error();
4333
  void set_has_value();
4334
  void clear_has_value();
4335
4336
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4337
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4338
  mutable int _cached_size_;
4339
  ::yb::rpc_test::TrivialErrorPB* error_;
4340
  ::google::protobuf::int32 value_;
4341
  friend struct ::protobuf_yb_2frpc_2frtest_2eproto::TableStruct;
4342
  friend void ::protobuf_yb_2frpc_2frtest_2eproto::InitDefaultsTrivialResponsePBImpl();
4343
};
4344
// ===================================================================
4345
4346
4347
// ===================================================================
4348
4349
#ifdef __GNUC__
4350
  #pragma GCC diagnostic push
4351
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4352
#endif  // __GNUC__
4353
// AddRequestPB
4354
4355
// required uint32 x = 1;
4356
2
inline bool AddRequestPB::has_x() const {
4357
2
  return (_has_bits_[0] & 0x00000001u) != 0;
4358
2
}
4359
3.46k
inline void AddRequestPB::set_has_x() {
4360
3.46k
  _has_bits_[0] |= 0x00000001u;
4361
3.46k
}
4362
0
inline void AddRequestPB::clear_has_x() {
4363
0
  _has_bits_[0] &= ~0x00000001u;
4364
0
}
4365
0
inline void AddRequestPB::clear_x() {
4366
0
  x_ = 0u;
4367
0
  clear_has_x();
4368
0
}
4369
8.81k
inline ::google::protobuf::uint32 AddRequestPB::x() const {
4370
  // @@protoc_insertion_point(field_get:yb.rpc_test.AddRequestPB.x)
4371
8.81k
  return x_;
4372
8.81k
}
4373
2.01k
inline void AddRequestPB::set_x(::google::protobuf::uint32 value) {
4374
2.01k
  set_has_x();
4375
2.01k
  x_ = value;
4376
  // @@protoc_insertion_point(field_set:yb.rpc_test.AddRequestPB.x)
4377
2.01k
}
4378
4379
// required uint32 y = 2;
4380
2
inline bool AddRequestPB::has_y() const {
4381
2
  return (_has_bits_[0] & 0x00000002u) != 0;
4382
2
}
4383
3.47k
inline void AddRequestPB::set_has_y() {
4384
3.47k
  _has_bits_[0] |= 0x00000002u;
4385
3.47k
}
4386
0
inline void AddRequestPB::clear_has_y() {
4387
0
  _has_bits_[0] &= ~0x00000002u;
4388
0
}
4389
0
inline void AddRequestPB::clear_y() {
4390
0
  y_ = 0u;
4391
0
  clear_has_y();
4392
0
}
4393
8.80k
inline ::google::protobuf::uint32 AddRequestPB::y() const {
4394
  // @@protoc_insertion_point(field_get:yb.rpc_test.AddRequestPB.y)
4395
8.80k
  return y_;
4396
8.80k
}
4397
2.01k
inline void AddRequestPB::set_y(::google::protobuf::uint32 value) {
4398
2.01k
  set_has_y();
4399
2.01k
  y_ = value;
4400
  // @@protoc_insertion_point(field_set:yb.rpc_test.AddRequestPB.y)
4401
2.01k
}
4402
4403
// -------------------------------------------------------------------
4404
4405
// AddRequestPartialPB
4406
4407
// required uint32 x = 1;
4408
2
inline bool AddRequestPartialPB::has_x() const {
4409
2
  return (_has_bits_[0] & 0x00000001u) != 0;
4410
2
}
4411
1
inline void AddRequestPartialPB::set_has_x() {
4412
1
  _has_bits_[0] |= 0x00000001u;
4413
1
}
4414
0
inline void AddRequestPartialPB::clear_has_x() {
4415
0
  _has_bits_[0] &= ~0x00000001u;
4416
0
}
4417
0
inline void AddRequestPartialPB::clear_x() {
4418
0
  x_ = 0u;
4419
0
  clear_has_x();
4420
0
}
4421
3
inline ::google::protobuf::uint32 AddRequestPartialPB::x() const {
4422
  // @@protoc_insertion_point(field_get:yb.rpc_test.AddRequestPartialPB.x)
4423
3
  return x_;
4424
3
}
4425
1
inline void AddRequestPartialPB::set_x(::google::protobuf::uint32 value) {
4426
1
  set_has_x();
4427
1
  x_ = value;
4428
  // @@protoc_insertion_point(field_set:yb.rpc_test.AddRequestPartialPB.x)
4429
1
}
4430
4431
// -------------------------------------------------------------------
4432
4433
// AddResponsePB
4434
4435
// required uint32 result = 1;
4436
2.87k
inline bool AddResponsePB::has_result() const {
4437
2.87k
  return (_has_bits_[0] & 0x00000001u) != 0;
4438
2.87k
}
4439
2.91k
inline void AddResponsePB::set_has_result() {
4440
2.91k
  _has_bits_[0] |= 0x00000001u;
4441
2.91k
}
4442
0
inline void AddResponsePB::clear_has_result() {
4443
0
  _has_bits_[0] &= ~0x00000001u;
4444
0
}
4445
0
inline void AddResponsePB::clear_result() {
4446
0
  result_ = 0u;
4447
0
  clear_has_result();
4448
0
}
4449
5.78k
inline ::google::protobuf::uint32 AddResponsePB::result() const {
4450
  // @@protoc_insertion_point(field_get:yb.rpc_test.AddResponsePB.result)
4451
5.78k
  return result_;
4452
5.78k
}
4453
1.45k
inline void AddResponsePB::set_result(::google::protobuf::uint32 value) {
4454
1.45k
  set_has_result();
4455
1.45k
  result_ = value;
4456
  // @@protoc_insertion_point(field_set:yb.rpc_test.AddResponsePB.result)
4457
1.45k
}
4458
4459
// -------------------------------------------------------------------
4460
4461
// SleepRequestPB
4462
4463
// required uint32 sleep_micros = 1;
4464
136
inline bool SleepRequestPB::has_sleep_micros() const {
4465
136
  return (_has_bits_[0] & 0x00000001u) != 0;
4466
136
}
4467
120
inline void SleepRequestPB::set_has_sleep_micros() {
4468
120
  _has_bits_[0] |= 0x00000001u;
4469
120
}
4470
0
inline void SleepRequestPB::clear_has_sleep_micros() {
4471
0
  _has_bits_[0] &= ~0x00000001u;
4472
0
}
4473
0
inline void SleepRequestPB::clear_sleep_micros() {
4474
0
  sleep_micros_ = 0u;
4475
0
  clear_has_sleep_micros();
4476
0
}
4477
234
inline ::google::protobuf::uint32 SleepRequestPB::sleep_micros() const {
4478
  // @@protoc_insertion_point(field_get:yb.rpc_test.SleepRequestPB.sleep_micros)
4479
234
  return sleep_micros_;
4480
234
}
4481
77
inline void SleepRequestPB::set_sleep_micros(::google::protobuf::uint32 value) {
4482
77
  set_has_sleep_micros();
4483
77
  sleep_micros_ = value;
4484
  // @@protoc_insertion_point(field_set:yb.rpc_test.SleepRequestPB.sleep_micros)
4485
77
}
4486
4487
// optional bool deferred = 2 [default = false];
4488
32
inline bool SleepRequestPB::has_deferred() const {
4489
32
  return (_has_bits_[0] & 0x00000002u) != 0;
4490
32
}
4491
6
inline void SleepRequestPB::set_has_deferred() {
4492
6
  _has_bits_[0] |= 0x00000002u;
4493
6
}
4494
0
inline void SleepRequestPB::clear_has_deferred() {
4495
0
  _has_bits_[0] &= ~0x00000002u;
4496
0
}
4497
0
inline void SleepRequestPB::clear_deferred() {
4498
0
  deferred_ = false;
4499
0
  clear_has_deferred();
4500
0
}
4501
39
inline bool SleepRequestPB::deferred() const {
4502
  // @@protoc_insertion_point(field_get:yb.rpc_test.SleepRequestPB.deferred)
4503
39
  return deferred_;
4504
39
}
4505
3
inline void SleepRequestPB::set_deferred(bool value) {
4506
3
  set_has_deferred();
4507
3
  deferred_ = value;
4508
  // @@protoc_insertion_point(field_set:yb.rpc_test.SleepRequestPB.deferred)
4509
3
}
4510
4511
// optional bool return_app_error = 3 [default = false];
4512
32
inline bool SleepRequestPB::has_return_app_error() const {
4513
32
  return (_has_bits_[0] & 0x00000004u) != 0;
4514
32
}
4515
2
inline void SleepRequestPB::set_has_return_app_error() {
4516
2
  _has_bits_[0] |= 0x00000004u;
4517
2
}
4518
0
inline void SleepRequestPB::clear_has_return_app_error() {
4519
0
  _has_bits_[0] &= ~0x00000004u;
4520
0
}
4521
0
inline void SleepRequestPB::clear_return_app_error() {
4522
0
  return_app_error_ = false;
4523
0
  clear_has_return_app_error();
4524
0
}
4525
40
inline bool SleepRequestPB::return_app_error() const {
4526
  // @@protoc_insertion_point(field_get:yb.rpc_test.SleepRequestPB.return_app_error)
4527
40
  return return_app_error_;
4528
40
}
4529
1
inline void SleepRequestPB::set_return_app_error(bool value) {
4530
1
  set_has_return_app_error();
4531
1
  return_app_error_ = value;
4532
  // @@protoc_insertion_point(field_set:yb.rpc_test.SleepRequestPB.return_app_error)
4533
1
}
4534
4535
// optional bool client_timeout_defined = 4 [default = false];
4536
32
inline bool SleepRequestPB::has_client_timeout_defined() const {
4537
32
  return (_has_bits_[0] & 0x00000008u) != 0;
4538
32
}
4539
14
inline void SleepRequestPB::set_has_client_timeout_defined() {
4540
14
  _has_bits_[0] |= 0x00000008u;
4541
14
}
4542
0
inline void SleepRequestPB::clear_has_client_timeout_defined() {
4543
0
  _has_bits_[0] &= ~0x00000008u;
4544
0
}
4545
0
inline void SleepRequestPB::clear_client_timeout_defined() {
4546
0
  client_timeout_defined_ = false;
4547
0
  clear_has_client_timeout_defined();
4548
0
}
4549
50
inline bool SleepRequestPB::client_timeout_defined() const {
4550
  // @@protoc_insertion_point(field_get:yb.rpc_test.SleepRequestPB.client_timeout_defined)
4551
50
  return client_timeout_defined_;
4552
50
}
4553
11
inline void SleepRequestPB::set_client_timeout_defined(bool value) {
4554
11
  set_has_client_timeout_defined();
4555
11
  client_timeout_defined_ = value;
4556
  // @@protoc_insertion_point(field_set:yb.rpc_test.SleepRequestPB.client_timeout_defined)
4557
11
}
4558
4559
// -------------------------------------------------------------------
4560
4561
// SleepResponsePB
4562
4563
// -------------------------------------------------------------------
4564
4565
// SendStringsRequestPB
4566
4567
// optional uint32 random_seed = 1;
4568
6
inline bool SendStringsRequestPB::has_random_seed() const {
4569
6
  return (_has_bits_[0] & 0x00000001u) != 0;
4570
6
}
4571
6
inline void SendStringsRequestPB::set_has_random_seed() {
4572
6
  _has_bits_[0] |= 0x00000001u;
4573
6
}
4574
0
inline void SendStringsRequestPB::clear_has_random_seed() {
4575
0
  _has_bits_[0] &= ~0x00000001u;
4576
0
}
4577
0
inline void SendStringsRequestPB::clear_random_seed() {
4578
0
  random_seed_ = 0u;
4579
0
  clear_has_random_seed();
4580
0
}
4581
12
inline ::google::protobuf::uint32 SendStringsRequestPB::random_seed() const {
4582
  // @@protoc_insertion_point(field_get:yb.rpc_test.SendStringsRequestPB.random_seed)
4583
12
  return random_seed_;
4584
12
}
4585
3
inline void SendStringsRequestPB::set_random_seed(::google::protobuf::uint32 value) {
4586
3
  set_has_random_seed();
4587
3
  random_seed_ = value;
4588
  // @@protoc_insertion_point(field_set:yb.rpc_test.SendStringsRequestPB.random_seed)
4589
3
}
4590
4591
// repeated uint64 sizes = 2;
4592
6
inline int SendStringsRequestPB::sizes_size() const {
4593
6
  return sizes_.size();
4594
6
}
4595
0
inline void SendStringsRequestPB::clear_sizes() {
4596
0
  sizes_.Clear();
4597
0
}
4598
0
inline ::google::protobuf::uint64 SendStringsRequestPB::sizes(int index) const {
4599
  // @@protoc_insertion_point(field_get:yb.rpc_test.SendStringsRequestPB.sizes)
4600
0
  return sizes_.Get(index);
4601
0
}
4602
0
inline void SendStringsRequestPB::set_sizes(int index, ::google::protobuf::uint64 value) {
4603
0
  sizes_.Set(index, value);
4604
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.SendStringsRequestPB.sizes)
4605
0
}
4606
25
inline void SendStringsRequestPB::add_sizes(::google::protobuf::uint64 value) {
4607
25
  sizes_.Add(value);
4608
  // @@protoc_insertion_point(field_add:yb.rpc_test.SendStringsRequestPB.sizes)
4609
25
}
4610
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
4611
3
SendStringsRequestPB::sizes() const {
4612
  // @@protoc_insertion_point(field_list:yb.rpc_test.SendStringsRequestPB.sizes)
4613
3
  return sizes_;
4614
3
}
4615
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
4616
6
SendStringsRequestPB::mutable_sizes() {
4617
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.SendStringsRequestPB.sizes)
4618
6
  return &sizes_;
4619
6
}
4620
4621
// -------------------------------------------------------------------
4622
4623
// SendStringsResponsePB
4624
4625
// repeated uint32 sidecars = 1;
4626
6
inline int SendStringsResponsePB::sidecars_size() const {
4627
6
  return sidecars_.size();
4628
6
}
4629
0
inline void SendStringsResponsePB::clear_sidecars() {
4630
0
  sidecars_.Clear();
4631
0
}
4632
25
inline ::google::protobuf::uint32 SendStringsResponsePB::sidecars(int index) const {
4633
  // @@protoc_insertion_point(field_get:yb.rpc_test.SendStringsResponsePB.sidecars)
4634
25
  return sidecars_.Get(index);
4635
25
}
4636
0
inline void SendStringsResponsePB::set_sidecars(int index, ::google::protobuf::uint32 value) {
4637
0
  sidecars_.Set(index, value);
4638
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.SendStringsResponsePB.sidecars)
4639
0
}
4640
25
inline void SendStringsResponsePB::add_sidecars(::google::protobuf::uint32 value) {
4641
25
  sidecars_.Add(value);
4642
  // @@protoc_insertion_point(field_add:yb.rpc_test.SendStringsResponsePB.sidecars)
4643
25
}
4644
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
4645
0
SendStringsResponsePB::sidecars() const {
4646
  // @@protoc_insertion_point(field_list:yb.rpc_test.SendStringsResponsePB.sidecars)
4647
0
  return sidecars_;
4648
0
}
4649
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
4650
6
SendStringsResponsePB::mutable_sidecars() {
4651
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.SendStringsResponsePB.sidecars)
4652
6
  return &sidecars_;
4653
6
}
4654
4655
// -------------------------------------------------------------------
4656
4657
// EchoRequestPB
4658
4659
// required string data = 1;
4660
555k
inline bool EchoRequestPB::has_data() const {
4661
555k
  return (_has_bits_[0] & 0x00000001u) != 0;
4662
555k
}
4663
557k
inline void EchoRequestPB::set_has_data() {
4664
557k
  _has_bits_[0] |= 0x00000001u;
4665
557k
}
4666
6
inline void EchoRequestPB::clear_has_data() {
4667
6
  _has_bits_[0] &= ~0x00000001u;
4668
6
}
4669
6
inline void EchoRequestPB::clear_data() {
4670
6
  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4671
6
  clear_has_data();
4672
6
}
4673
1.95M
inline const ::std::string& EchoRequestPB::data() const {
4674
  // @@protoc_insertion_point(field_get:yb.rpc_test.EchoRequestPB.data)
4675
1.95M
  return data_.GetNoArena();
4676
1.95M
}
4677
0
inline void EchoRequestPB::set_data(const ::std::string& value) {
4678
0
  set_has_data();
4679
0
  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4680
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.EchoRequestPB.data)
4681
0
}
4682
#if LANG_CXX11
4683
inline void EchoRequestPB::set_data(::std::string&& value) {
4684
  set_has_data();
4685
  data_.SetNoArena(
4686
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4687
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.EchoRequestPB.data)
4688
}
4689
#endif
4690
0
inline void EchoRequestPB::set_data(const char* value) {
4691
0
  GOOGLE_DCHECK(value != NULL);
4692
0
  set_has_data();
4693
0
  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4694
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.EchoRequestPB.data)
4695
0
}
4696
0
inline void EchoRequestPB::set_data(const char* value, size_t size) {
4697
0
  set_has_data();
4698
0
  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4699
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4700
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.EchoRequestPB.data)
4701
0
}
4702
537k
inline ::std::string* EchoRequestPB::mutable_data() {
4703
537k
  set_has_data();
4704
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.EchoRequestPB.data)
4705
537k
  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4706
537k
}
4707
0
inline ::std::string* EchoRequestPB::release_data() {
4708
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.EchoRequestPB.data)
4709
0
  clear_has_data();
4710
0
  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4711
0
}
4712
0
inline void EchoRequestPB::set_allocated_data(::std::string* data) {
4713
0
  if (data != NULL) {
4714
0
    set_has_data();
4715
0
  } else {
4716
0
    clear_has_data();
4717
0
  }
4718
0
  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
4719
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.EchoRequestPB.data)
4720
0
}
4721
4722
// -------------------------------------------------------------------
4723
4724
// EchoResponsePB
4725
4726
// required string data = 1;
4727
550k
inline bool EchoResponsePB::has_data() const {
4728
550k
  return (_has_bits_[0] & 0x00000001u) != 0;
4729
550k
}
4730
547k
inline void EchoResponsePB::set_has_data() {
4731
547k
  _has_bits_[0] |= 0x00000001u;
4732
547k
}
4733
0
inline void EchoResponsePB::clear_has_data() {
4734
0
  _has_bits_[0] &= ~0x00000001u;
4735
0
}
4736
0
inline void EchoResponsePB::clear_data() {
4737
0
  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4738
0
  clear_has_data();
4739
0
}
4740
1.93M
inline const ::std::string& EchoResponsePB::data() const {
4741
  // @@protoc_insertion_point(field_get:yb.rpc_test.EchoResponsePB.data)
4742
1.93M
  return data_.GetNoArena();
4743
1.93M
}
4744
13.6k
inline void EchoResponsePB::set_data(const ::std::string& value) {
4745
13.6k
  set_has_data();
4746
13.6k
  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4747
  // @@protoc_insertion_point(field_set:yb.rpc_test.EchoResponsePB.data)
4748
13.6k
}
4749
#if LANG_CXX11
4750
261k
inline void EchoResponsePB::set_data(::std::string&& value) {
4751
261k
  set_has_data();
4752
261k
  data_.SetNoArena(
4753
261k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4754
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.EchoResponsePB.data)
4755
261k
}
4756
#endif
4757
0
inline void EchoResponsePB::set_data(const char* value) {
4758
0
  GOOGLE_DCHECK(value != NULL);
4759
0
  set_has_data();
4760
0
  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4761
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.EchoResponsePB.data)
4762
0
}
4763
0
inline void EchoResponsePB::set_data(const char* value, size_t size) {
4764
0
  set_has_data();
4765
0
  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4766
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4767
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.EchoResponsePB.data)
4768
0
}
4769
272k
inline ::std::string* EchoResponsePB::mutable_data() {
4770
272k
  set_has_data();
4771
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.EchoResponsePB.data)
4772
272k
  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4773
272k
}
4774
0
inline ::std::string* EchoResponsePB::release_data() {
4775
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.EchoResponsePB.data)
4776
0
  clear_has_data();
4777
0
  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4778
0
}
4779
0
inline void EchoResponsePB::set_allocated_data(::std::string* data) {
4780
0
  if (data != NULL) {
4781
0
    set_has_data();
4782
0
  } else {
4783
0
    clear_has_data();
4784
0
  }
4785
0
  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
4786
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.EchoResponsePB.data)
4787
0
}
4788
4789
// -------------------------------------------------------------------
4790
4791
// WhoAmIRequestPB
4792
4793
// -------------------------------------------------------------------
4794
4795
// WhoAmIResponsePB
4796
4797
// required string address = 2;
4798
8
inline bool WhoAmIResponsePB::has_address() const {
4799
8
  return (_has_bits_[0] & 0x00000001u) != 0;
4800
8
}
4801
8
inline void WhoAmIResponsePB::set_has_address() {
4802
8
  _has_bits_[0] |= 0x00000001u;
4803
8
}
4804
0
inline void WhoAmIResponsePB::clear_has_address() {
4805
0
  _has_bits_[0] &= ~0x00000001u;
4806
0
}
4807
0
inline void WhoAmIResponsePB::clear_address() {
4808
0
  address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4809
0
  clear_has_address();
4810
0
}
4811
31
inline const ::std::string& WhoAmIResponsePB::address() const {
4812
  // @@protoc_insertion_point(field_get:yb.rpc_test.WhoAmIResponsePB.address)
4813
31
  return address_.GetNoArena();
4814
31
}
4815
0
inline void WhoAmIResponsePB::set_address(const ::std::string& value) {
4816
0
  set_has_address();
4817
0
  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4818
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.WhoAmIResponsePB.address)
4819
0
}
4820
#if LANG_CXX11
4821
4
inline void WhoAmIResponsePB::set_address(::std::string&& value) {
4822
4
  set_has_address();
4823
4
  address_.SetNoArena(
4824
4
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4825
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.WhoAmIResponsePB.address)
4826
4
}
4827
#endif
4828
0
inline void WhoAmIResponsePB::set_address(const char* value) {
4829
0
  GOOGLE_DCHECK(value != NULL);
4830
0
  set_has_address();
4831
0
  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4832
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.WhoAmIResponsePB.address)
4833
0
}
4834
0
inline void WhoAmIResponsePB::set_address(const char* value, size_t size) {
4835
0
  set_has_address();
4836
0
  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4837
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4838
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.WhoAmIResponsePB.address)
4839
0
}
4840
4
inline ::std::string* WhoAmIResponsePB::mutable_address() {
4841
4
  set_has_address();
4842
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.WhoAmIResponsePB.address)
4843
4
  return address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4844
4
}
4845
0
inline ::std::string* WhoAmIResponsePB::release_address() {
4846
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.WhoAmIResponsePB.address)
4847
0
  clear_has_address();
4848
0
  return address_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4849
0
}
4850
0
inline void WhoAmIResponsePB::set_allocated_address(::std::string* address) {
4851
0
  if (address != NULL) {
4852
0
    set_has_address();
4853
0
  } else {
4854
0
    clear_has_address();
4855
0
  }
4856
0
  address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), address);
4857
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.WhoAmIResponsePB.address)
4858
0
}
4859
4860
// -------------------------------------------------------------------
4861
4862
// CalculatorError
4863
4864
// required string extra_error_data = 1;
4865
6
inline bool CalculatorError::has_extra_error_data() const {
4866
6
  return (_has_bits_[0] & 0x00000001u) != 0;
4867
6
}
4868
6
inline void CalculatorError::set_has_extra_error_data() {
4869
6
  _has_bits_[0] |= 0x00000001u;
4870
6
}
4871
0
inline void CalculatorError::clear_has_extra_error_data() {
4872
0
  _has_bits_[0] &= ~0x00000001u;
4873
0
}
4874
0
inline void CalculatorError::clear_extra_error_data() {
4875
0
  extra_error_data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4876
0
  clear_has_extra_error_data();
4877
0
}
4878
14
inline const ::std::string& CalculatorError::extra_error_data() const {
4879
  // @@protoc_insertion_point(field_get:yb.rpc_test.CalculatorError.extra_error_data)
4880
14
  return extra_error_data_.GetNoArena();
4881
14
}
4882
0
inline void CalculatorError::set_extra_error_data(const ::std::string& value) {
4883
0
  set_has_extra_error_data();
4884
0
  extra_error_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
4885
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.CalculatorError.extra_error_data)
4886
0
}
4887
#if LANG_CXX11
4888
0
inline void CalculatorError::set_extra_error_data(::std::string&& value) {
4889
0
  set_has_extra_error_data();
4890
0
  extra_error_data_.SetNoArena(
4891
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
4892
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.CalculatorError.extra_error_data)
4893
0
}
4894
#endif
4895
2
inline void CalculatorError::set_extra_error_data(const char* value) {
4896
2
  GOOGLE_DCHECK(value != NULL);
4897
2
  set_has_extra_error_data();
4898
2
  extra_error_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
4899
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.CalculatorError.extra_error_data)
4900
2
}
4901
0
inline void CalculatorError::set_extra_error_data(const char* value, size_t size) {
4902
0
  set_has_extra_error_data();
4903
0
  extra_error_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
4904
0
      ::std::string(reinterpret_cast<const char*>(value), size));
4905
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.CalculatorError.extra_error_data)
4906
0
}
4907
2
inline ::std::string* CalculatorError::mutable_extra_error_data() {
4908
2
  set_has_extra_error_data();
4909
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.CalculatorError.extra_error_data)
4910
2
  return extra_error_data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4911
2
}
4912
0
inline ::std::string* CalculatorError::release_extra_error_data() {
4913
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.CalculatorError.extra_error_data)
4914
0
  clear_has_extra_error_data();
4915
0
  return extra_error_data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4916
0
}
4917
0
inline void CalculatorError::set_allocated_extra_error_data(::std::string* extra_error_data) {
4918
0
  if (extra_error_data != NULL) {
4919
0
    set_has_extra_error_data();
4920
0
  } else {
4921
0
    clear_has_extra_error_data();
4922
0
  }
4923
0
  extra_error_data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extra_error_data);
4924
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.CalculatorError.extra_error_data)
4925
0
}
4926
4927
// -------------------------------------------------------------------
4928
4929
// PanicRequestPB
4930
4931
// -------------------------------------------------------------------
4932
4933
// PanicResponsePB
4934
4935
// -------------------------------------------------------------------
4936
4937
// PingRequestPB
4938
4939
// required uint64 id = 1;
4940
98.9k
inline bool PingRequestPB::has_id() const {
4941
98.9k
  return (_has_bits_[0] & 0x00000001u) != 0;
4942
98.9k
}
4943
99.6k
inline void PingRequestPB::set_has_id() {
4944
99.6k
  _has_bits_[0] |= 0x00000001u;
4945
99.6k
}
4946
0
inline void PingRequestPB::clear_has_id() {
4947
0
  _has_bits_[0] &= ~0x00000001u;
4948
0
}
4949
0
inline void PingRequestPB::clear_id() {
4950
0
  id_ = GOOGLE_ULONGLONG(0);
4951
0
  clear_has_id();
4952
0
}
4953
148k
inline ::google::protobuf::uint64 PingRequestPB::id() const {
4954
  // @@protoc_insertion_point(field_get:yb.rpc_test.PingRequestPB.id)
4955
148k
  return id_;
4956
148k
}
4957
49.9k
inline void PingRequestPB::set_id(::google::protobuf::uint64 value) {
4958
49.9k
  set_has_id();
4959
49.9k
  id_ = value;
4960
  // @@protoc_insertion_point(field_set:yb.rpc_test.PingRequestPB.id)
4961
49.9k
}
4962
4963
// -------------------------------------------------------------------
4964
4965
// PingResponsePB
4966
4967
// required uint64 time = 1;
4968
99.2k
inline bool PingResponsePB::has_time() const {
4969
99.2k
  return (_has_bits_[0] & 0x00000001u) != 0;
4970
99.2k
}
4971
99.5k
inline void PingResponsePB::set_has_time() {
4972
99.5k
  _has_bits_[0] |= 0x00000001u;
4973
99.5k
}
4974
0
inline void PingResponsePB::clear_has_time() {
4975
0
  _has_bits_[0] &= ~0x00000001u;
4976
0
}
4977
0
inline void PingResponsePB::clear_time() {
4978
0
  time_ = GOOGLE_ULONGLONG(0);
4979
0
  clear_has_time();
4980
0
}
4981
198k
inline ::google::protobuf::uint64 PingResponsePB::time() const {
4982
  // @@protoc_insertion_point(field_get:yb.rpc_test.PingResponsePB.time)
4983
198k
  return time_;
4984
198k
}
4985
49.8k
inline void PingResponsePB::set_time(::google::protobuf::uint64 value) {
4986
49.8k
  set_has_time();
4987
49.8k
  time_ = value;
4988
  // @@protoc_insertion_point(field_set:yb.rpc_test.PingResponsePB.time)
4989
49.8k
}
4990
4991
// -------------------------------------------------------------------
4992
4993
// DisconnectRequestPB
4994
4995
// -------------------------------------------------------------------
4996
4997
// DisconnectResponsePB
4998
4999
// -------------------------------------------------------------------
5000
5001
// ForwardRequestPB
5002
5003
// optional string host = 1;
5004
24
inline bool ForwardRequestPB::has_host() const {
5005
24
  return (_has_bits_[0] & 0x00000001u) != 0;
5006
24
}
5007
12
inline void ForwardRequestPB::set_has_host() {
5008
12
  _has_bits_[0] |= 0x00000001u;
5009
12
}
5010
0
inline void ForwardRequestPB::clear_has_host() {
5011
0
  _has_bits_[0] &= ~0x00000001u;
5012
0
}
5013
0
inline void ForwardRequestPB::clear_host() {
5014
0
  host_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5015
0
  clear_has_host();
5016
0
}
5017
48
inline const ::std::string& ForwardRequestPB::host() const {
5018
  // @@protoc_insertion_point(field_get:yb.rpc_test.ForwardRequestPB.host)
5019
48
  return host_.GetNoArena();
5020
48
}
5021
0
inline void ForwardRequestPB::set_host(const ::std::string& value) {
5022
0
  set_has_host();
5023
0
  host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5024
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.ForwardRequestPB.host)
5025
0
}
5026
#if LANG_CXX11
5027
inline void ForwardRequestPB::set_host(::std::string&& value) {
5028
  set_has_host();
5029
  host_.SetNoArena(
5030
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5031
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.ForwardRequestPB.host)
5032
}
5033
#endif
5034
0
inline void ForwardRequestPB::set_host(const char* value) {
5035
0
  GOOGLE_DCHECK(value != NULL);
5036
0
  set_has_host();
5037
0
  host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5038
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.ForwardRequestPB.host)
5039
0
}
5040
0
inline void ForwardRequestPB::set_host(const char* value, size_t size) {
5041
0
  set_has_host();
5042
0
  host_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5043
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5044
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.ForwardRequestPB.host)
5045
0
}
5046
6
inline ::std::string* ForwardRequestPB::mutable_host() {
5047
6
  set_has_host();
5048
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.ForwardRequestPB.host)
5049
6
  return host_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5050
6
}
5051
0
inline ::std::string* ForwardRequestPB::release_host() {
5052
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.ForwardRequestPB.host)
5053
0
  clear_has_host();
5054
0
  return host_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5055
0
}
5056
0
inline void ForwardRequestPB::set_allocated_host(::std::string* host) {
5057
0
  if (host != NULL) {
5058
0
    set_has_host();
5059
0
  } else {
5060
0
    clear_has_host();
5061
0
  }
5062
0
  host_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), host);
5063
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.ForwardRequestPB.host)
5064
0
}
5065
5066
// optional uint32 port = 2;
5067
18
inline bool ForwardRequestPB::has_port() const {
5068
18
  return (_has_bits_[0] & 0x00000002u) != 0;
5069
18
}
5070
12
inline void ForwardRequestPB::set_has_port() {
5071
12
  _has_bits_[0] |= 0x00000002u;
5072
12
}
5073
0
inline void ForwardRequestPB::clear_has_port() {
5074
0
  _has_bits_[0] &= ~0x00000002u;
5075
0
}
5076
0
inline void ForwardRequestPB::clear_port() {
5077
0
  port_ = 0u;
5078
0
  clear_has_port();
5079
0
}
5080
24
inline ::google::protobuf::uint32 ForwardRequestPB::port() const {
5081
  // @@protoc_insertion_point(field_get:yb.rpc_test.ForwardRequestPB.port)
5082
24
  return port_;
5083
24
}
5084
6
inline void ForwardRequestPB::set_port(::google::protobuf::uint32 value) {
5085
6
  set_has_port();
5086
6
  port_ = value;
5087
  // @@protoc_insertion_point(field_set:yb.rpc_test.ForwardRequestPB.port)
5088
6
}
5089
5090
// -------------------------------------------------------------------
5091
5092
// ForwardResponsePB
5093
5094
// optional string name = 1;
5095
20
inline bool ForwardResponsePB::has_name() const {
5096
20
  return (_has_bits_[0] & 0x00000001u) != 0;
5097
20
}
5098
20
inline void ForwardResponsePB::set_has_name() {
5099
20
  _has_bits_[0] |= 0x00000001u;
5100
20
}
5101
0
inline void ForwardResponsePB::clear_has_name() {
5102
0
  _has_bits_[0] &= ~0x00000001u;
5103
0
}
5104
0
inline void ForwardResponsePB::clear_name() {
5105
0
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5106
0
  clear_has_name();
5107
0
}
5108
80
inline const ::std::string& ForwardResponsePB::name() const {
5109
  // @@protoc_insertion_point(field_get:yb.rpc_test.ForwardResponsePB.name)
5110
80
  return name_.GetNoArena();
5111
80
}
5112
10
inline void ForwardResponsePB::set_name(const ::std::string& value) {
5113
10
  set_has_name();
5114
10
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5115
  // @@protoc_insertion_point(field_set:yb.rpc_test.ForwardResponsePB.name)
5116
10
}
5117
#if LANG_CXX11
5118
0
inline void ForwardResponsePB::set_name(::std::string&& value) {
5119
0
  set_has_name();
5120
0
  name_.SetNoArena(
5121
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5122
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.ForwardResponsePB.name)
5123
0
}
5124
#endif
5125
0
inline void ForwardResponsePB::set_name(const char* value) {
5126
0
  GOOGLE_DCHECK(value != NULL);
5127
0
  set_has_name();
5128
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5129
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.ForwardResponsePB.name)
5130
0
}
5131
0
inline void ForwardResponsePB::set_name(const char* value, size_t size) {
5132
0
  set_has_name();
5133
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5134
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5135
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.ForwardResponsePB.name)
5136
0
}
5137
10
inline ::std::string* ForwardResponsePB::mutable_name() {
5138
10
  set_has_name();
5139
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.ForwardResponsePB.name)
5140
10
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5141
10
}
5142
0
inline ::std::string* ForwardResponsePB::release_name() {
5143
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.ForwardResponsePB.name)
5144
0
  clear_has_name();
5145
0
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5146
0
}
5147
0
inline void ForwardResponsePB::set_allocated_name(::std::string* name) {
5148
0
  if (name != NULL) {
5149
0
    set_has_name();
5150
0
  } else {
5151
0
    clear_has_name();
5152
0
  }
5153
0
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
5154
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.ForwardResponsePB.name)
5155
0
}
5156
5157
// -------------------------------------------------------------------
5158
5159
// ConcatRequestPB
5160
5161
// optional string lhs = 1;
5162
2
inline bool ConcatRequestPB::has_lhs() const {
5163
2
  return (_has_bits_[0] & 0x00000001u) != 0;
5164
2
}
5165
2
inline void ConcatRequestPB::set_has_lhs() {
5166
2
  _has_bits_[0] |= 0x00000001u;
5167
2
}
5168
0
inline void ConcatRequestPB::clear_has_lhs() {
5169
0
  _has_bits_[0] &= ~0x00000001u;
5170
0
}
5171
0
inline void ConcatRequestPB::clear_lhs() {
5172
0
  lhs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5173
0
  clear_has_lhs();
5174
0
}
5175
8
inline const ::std::string& ConcatRequestPB::lhs() const {
5176
  // @@protoc_insertion_point(field_get:yb.rpc_test.ConcatRequestPB.lhs)
5177
8
  return lhs_.GetNoArena();
5178
8
}
5179
0
inline void ConcatRequestPB::set_lhs(const ::std::string& value) {
5180
0
  set_has_lhs();
5181
0
  lhs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5182
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.ConcatRequestPB.lhs)
5183
0
}
5184
#if LANG_CXX11
5185
0
inline void ConcatRequestPB::set_lhs(::std::string&& value) {
5186
0
  set_has_lhs();
5187
0
  lhs_.SetNoArena(
5188
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5189
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.ConcatRequestPB.lhs)
5190
0
}
5191
#endif
5192
inline void ConcatRequestPB::set_lhs(const char* value) {
5193
  GOOGLE_DCHECK(value != NULL);
5194
  set_has_lhs();
5195
  lhs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5196
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.ConcatRequestPB.lhs)
5197
}
5198
0
inline void ConcatRequestPB::set_lhs(const char* value, size_t size) {
5199
0
  set_has_lhs();
5200
0
  lhs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5201
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5202
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.ConcatRequestPB.lhs)
5203
0
}
5204
1
inline ::std::string* ConcatRequestPB::mutable_lhs() {
5205
1
  set_has_lhs();
5206
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.ConcatRequestPB.lhs)
5207
1
  return lhs_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5208
1
}
5209
0
inline ::std::string* ConcatRequestPB::release_lhs() {
5210
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.ConcatRequestPB.lhs)
5211
0
  clear_has_lhs();
5212
0
  return lhs_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5213
0
}
5214
0
inline void ConcatRequestPB::set_allocated_lhs(::std::string* lhs) {
5215
0
  if (lhs != NULL) {
5216
0
    set_has_lhs();
5217
0
  } else {
5218
0
    clear_has_lhs();
5219
0
  }
5220
0
  lhs_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), lhs);
5221
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.ConcatRequestPB.lhs)
5222
0
}
5223
5224
// optional string rhs = 2;
5225
2
inline bool ConcatRequestPB::has_rhs() const {
5226
2
  return (_has_bits_[0] & 0x00000002u) != 0;
5227
2
}
5228
2
inline void ConcatRequestPB::set_has_rhs() {
5229
2
  _has_bits_[0] |= 0x00000002u;
5230
2
}
5231
0
inline void ConcatRequestPB::clear_has_rhs() {
5232
0
  _has_bits_[0] &= ~0x00000002u;
5233
0
}
5234
0
inline void ConcatRequestPB::clear_rhs() {
5235
0
  rhs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5236
0
  clear_has_rhs();
5237
0
}
5238
8
inline const ::std::string& ConcatRequestPB::rhs() const {
5239
  // @@protoc_insertion_point(field_get:yb.rpc_test.ConcatRequestPB.rhs)
5240
8
  return rhs_.GetNoArena();
5241
8
}
5242
0
inline void ConcatRequestPB::set_rhs(const ::std::string& value) {
5243
0
  set_has_rhs();
5244
0
  rhs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5245
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.ConcatRequestPB.rhs)
5246
0
}
5247
#if LANG_CXX11
5248
0
inline void ConcatRequestPB::set_rhs(::std::string&& value) {
5249
0
  set_has_rhs();
5250
0
  rhs_.SetNoArena(
5251
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5252
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.ConcatRequestPB.rhs)
5253
0
}
5254
#endif
5255
inline void ConcatRequestPB::set_rhs(const char* value) {
5256
  GOOGLE_DCHECK(value != NULL);
5257
  set_has_rhs();
5258
  rhs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5259
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.ConcatRequestPB.rhs)
5260
}
5261
0
inline void ConcatRequestPB::set_rhs(const char* value, size_t size) {
5262
0
  set_has_rhs();
5263
0
  rhs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5264
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5265
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.ConcatRequestPB.rhs)
5266
0
}
5267
1
inline ::std::string* ConcatRequestPB::mutable_rhs() {
5268
1
  set_has_rhs();
5269
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.ConcatRequestPB.rhs)
5270
1
  return rhs_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5271
1
}
5272
0
inline ::std::string* ConcatRequestPB::release_rhs() {
5273
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.ConcatRequestPB.rhs)
5274
0
  clear_has_rhs();
5275
0
  return rhs_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5276
0
}
5277
0
inline void ConcatRequestPB::set_allocated_rhs(::std::string* rhs) {
5278
0
  if (rhs != NULL) {
5279
0
    set_has_rhs();
5280
0
  } else {
5281
0
    clear_has_rhs();
5282
0
  }
5283
0
  rhs_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rhs);
5284
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.ConcatRequestPB.rhs)
5285
0
}
5286
5287
// -------------------------------------------------------------------
5288
5289
// ConcatResponsePB
5290
5291
// optional string result = 1;
5292
2
inline bool ConcatResponsePB::has_result() const {
5293
2
  return (_has_bits_[0] & 0x00000001u) != 0;
5294
2
}
5295
2
inline void ConcatResponsePB::set_has_result() {
5296
2
  _has_bits_[0] |= 0x00000001u;
5297
2
}
5298
0
inline void ConcatResponsePB::clear_has_result() {
5299
0
  _has_bits_[0] &= ~0x00000001u;
5300
0
}
5301
0
inline void ConcatResponsePB::clear_result() {
5302
0
  result_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5303
0
  clear_has_result();
5304
0
}
5305
8
inline const ::std::string& ConcatResponsePB::result() const {
5306
  // @@protoc_insertion_point(field_get:yb.rpc_test.ConcatResponsePB.result)
5307
8
  return result_.GetNoArena();
5308
8
}
5309
0
inline void ConcatResponsePB::set_result(const ::std::string& value) {
5310
0
  set_has_result();
5311
0
  result_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5312
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.ConcatResponsePB.result)
5313
0
}
5314
#if LANG_CXX11
5315
1
inline void ConcatResponsePB::set_result(::std::string&& value) {
5316
1
  set_has_result();
5317
1
  result_.SetNoArena(
5318
1
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5319
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.ConcatResponsePB.result)
5320
1
}
5321
#endif
5322
0
inline void ConcatResponsePB::set_result(const char* value) {
5323
0
  GOOGLE_DCHECK(value != NULL);
5324
0
  set_has_result();
5325
0
  result_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5326
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.ConcatResponsePB.result)
5327
0
}
5328
0
inline void ConcatResponsePB::set_result(const char* value, size_t size) {
5329
0
  set_has_result();
5330
0
  result_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5331
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5332
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.ConcatResponsePB.result)
5333
0
}
5334
1
inline ::std::string* ConcatResponsePB::mutable_result() {
5335
1
  set_has_result();
5336
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.ConcatResponsePB.result)
5337
1
  return result_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5338
1
}
5339
0
inline ::std::string* ConcatResponsePB::release_result() {
5340
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.ConcatResponsePB.result)
5341
0
  clear_has_result();
5342
0
  return result_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5343
0
}
5344
0
inline void ConcatResponsePB::set_allocated_result(::std::string* result) {
5345
0
  if (result != NULL) {
5346
0
    set_has_result();
5347
0
  } else {
5348
0
    clear_has_result();
5349
0
  }
5350
0
  result_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), result);
5351
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.ConcatResponsePB.result)
5352
0
}
5353
5354
// -------------------------------------------------------------------
5355
5356
// LightweightSubMessagePB
5357
5358
// optional sfixed32 sf32 = 1;
5359
40
inline bool LightweightSubMessagePB::has_sf32() const {
5360
40
  return (_has_bits_[0] & 0x00000004u) != 0;
5361
40
}
5362
69
inline void LightweightSubMessagePB::set_has_sf32() {
5363
69
  _has_bits_[0] |= 0x00000004u;
5364
69
}
5365
0
inline void LightweightSubMessagePB::clear_has_sf32() {
5366
0
  _has_bits_[0] &= ~0x00000004u;
5367
0
}
5368
0
inline void LightweightSubMessagePB::clear_sf32() {
5369
0
  sf32_ = 0;
5370
0
  clear_has_sf32();
5371
0
}
5372
31
inline ::google::protobuf::int32 LightweightSubMessagePB::sf32() const {
5373
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightSubMessagePB.sf32)
5374
31
  return sf32_;
5375
31
}
5376
52
inline void LightweightSubMessagePB::set_sf32(::google::protobuf::int32 value) {
5377
52
  set_has_sf32();
5378
52
  sf32_ = value;
5379
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightSubMessagePB.sf32)
5380
52
}
5381
5382
// repeated sint32 rsi32 = 2;
5383
22
inline int LightweightSubMessagePB::rsi32_size() const {
5384
22
  return rsi32_.size();
5385
22
}
5386
0
inline void LightweightSubMessagePB::clear_rsi32() {
5387
0
  rsi32_.Clear();
5388
0
}
5389
0
inline ::google::protobuf::int32 LightweightSubMessagePB::rsi32(int index) const {
5390
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightSubMessagePB.rsi32)
5391
0
  return rsi32_.Get(index);
5392
0
}
5393
0
inline void LightweightSubMessagePB::set_rsi32(int index, ::google::protobuf::int32 value) {
5394
0
  rsi32_.Set(index, value);
5395
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightSubMessagePB.rsi32)
5396
0
}
5397
0
inline void LightweightSubMessagePB::add_rsi32(::google::protobuf::int32 value) {
5398
0
  rsi32_.Add(value);
5399
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightSubMessagePB.rsi32)
5400
0
}
5401
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
5402
38
LightweightSubMessagePB::rsi32() const {
5403
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightSubMessagePB.rsi32)
5404
38
  return rsi32_;
5405
38
}
5406
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
5407
235
LightweightSubMessagePB::mutable_rsi32() {
5408
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightSubMessagePB.rsi32)
5409
235
  return &rsi32_;
5410
235
}
5411
5412
// optional string str = 3;
5413
40
inline bool LightweightSubMessagePB::has_str() const {
5414
40
  return (_has_bits_[0] & 0x00000001u) != 0;
5415
40
}
5416
83
inline void LightweightSubMessagePB::set_has_str() {
5417
83
  _has_bits_[0] |= 0x00000001u;
5418
83
}
5419
0
inline void LightweightSubMessagePB::clear_has_str() {
5420
0
  _has_bits_[0] &= ~0x00000001u;
5421
0
}
5422
0
inline void LightweightSubMessagePB::clear_str() {
5423
0
  str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5424
0
  clear_has_str();
5425
0
}
5426
109
inline const ::std::string& LightweightSubMessagePB::str() const {
5427
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightSubMessagePB.str)
5428
109
  return str_.GetNoArena();
5429
109
}
5430
0
inline void LightweightSubMessagePB::set_str(const ::std::string& value) {
5431
0
  set_has_str();
5432
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5433
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightSubMessagePB.str)
5434
0
}
5435
#if LANG_CXX11
5436
inline void LightweightSubMessagePB::set_str(::std::string&& value) {
5437
  set_has_str();
5438
  str_.SetNoArena(
5439
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5440
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightSubMessagePB.str)
5441
}
5442
#endif
5443
0
inline void LightweightSubMessagePB::set_str(const char* value) {
5444
0
  GOOGLE_DCHECK(value != NULL);
5445
0
  set_has_str();
5446
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5447
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightSubMessagePB.str)
5448
0
}
5449
41
inline void LightweightSubMessagePB::set_str(const char* value, size_t size) {
5450
41
  set_has_str();
5451
41
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5452
41
      ::std::string(reinterpret_cast<const char*>(value), size));
5453
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightSubMessagePB.str)
5454
41
}
5455
17
inline ::std::string* LightweightSubMessagePB::mutable_str() {
5456
17
  set_has_str();
5457
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightSubMessagePB.str)
5458
17
  return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5459
17
}
5460
0
inline ::std::string* LightweightSubMessagePB::release_str() {
5461
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightSubMessagePB.str)
5462
0
  clear_has_str();
5463
0
  return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5464
0
}
5465
0
inline void LightweightSubMessagePB::set_allocated_str(::std::string* str) {
5466
0
  if (str != NULL) {
5467
0
    set_has_str();
5468
0
  } else {
5469
0
    clear_has_str();
5470
0
  }
5471
0
  str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
5472
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightSubMessagePB.str)
5473
0
}
5474
5475
// repeated bytes rbytes = 4;
5476
55
inline int LightweightSubMessagePB::rbytes_size() const {
5477
55
  return rbytes_.size();
5478
55
}
5479
0
inline void LightweightSubMessagePB::clear_rbytes() {
5480
0
  rbytes_.Clear();
5481
0
}
5482
363
inline const ::std::string& LightweightSubMessagePB::rbytes(int index) const {
5483
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightSubMessagePB.rbytes)
5484
363
  return rbytes_.Get(index);
5485
363
}
5486
0
inline ::std::string* LightweightSubMessagePB::mutable_rbytes(int index) {
5487
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightSubMessagePB.rbytes)
5488
0
  return rbytes_.Mutable(index);
5489
0
}
5490
0
inline void LightweightSubMessagePB::set_rbytes(int index, const ::std::string& value) {
5491
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightSubMessagePB.rbytes)
5492
0
  rbytes_.Mutable(index)->assign(value);
5493
0
}
5494
#if LANG_CXX11
5495
0
inline void LightweightSubMessagePB::set_rbytes(int index, ::std::string&& value) {
5496
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightSubMessagePB.rbytes)
5497
0
  rbytes_.Mutable(index)->assign(std::move(value));
5498
0
}
5499
#endif
5500
0
inline void LightweightSubMessagePB::set_rbytes(int index, const char* value) {
5501
0
  GOOGLE_DCHECK(value != NULL);
5502
0
  rbytes_.Mutable(index)->assign(value);
5503
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightSubMessagePB.rbytes)
5504
0
}
5505
0
inline void LightweightSubMessagePB::set_rbytes(int index, const void* value, size_t size) {
5506
0
  rbytes_.Mutable(index)->assign(
5507
0
    reinterpret_cast<const char*>(value), size);
5508
0
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightSubMessagePB.rbytes)
5509
0
}
5510
187
inline ::std::string* LightweightSubMessagePB::add_rbytes() {
5511
  // @@protoc_insertion_point(field_add_mutable:yb.rpc_test.LightweightSubMessagePB.rbytes)
5512
187
  return rbytes_.Add();
5513
187
}
5514
0
inline void LightweightSubMessagePB::add_rbytes(const ::std::string& value) {
5515
0
  rbytes_.Add()->assign(value);
5516
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightSubMessagePB.rbytes)
5517
0
}
5518
#if LANG_CXX11
5519
0
inline void LightweightSubMessagePB::add_rbytes(::std::string&& value) {
5520
0
  rbytes_.Add(std::move(value));
5521
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightSubMessagePB.rbytes)
5522
0
}
5523
#endif
5524
0
inline void LightweightSubMessagePB::add_rbytes(const char* value) {
5525
0
  GOOGLE_DCHECK(value != NULL);
5526
0
  rbytes_.Add()->assign(value);
5527
0
  // @@protoc_insertion_point(field_add_char:yb.rpc_test.LightweightSubMessagePB.rbytes)
5528
0
}
5529
0
inline void LightweightSubMessagePB::add_rbytes(const void* value, size_t size) {
5530
0
  rbytes_.Add()->assign(reinterpret_cast<const char*>(value), size);
5531
0
  // @@protoc_insertion_point(field_add_pointer:yb.rpc_test.LightweightSubMessagePB.rbytes)
5532
0
}
5533
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
5534
40
LightweightSubMessagePB::rbytes() const {
5535
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightSubMessagePB.rbytes)
5536
40
  return rbytes_;
5537
40
}
5538
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
5539
162
LightweightSubMessagePB::mutable_rbytes() {
5540
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightSubMessagePB.rbytes)
5541
162
  return &rbytes_;
5542
162
}
5543
5544
// optional .yb.rpc_test.LightweightSubMessagePB cycle = 5;
5545
40
inline bool LightweightSubMessagePB::has_cycle() const {
5546
40
  return (_has_bits_[0] & 0x00000002u) != 0;
5547
40
}
5548
25
inline void LightweightSubMessagePB::set_has_cycle() {
5549
25
  _has_bits_[0] |= 0x00000002u;
5550
25
}
5551
0
inline void LightweightSubMessagePB::clear_has_cycle() {
5552
0
  _has_bits_[0] &= ~0x00000002u;
5553
0
}
5554
0
inline void LightweightSubMessagePB::clear_cycle() {
5555
0
  if (cycle_ != NULL) cycle_->Clear();
5556
0
  clear_has_cycle();
5557
0
}
5558
10
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightSubMessagePB::cycle() const {
5559
10
  const ::yb::rpc_test::LightweightSubMessagePB* p = cycle_;
5560
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightSubMessagePB.cycle)
5561
10
  return p != NULL ? *p : *reinterpret_cast<const ::yb::rpc_test::LightweightSubMessagePB*>(
5562
0
      &::yb::rpc_test::_LightweightSubMessagePB_default_instance_);
5563
10
}
5564
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightSubMessagePB::release_cycle() {
5565
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightSubMessagePB.cycle)
5566
0
  clear_has_cycle();
5567
0
  ::yb::rpc_test::LightweightSubMessagePB* temp = cycle_;
5568
0
  cycle_ = NULL;
5569
0
  return temp;
5570
0
}
5571
25
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightSubMessagePB::mutable_cycle() {
5572
25
  set_has_cycle();
5573
25
  if (cycle_ == NULL) {
5574
25
    cycle_ = new ::yb::rpc_test::LightweightSubMessagePB;
5575
25
  }
5576
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightSubMessagePB.cycle)
5577
25
  return cycle_;
5578
25
}
5579
0
inline void LightweightSubMessagePB::set_allocated_cycle(::yb::rpc_test::LightweightSubMessagePB* cycle) {
5580
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5581
0
  if (message_arena == NULL) {
5582
0
    delete cycle_;
5583
0
  }
5584
0
  if (cycle) {
5585
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5586
0
    if (message_arena != submessage_arena) {
5587
0
      cycle = ::google::protobuf::internal::GetOwnedMessage(
5588
0
          message_arena, cycle, submessage_arena);
5589
0
    }
5590
0
    set_has_cycle();
5591
0
  } else {
5592
0
    clear_has_cycle();
5593
0
  }
5594
0
  cycle_ = cycle;
5595
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightSubMessagePB.cycle)
5596
0
}
5597
5598
// -------------------------------------------------------------------
5599
5600
// LightweightPairPB
5601
5602
// optional string s1 = 1;
5603
39
inline bool LightweightPairPB::has_s1() const {
5604
39
  return (_has_bits_[0] & 0x00000001u) != 0;
5605
39
}
5606
52
inline void LightweightPairPB::set_has_s1() {
5607
52
  _has_bits_[0] |= 0x00000001u;
5608
52
}
5609
0
inline void LightweightPairPB::clear_has_s1() {
5610
0
  _has_bits_[0] &= ~0x00000001u;
5611
0
}
5612
0
inline void LightweightPairPB::clear_s1() {
5613
0
  s1_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5614
0
  clear_has_s1();
5615
0
}
5616
130
inline const ::std::string& LightweightPairPB::s1() const {
5617
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightPairPB.s1)
5618
130
  return s1_.GetNoArena();
5619
130
}
5620
0
inline void LightweightPairPB::set_s1(const ::std::string& value) {
5621
0
  set_has_s1();
5622
0
  s1_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5623
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightPairPB.s1)
5624
0
}
5625
#if LANG_CXX11
5626
inline void LightweightPairPB::set_s1(::std::string&& value) {
5627
  set_has_s1();
5628
  s1_.SetNoArena(
5629
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5630
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightPairPB.s1)
5631
}
5632
#endif
5633
0
inline void LightweightPairPB::set_s1(const char* value) {
5634
0
  GOOGLE_DCHECK(value != NULL);
5635
0
  set_has_s1();
5636
0
  s1_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5637
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightPairPB.s1)
5638
0
}
5639
26
inline void LightweightPairPB::set_s1(const char* value, size_t size) {
5640
26
  set_has_s1();
5641
26
  s1_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5642
26
      ::std::string(reinterpret_cast<const char*>(value), size));
5643
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightPairPB.s1)
5644
26
}
5645
13
inline ::std::string* LightweightPairPB::mutable_s1() {
5646
13
  set_has_s1();
5647
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightPairPB.s1)
5648
13
  return s1_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5649
13
}
5650
0
inline ::std::string* LightweightPairPB::release_s1() {
5651
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightPairPB.s1)
5652
0
  clear_has_s1();
5653
0
  return s1_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5654
0
}
5655
0
inline void LightweightPairPB::set_allocated_s1(::std::string* s1) {
5656
0
  if (s1 != NULL) {
5657
0
    set_has_s1();
5658
0
  } else {
5659
0
    clear_has_s1();
5660
0
  }
5661
0
  s1_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), s1);
5662
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightPairPB.s1)
5663
0
}
5664
5665
// optional string s2 = 2;
5666
39
inline bool LightweightPairPB::has_s2() const {
5667
39
  return (_has_bits_[0] & 0x00000002u) != 0;
5668
39
}
5669
52
inline void LightweightPairPB::set_has_s2() {
5670
52
  _has_bits_[0] |= 0x00000002u;
5671
52
}
5672
0
inline void LightweightPairPB::clear_has_s2() {
5673
0
  _has_bits_[0] &= ~0x00000002u;
5674
0
}
5675
0
inline void LightweightPairPB::clear_s2() {
5676
0
  s2_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5677
0
  clear_has_s2();
5678
0
}
5679
130
inline const ::std::string& LightweightPairPB::s2() const {
5680
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightPairPB.s2)
5681
130
  return s2_.GetNoArena();
5682
130
}
5683
0
inline void LightweightPairPB::set_s2(const ::std::string& value) {
5684
0
  set_has_s2();
5685
0
  s2_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5686
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightPairPB.s2)
5687
0
}
5688
#if LANG_CXX11
5689
inline void LightweightPairPB::set_s2(::std::string&& value) {
5690
  set_has_s2();
5691
  s2_.SetNoArena(
5692
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5693
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightPairPB.s2)
5694
}
5695
#endif
5696
0
inline void LightweightPairPB::set_s2(const char* value) {
5697
0
  GOOGLE_DCHECK(value != NULL);
5698
0
  set_has_s2();
5699
0
  s2_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5700
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightPairPB.s2)
5701
0
}
5702
26
inline void LightweightPairPB::set_s2(const char* value, size_t size) {
5703
26
  set_has_s2();
5704
26
  s2_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5705
26
      ::std::string(reinterpret_cast<const char*>(value), size));
5706
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightPairPB.s2)
5707
26
}
5708
13
inline ::std::string* LightweightPairPB::mutable_s2() {
5709
13
  set_has_s2();
5710
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightPairPB.s2)
5711
13
  return s2_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5712
13
}
5713
0
inline ::std::string* LightweightPairPB::release_s2() {
5714
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightPairPB.s2)
5715
0
  clear_has_s2();
5716
0
  return s2_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5717
0
}
5718
0
inline void LightweightPairPB::set_allocated_s2(::std::string* s2) {
5719
0
  if (s2 != NULL) {
5720
0
    set_has_s2();
5721
0
  } else {
5722
0
    clear_has_s2();
5723
0
  }
5724
0
  s2_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), s2);
5725
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightPairPB.s2)
5726
0
}
5727
5728
// -------------------------------------------------------------------
5729
5730
// -------------------------------------------------------------------
5731
5732
// LightweightRequestPB
5733
5734
// optional int32 i32 = 1;
5735
3
inline bool LightweightRequestPB::has_i32() const {
5736
3
  return (_has_bits_[0] & 0x00000040u) != 0;
5737
3
}
5738
1
inline void LightweightRequestPB::set_has_i32() {
5739
1
  _has_bits_[0] |= 0x00000040u;
5740
1
}
5741
0
inline void LightweightRequestPB::clear_has_i32() {
5742
0
  _has_bits_[0] &= ~0x00000040u;
5743
0
}
5744
0
inline void LightweightRequestPB::clear_i32() {
5745
0
  i32_ = 0;
5746
0
  clear_has_i32();
5747
0
}
5748
5
inline ::google::protobuf::int32 LightweightRequestPB::i32() const {
5749
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.i32)
5750
5
  return i32_;
5751
5
}
5752
1
inline void LightweightRequestPB::set_i32(::google::protobuf::int32 value) {
5753
1
  set_has_i32();
5754
1
  i32_ = value;
5755
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.i32)
5756
1
}
5757
5758
// optional int64 i64 = 2;
5759
3
inline bool LightweightRequestPB::has_i64() const {
5760
3
  return (_has_bits_[0] & 0x00000020u) != 0;
5761
3
}
5762
1
inline void LightweightRequestPB::set_has_i64() {
5763
1
  _has_bits_[0] |= 0x00000020u;
5764
1
}
5765
0
inline void LightweightRequestPB::clear_has_i64() {
5766
0
  _has_bits_[0] &= ~0x00000020u;
5767
0
}
5768
0
inline void LightweightRequestPB::clear_i64() {
5769
0
  i64_ = GOOGLE_LONGLONG(0);
5770
0
  clear_has_i64();
5771
0
}
5772
5
inline ::google::protobuf::int64 LightweightRequestPB::i64() const {
5773
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.i64)
5774
5
  return i64_;
5775
5
}
5776
1
inline void LightweightRequestPB::set_i64(::google::protobuf::int64 value) {
5777
1
  set_has_i64();
5778
1
  i64_ = value;
5779
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.i64)
5780
1
}
5781
5782
// optional fixed32 f32 = 3;
5783
3
inline bool LightweightRequestPB::has_f32() const {
5784
3
  return (_has_bits_[0] & 0x00000080u) != 0;
5785
3
}
5786
1
inline void LightweightRequestPB::set_has_f32() {
5787
1
  _has_bits_[0] |= 0x00000080u;
5788
1
}
5789
0
inline void LightweightRequestPB::clear_has_f32() {
5790
0
  _has_bits_[0] &= ~0x00000080u;
5791
0
}
5792
0
inline void LightweightRequestPB::clear_f32() {
5793
0
  f32_ = 0u;
5794
0
  clear_has_f32();
5795
0
}
5796
3
inline ::google::protobuf::uint32 LightweightRequestPB::f32() const {
5797
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.f32)
5798
3
  return f32_;
5799
3
}
5800
1
inline void LightweightRequestPB::set_f32(::google::protobuf::uint32 value) {
5801
1
  set_has_f32();
5802
1
  f32_ = value;
5803
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.f32)
5804
1
}
5805
5806
// optional fixed64 f64 = 4;
5807
3
inline bool LightweightRequestPB::has_f64() const {
5808
3
  return (_has_bits_[0] & 0x00000100u) != 0;
5809
3
}
5810
1
inline void LightweightRequestPB::set_has_f64() {
5811
1
  _has_bits_[0] |= 0x00000100u;
5812
1
}
5813
0
inline void LightweightRequestPB::clear_has_f64() {
5814
0
  _has_bits_[0] &= ~0x00000100u;
5815
0
}
5816
0
inline void LightweightRequestPB::clear_f64() {
5817
0
  f64_ = GOOGLE_ULONGLONG(0);
5818
0
  clear_has_f64();
5819
0
}
5820
3
inline ::google::protobuf::uint64 LightweightRequestPB::f64() const {
5821
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.f64)
5822
3
  return f64_;
5823
3
}
5824
1
inline void LightweightRequestPB::set_f64(::google::protobuf::uint64 value) {
5825
1
  set_has_f64();
5826
1
  f64_ = value;
5827
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.f64)
5828
1
}
5829
5830
// optional uint32 u32 = 5;
5831
3
inline bool LightweightRequestPB::has_u32() const {
5832
3
  return (_has_bits_[0] & 0x00000400u) != 0;
5833
3
}
5834
1
inline void LightweightRequestPB::set_has_u32() {
5835
1
  _has_bits_[0] |= 0x00000400u;
5836
1
}
5837
0
inline void LightweightRequestPB::clear_has_u32() {
5838
0
  _has_bits_[0] &= ~0x00000400u;
5839
0
}
5840
0
inline void LightweightRequestPB::clear_u32() {
5841
0
  u32_ = 0u;
5842
0
  clear_has_u32();
5843
0
}
5844
5
inline ::google::protobuf::uint32 LightweightRequestPB::u32() const {
5845
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.u32)
5846
5
  return u32_;
5847
5
}
5848
1
inline void LightweightRequestPB::set_u32(::google::protobuf::uint32 value) {
5849
1
  set_has_u32();
5850
1
  u32_ = value;
5851
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.u32)
5852
1
}
5853
5854
// optional uint64 u64 = 6;
5855
3
inline bool LightweightRequestPB::has_u64() const {
5856
3
  return (_has_bits_[0] & 0x00000200u) != 0;
5857
3
}
5858
1
inline void LightweightRequestPB::set_has_u64() {
5859
1
  _has_bits_[0] |= 0x00000200u;
5860
1
}
5861
0
inline void LightweightRequestPB::clear_has_u64() {
5862
0
  _has_bits_[0] &= ~0x00000200u;
5863
0
}
5864
0
inline void LightweightRequestPB::clear_u64() {
5865
0
  u64_ = GOOGLE_ULONGLONG(0);
5866
0
  clear_has_u64();
5867
0
}
5868
5
inline ::google::protobuf::uint64 LightweightRequestPB::u64() const {
5869
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.u64)
5870
5
  return u64_;
5871
5
}
5872
1
inline void LightweightRequestPB::set_u64(::google::protobuf::uint64 value) {
5873
1
  set_has_u64();
5874
1
  u64_ = value;
5875
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.u64)
5876
1
}
5877
5878
// optional float r32 = 7;
5879
3
inline bool LightweightRequestPB::has_r32() const {
5880
3
  return (_has_bits_[0] & 0x00000800u) != 0;
5881
3
}
5882
1
inline void LightweightRequestPB::set_has_r32() {
5883
1
  _has_bits_[0] |= 0x00000800u;
5884
1
}
5885
0
inline void LightweightRequestPB::clear_has_r32() {
5886
0
  _has_bits_[0] &= ~0x00000800u;
5887
0
}
5888
0
inline void LightweightRequestPB::clear_r32() {
5889
0
  r32_ = 0;
5890
0
  clear_has_r32();
5891
0
}
5892
3
inline float LightweightRequestPB::r32() const {
5893
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.r32)
5894
3
  return r32_;
5895
3
}
5896
1
inline void LightweightRequestPB::set_r32(float value) {
5897
1
  set_has_r32();
5898
1
  r32_ = value;
5899
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.r32)
5900
1
}
5901
5902
// optional double r64 = 8;
5903
3
inline bool LightweightRequestPB::has_r64() const {
5904
3
  return (_has_bits_[0] & 0x00001000u) != 0;
5905
3
}
5906
1
inline void LightweightRequestPB::set_has_r64() {
5907
1
  _has_bits_[0] |= 0x00001000u;
5908
1
}
5909
0
inline void LightweightRequestPB::clear_has_r64() {
5910
0
  _has_bits_[0] &= ~0x00001000u;
5911
0
}
5912
0
inline void LightweightRequestPB::clear_r64() {
5913
0
  r64_ = 0;
5914
0
  clear_has_r64();
5915
0
}
5916
3
inline double LightweightRequestPB::r64() const {
5917
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.r64)
5918
3
  return r64_;
5919
3
}
5920
1
inline void LightweightRequestPB::set_r64(double value) {
5921
1
  set_has_r64();
5922
1
  r64_ = value;
5923
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.r64)
5924
1
}
5925
5926
// optional string str = 9;
5927
3
inline bool LightweightRequestPB::has_str() const {
5928
3
  return (_has_bits_[0] & 0x00000001u) != 0;
5929
3
}
5930
1
inline void LightweightRequestPB::set_has_str() {
5931
1
  _has_bits_[0] |= 0x00000001u;
5932
1
}
5933
0
inline void LightweightRequestPB::clear_has_str() {
5934
0
  _has_bits_[0] &= ~0x00000001u;
5935
0
}
5936
0
inline void LightweightRequestPB::clear_str() {
5937
0
  str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5938
0
  clear_has_str();
5939
0
}
5940
7
inline const ::std::string& LightweightRequestPB::str() const {
5941
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.str)
5942
7
  return str_.GetNoArena();
5943
7
}
5944
0
inline void LightweightRequestPB::set_str(const ::std::string& value) {
5945
0
  set_has_str();
5946
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5947
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.str)
5948
0
}
5949
#if LANG_CXX11
5950
inline void LightweightRequestPB::set_str(::std::string&& value) {
5951
  set_has_str();
5952
  str_.SetNoArena(
5953
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5954
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightRequestPB.str)
5955
}
5956
#endif
5957
0
inline void LightweightRequestPB::set_str(const char* value) {
5958
0
  GOOGLE_DCHECK(value != NULL);
5959
0
  set_has_str();
5960
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5961
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightRequestPB.str)
5962
0
}
5963
0
inline void LightweightRequestPB::set_str(const char* value, size_t size) {
5964
0
  set_has_str();
5965
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5966
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5967
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightRequestPB.str)
5968
0
}
5969
0
inline ::std::string* LightweightRequestPB::mutable_str() {
5970
0
  set_has_str();
5971
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.str)
5972
0
  return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5973
0
}
5974
0
inline ::std::string* LightweightRequestPB::release_str() {
5975
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightRequestPB.str)
5976
0
  clear_has_str();
5977
0
  return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5978
0
}
5979
0
inline void LightweightRequestPB::set_allocated_str(::std::string* str) {
5980
0
  if (str != NULL) {
5981
0
    set_has_str();
5982
0
  } else {
5983
0
    clear_has_str();
5984
0
  }
5985
0
  str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
5986
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightRequestPB.str)
5987
0
}
5988
5989
// optional bytes bytes = 10;
5990
3
inline bool LightweightRequestPB::has_bytes() const {
5991
3
  return (_has_bits_[0] & 0x00000002u) != 0;
5992
3
}
5993
1
inline void LightweightRequestPB::set_has_bytes() {
5994
1
  _has_bits_[0] |= 0x00000002u;
5995
1
}
5996
0
inline void LightweightRequestPB::clear_has_bytes() {
5997
0
  _has_bits_[0] &= ~0x00000002u;
5998
0
}
5999
0
inline void LightweightRequestPB::clear_bytes() {
6000
0
  bytes_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6001
0
  clear_has_bytes();
6002
0
}
6003
5
inline const ::std::string& LightweightRequestPB::bytes() const {
6004
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.bytes)
6005
5
  return bytes_.GetNoArena();
6006
5
}
6007
0
inline void LightweightRequestPB::set_bytes(const ::std::string& value) {
6008
0
  set_has_bytes();
6009
0
  bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6010
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.bytes)
6011
0
}
6012
#if LANG_CXX11
6013
inline void LightweightRequestPB::set_bytes(::std::string&& value) {
6014
  set_has_bytes();
6015
  bytes_.SetNoArena(
6016
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6017
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightRequestPB.bytes)
6018
}
6019
#endif
6020
0
inline void LightweightRequestPB::set_bytes(const char* value) {
6021
0
  GOOGLE_DCHECK(value != NULL);
6022
0
  set_has_bytes();
6023
0
  bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6024
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightRequestPB.bytes)
6025
0
}
6026
0
inline void LightweightRequestPB::set_bytes(const void* value, size_t size) {
6027
0
  set_has_bytes();
6028
0
  bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6029
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6030
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightRequestPB.bytes)
6031
0
}
6032
0
inline ::std::string* LightweightRequestPB::mutable_bytes() {
6033
0
  set_has_bytes();
6034
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.bytes)
6035
0
  return bytes_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6036
0
}
6037
0
inline ::std::string* LightweightRequestPB::release_bytes() {
6038
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightRequestPB.bytes)
6039
0
  clear_has_bytes();
6040
0
  return bytes_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6041
0
}
6042
0
inline void LightweightRequestPB::set_allocated_bytes(::std::string* bytes) {
6043
0
  if (bytes != NULL) {
6044
0
    set_has_bytes();
6045
0
  } else {
6046
0
    clear_has_bytes();
6047
0
  }
6048
0
  bytes_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bytes);
6049
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightRequestPB.bytes)
6050
0
}
6051
6052
// optional .yb.rpc_test.LightweightEnum en = 11;
6053
3
inline bool LightweightRequestPB::has_en() const {
6054
3
  return (_has_bits_[0] & 0x00002000u) != 0;
6055
3
}
6056
1
inline void LightweightRequestPB::set_has_en() {
6057
1
  _has_bits_[0] |= 0x00002000u;
6058
1
}
6059
0
inline void LightweightRequestPB::clear_has_en() {
6060
0
  _has_bits_[0] &= ~0x00002000u;
6061
0
}
6062
0
inline void LightweightRequestPB::clear_en() {
6063
0
  en_ = 0;
6064
0
  clear_has_en();
6065
0
}
6066
5
inline ::yb::rpc_test::LightweightEnum LightweightRequestPB::en() const {
6067
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.en)
6068
5
  return static_cast< ::yb::rpc_test::LightweightEnum >(en_);
6069
5
}
6070
1
inline void LightweightRequestPB::set_en(::yb::rpc_test::LightweightEnum value) {
6071
1
  assert(::yb::rpc_test::LightweightEnum_IsValid(value));
6072
0
  set_has_en();
6073
1
  en_ = value;
6074
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.en)
6075
1
}
6076
6077
// optional sfixed32 sf32 = 12;
6078
3
inline bool LightweightRequestPB::has_sf32() const {
6079
3
  return (_has_bits_[0] & 0x00004000u) != 0;
6080
3
}
6081
1
inline void LightweightRequestPB::set_has_sf32() {
6082
1
  _has_bits_[0] |= 0x00004000u;
6083
1
}
6084
0
inline void LightweightRequestPB::clear_has_sf32() {
6085
0
  _has_bits_[0] &= ~0x00004000u;
6086
0
}
6087
0
inline void LightweightRequestPB::clear_sf32() {
6088
0
  sf32_ = 0;
6089
0
  clear_has_sf32();
6090
0
}
6091
3
inline ::google::protobuf::int32 LightweightRequestPB::sf32() const {
6092
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.sf32)
6093
3
  return sf32_;
6094
3
}
6095
1
inline void LightweightRequestPB::set_sf32(::google::protobuf::int32 value) {
6096
1
  set_has_sf32();
6097
1
  sf32_ = value;
6098
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.sf32)
6099
1
}
6100
6101
// optional sfixed64 sf64 = 13;
6102
3
inline bool LightweightRequestPB::has_sf64() const {
6103
3
  return (_has_bits_[0] & 0x00008000u) != 0;
6104
3
}
6105
1
inline void LightweightRequestPB::set_has_sf64() {
6106
1
  _has_bits_[0] |= 0x00008000u;
6107
1
}
6108
0
inline void LightweightRequestPB::clear_has_sf64() {
6109
0
  _has_bits_[0] &= ~0x00008000u;
6110
0
}
6111
0
inline void LightweightRequestPB::clear_sf64() {
6112
0
  sf64_ = GOOGLE_LONGLONG(0);
6113
0
  clear_has_sf64();
6114
0
}
6115
3
inline ::google::protobuf::int64 LightweightRequestPB::sf64() const {
6116
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.sf64)
6117
3
  return sf64_;
6118
3
}
6119
1
inline void LightweightRequestPB::set_sf64(::google::protobuf::int64 value) {
6120
1
  set_has_sf64();
6121
1
  sf64_ = value;
6122
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.sf64)
6123
1
}
6124
6125
// optional sint32 si32 = 14;
6126
3
inline bool LightweightRequestPB::has_si32() const {
6127
3
  return (_has_bits_[0] & 0x00020000u) != 0;
6128
3
}
6129
1
inline void LightweightRequestPB::set_has_si32() {
6130
1
  _has_bits_[0] |= 0x00020000u;
6131
1
}
6132
0
inline void LightweightRequestPB::clear_has_si32() {
6133
0
  _has_bits_[0] &= ~0x00020000u;
6134
0
}
6135
0
inline void LightweightRequestPB::clear_si32() {
6136
0
  si32_ = 0;
6137
0
  clear_has_si32();
6138
0
}
6139
5
inline ::google::protobuf::int32 LightweightRequestPB::si32() const {
6140
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.si32)
6141
5
  return si32_;
6142
5
}
6143
1
inline void LightweightRequestPB::set_si32(::google::protobuf::int32 value) {
6144
1
  set_has_si32();
6145
1
  si32_ = value;
6146
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.si32)
6147
1
}
6148
6149
// optional sint64 si64 = 15;
6150
3
inline bool LightweightRequestPB::has_si64() const {
6151
3
  return (_has_bits_[0] & 0x00010000u) != 0;
6152
3
}
6153
1
inline void LightweightRequestPB::set_has_si64() {
6154
1
  _has_bits_[0] |= 0x00010000u;
6155
1
}
6156
0
inline void LightweightRequestPB::clear_has_si64() {
6157
0
  _has_bits_[0] &= ~0x00010000u;
6158
0
}
6159
0
inline void LightweightRequestPB::clear_si64() {
6160
0
  si64_ = GOOGLE_LONGLONG(0);
6161
0
  clear_has_si64();
6162
0
}
6163
5
inline ::google::protobuf::int64 LightweightRequestPB::si64() const {
6164
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.si64)
6165
5
  return si64_;
6166
5
}
6167
1
inline void LightweightRequestPB::set_si64(::google::protobuf::int64 value) {
6168
1
  set_has_si64();
6169
1
  si64_ = value;
6170
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.si64)
6171
1
}
6172
6173
// repeated uint32 ru32 = 16;
6174
2
inline int LightweightRequestPB::ru32_size() const {
6175
2
  return ru32_.size();
6176
2
}
6177
0
inline void LightweightRequestPB::clear_ru32() {
6178
0
  ru32_.Clear();
6179
0
}
6180
0
inline ::google::protobuf::uint32 LightweightRequestPB::ru32(int index) const {
6181
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.ru32)
6182
0
  return ru32_.Get(index);
6183
0
}
6184
0
inline void LightweightRequestPB::set_ru32(int index, ::google::protobuf::uint32 value) {
6185
0
  ru32_.Set(index, value);
6186
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.ru32)
6187
0
}
6188
0
inline void LightweightRequestPB::add_ru32(::google::protobuf::uint32 value) {
6189
0
  ru32_.Add(value);
6190
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.ru32)
6191
0
}
6192
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6193
3
LightweightRequestPB::ru32() const {
6194
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.ru32)
6195
3
  return ru32_;
6196
3
}
6197
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6198
10
LightweightRequestPB::mutable_ru32() {
6199
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.ru32)
6200
10
  return &ru32_;
6201
10
}
6202
6203
// repeated fixed32 rf32 = 17;
6204
4
inline int LightweightRequestPB::rf32_size() const {
6205
4
  return rf32_.size();
6206
4
}
6207
0
inline void LightweightRequestPB::clear_rf32() {
6208
0
  rf32_.Clear();
6209
0
}
6210
0
inline ::google::protobuf::uint32 LightweightRequestPB::rf32(int index) const {
6211
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.rf32)
6212
0
  return rf32_.Get(index);
6213
0
}
6214
0
inline void LightweightRequestPB::set_rf32(int index, ::google::protobuf::uint32 value) {
6215
0
  rf32_.Set(index, value);
6216
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.rf32)
6217
0
}
6218
0
inline void LightweightRequestPB::add_rf32(::google::protobuf::uint32 value) {
6219
0
  rf32_.Add(value);
6220
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.rf32)
6221
0
}
6222
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6223
3
LightweightRequestPB::rf32() const {
6224
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.rf32)
6225
3
  return rf32_;
6226
3
}
6227
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6228
20
LightweightRequestPB::mutable_rf32() {
6229
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.rf32)
6230
20
  return &rf32_;
6231
20
}
6232
6233
// repeated string rstr = 18;
6234
5
inline int LightweightRequestPB::rstr_size() const {
6235
5
  return rstr_.size();
6236
5
}
6237
0
inline void LightweightRequestPB::clear_rstr() {
6238
0
  rstr_.Clear();
6239
0
}
6240
35
inline const ::std::string& LightweightRequestPB::rstr(int index) const {
6241
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.rstr)
6242
35
  return rstr_.Get(index);
6243
35
}
6244
0
inline ::std::string* LightweightRequestPB::mutable_rstr(int index) {
6245
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.rstr)
6246
0
  return rstr_.Mutable(index);
6247
0
}
6248
0
inline void LightweightRequestPB::set_rstr(int index, const ::std::string& value) {
6249
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.rstr)
6250
0
  rstr_.Mutable(index)->assign(value);
6251
0
}
6252
#if LANG_CXX11
6253
0
inline void LightweightRequestPB::set_rstr(int index, ::std::string&& value) {
6254
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.rstr)
6255
0
  rstr_.Mutable(index)->assign(std::move(value));
6256
0
}
6257
#endif
6258
0
inline void LightweightRequestPB::set_rstr(int index, const char* value) {
6259
0
  GOOGLE_DCHECK(value != NULL);
6260
0
  rstr_.Mutable(index)->assign(value);
6261
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightRequestPB.rstr)
6262
0
}
6263
0
inline void LightweightRequestPB::set_rstr(int index, const char* value, size_t size) {
6264
0
  rstr_.Mutable(index)->assign(
6265
0
    reinterpret_cast<const char*>(value), size);
6266
0
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightRequestPB.rstr)
6267
0
}
6268
0
inline ::std::string* LightweightRequestPB::add_rstr() {
6269
  // @@protoc_insertion_point(field_add_mutable:yb.rpc_test.LightweightRequestPB.rstr)
6270
0
  return rstr_.Add();
6271
0
}
6272
0
inline void LightweightRequestPB::add_rstr(const ::std::string& value) {
6273
0
  rstr_.Add()->assign(value);
6274
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.rstr)
6275
0
}
6276
#if LANG_CXX11
6277
0
inline void LightweightRequestPB::add_rstr(::std::string&& value) {
6278
0
  rstr_.Add(std::move(value));
6279
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.rstr)
6280
0
}
6281
#endif
6282
0
inline void LightweightRequestPB::add_rstr(const char* value) {
6283
0
  GOOGLE_DCHECK(value != NULL);
6284
0
  rstr_.Add()->assign(value);
6285
0
  // @@protoc_insertion_point(field_add_char:yb.rpc_test.LightweightRequestPB.rstr)
6286
0
}
6287
0
inline void LightweightRequestPB::add_rstr(const char* value, size_t size) {
6288
0
  rstr_.Add()->assign(reinterpret_cast<const char*>(value), size);
6289
0
  // @@protoc_insertion_point(field_add_pointer:yb.rpc_test.LightweightRequestPB.rstr)
6290
0
}
6291
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
6292
3
LightweightRequestPB::rstr() const {
6293
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.rstr)
6294
3
  return rstr_;
6295
3
}
6296
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
6297
7
LightweightRequestPB::mutable_rstr() {
6298
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.rstr)
6299
7
  return &rstr_;
6300
7
}
6301
6302
// optional .yb.rpc_test.LightweightSubMessagePB message = 19;
6303
3
inline bool LightweightRequestPB::has_message() const {
6304
3
  return (_has_bits_[0] & 0x00000004u) != 0;
6305
3
}
6306
1
inline void LightweightRequestPB::set_has_message() {
6307
1
  _has_bits_[0] |= 0x00000004u;
6308
1
}
6309
0
inline void LightweightRequestPB::clear_has_message() {
6310
0
  _has_bits_[0] &= ~0x00000004u;
6311
0
}
6312
0
inline void LightweightRequestPB::clear_message() {
6313
0
  if (message_ != NULL) message_->Clear();
6314
0
  clear_has_message();
6315
0
}
6316
6
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightRequestPB::message() const {
6317
6
  const ::yb::rpc_test::LightweightSubMessagePB* p = message_;
6318
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.message)
6319
6
  return p != NULL ? *p : *reinterpret_cast<const ::yb::rpc_test::LightweightSubMessagePB*>(
6320
0
      &::yb::rpc_test::_LightweightSubMessagePB_default_instance_);
6321
6
}
6322
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightRequestPB::release_message() {
6323
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightRequestPB.message)
6324
0
  clear_has_message();
6325
0
  ::yb::rpc_test::LightweightSubMessagePB* temp = message_;
6326
0
  message_ = NULL;
6327
0
  return temp;
6328
0
}
6329
1
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightRequestPB::mutable_message() {
6330
1
  set_has_message();
6331
1
  if (message_ == NULL) {
6332
1
    message_ = new ::yb::rpc_test::LightweightSubMessagePB;
6333
1
  }
6334
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.message)
6335
1
  return message_;
6336
1
}
6337
0
inline void LightweightRequestPB::set_allocated_message(::yb::rpc_test::LightweightSubMessagePB* message) {
6338
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6339
0
  if (message_arena == NULL) {
6340
0
    delete message_;
6341
0
  }
6342
0
  if (message) {
6343
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6344
0
    if (message_arena != submessage_arena) {
6345
0
      message = ::google::protobuf::internal::GetOwnedMessage(
6346
0
          message_arena, message, submessage_arena);
6347
0
    }
6348
0
    set_has_message();
6349
0
  } else {
6350
0
    clear_has_message();
6351
0
  }
6352
0
  message_ = message;
6353
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightRequestPB.message)
6354
0
}
6355
6356
// repeated .yb.rpc_test.LightweightSubMessagePB repeated_messages = 20;
6357
3
inline int LightweightRequestPB::repeated_messages_size() const {
6358
3
  return repeated_messages_.size();
6359
3
}
6360
0
inline void LightweightRequestPB::clear_repeated_messages() {
6361
0
  repeated_messages_.Clear();
6362
0
}
6363
15
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightRequestPB::repeated_messages(int index) const {
6364
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.repeated_messages)
6365
15
  return repeated_messages_.Get(index);
6366
15
}
6367
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightRequestPB::mutable_repeated_messages(int index) {
6368
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.repeated_messages)
6369
0
  return repeated_messages_.Mutable(index);
6370
0
}
6371
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightRequestPB::add_repeated_messages() {
6372
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.repeated_messages)
6373
0
  return repeated_messages_.Add();
6374
0
}
6375
inline ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >*
6376
5
LightweightRequestPB::mutable_repeated_messages() {
6377
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.repeated_messages)
6378
5
  return &repeated_messages_;
6379
5
}
6380
inline const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >&
6381
6
LightweightRequestPB::repeated_messages() const {
6382
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.repeated_messages)
6383
6
  return repeated_messages_;
6384
6
}
6385
6386
// repeated uint64 packed_u64 = 21 [packed = true];
6387
1
inline int LightweightRequestPB::packed_u64_size() const {
6388
1
  return packed_u64_.size();
6389
1
}
6390
0
inline void LightweightRequestPB::clear_packed_u64() {
6391
0
  packed_u64_.Clear();
6392
0
}
6393
0
inline ::google::protobuf::uint64 LightweightRequestPB::packed_u64(int index) const {
6394
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.packed_u64)
6395
0
  return packed_u64_.Get(index);
6396
0
}
6397
0
inline void LightweightRequestPB::set_packed_u64(int index, ::google::protobuf::uint64 value) {
6398
0
  packed_u64_.Set(index, value);
6399
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.packed_u64)
6400
0
}
6401
0
inline void LightweightRequestPB::add_packed_u64(::google::protobuf::uint64 value) {
6402
0
  packed_u64_.Add(value);
6403
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.packed_u64)
6404
0
}
6405
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
6406
4
LightweightRequestPB::packed_u64() const {
6407
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.packed_u64)
6408
4
  return packed_u64_;
6409
4
}
6410
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
6411
127
LightweightRequestPB::mutable_packed_u64() {
6412
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.packed_u64)
6413
127
  return &packed_u64_;
6414
127
}
6415
6416
// repeated fixed32 packed_f32 = 22 [packed = true];
6417
3
inline int LightweightRequestPB::packed_f32_size() const {
6418
3
  return packed_f32_.size();
6419
3
}
6420
0
inline void LightweightRequestPB::clear_packed_f32() {
6421
0
  packed_f32_.Clear();
6422
0
}
6423
0
inline ::google::protobuf::uint32 LightweightRequestPB::packed_f32(int index) const {
6424
0
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.packed_f32)
6425
0
  return packed_f32_.Get(index);
6426
0
}
6427
0
inline void LightweightRequestPB::set_packed_f32(int index, ::google::protobuf::uint32 value) {
6428
0
  packed_f32_.Set(index, value);
6429
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightRequestPB.packed_f32)
6430
0
}
6431
0
inline void LightweightRequestPB::add_packed_f32(::google::protobuf::uint32 value) {
6432
0
  packed_f32_.Add(value);
6433
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.packed_f32)
6434
0
}
6435
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6436
4
LightweightRequestPB::packed_f32() const {
6437
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.packed_f32)
6438
4
  return packed_f32_;
6439
4
}
6440
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6441
37
LightweightRequestPB::mutable_packed_f32() {
6442
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.packed_f32)
6443
37
  return &packed_f32_;
6444
37
}
6445
6446
// repeated .yb.rpc_test.LightweightPairPB pairs = 23;
6447
3
inline int LightweightRequestPB::pairs_size() const {
6448
3
  return pairs_.size();
6449
3
}
6450
0
inline void LightweightRequestPB::clear_pairs() {
6451
0
  pairs_.Clear();
6452
0
}
6453
39
inline const ::yb::rpc_test::LightweightPairPB& LightweightRequestPB::pairs(int index) const {
6454
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.pairs)
6455
39
  return pairs_.Get(index);
6456
39
}
6457
0
inline ::yb::rpc_test::LightweightPairPB* LightweightRequestPB::mutable_pairs(int index) {
6458
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.pairs)
6459
0
  return pairs_.Mutable(index);
6460
0
}
6461
0
inline ::yb::rpc_test::LightweightPairPB* LightweightRequestPB::add_pairs() {
6462
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightRequestPB.pairs)
6463
0
  return pairs_.Add();
6464
0
}
6465
inline ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >*
6466
13
LightweightRequestPB::mutable_pairs() {
6467
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightRequestPB.pairs)
6468
13
  return &pairs_;
6469
13
}
6470
inline const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >&
6471
43
LightweightRequestPB::pairs() const {
6472
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightRequestPB.pairs)
6473
43
  return pairs_;
6474
43
}
6475
6476
// optional .yb.rpc_test.LightweightSubMessagePB ptr_message = 24 [(.yb.rpc.lightweight_field) = {
6477
3
inline bool LightweightRequestPB::has_ptr_message() const {
6478
3
  return (_has_bits_[0] & 0x00000008u) != 0;
6479
3
}
6480
1
inline void LightweightRequestPB::set_has_ptr_message() {
6481
1
  _has_bits_[0] |= 0x00000008u;
6482
1
}
6483
0
inline void LightweightRequestPB::clear_has_ptr_message() {
6484
0
  _has_bits_[0] &= ~0x00000008u;
6485
0
}
6486
0
inline void LightweightRequestPB::clear_ptr_message() {
6487
0
  if (ptr_message_ != NULL) ptr_message_->Clear();
6488
0
  clear_has_ptr_message();
6489
0
}
6490
3
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightRequestPB::ptr_message() const {
6491
3
  const ::yb::rpc_test::LightweightSubMessagePB* p = ptr_message_;
6492
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.ptr_message)
6493
3
  return p != NULL ? *p : *reinterpret_cast<const ::yb::rpc_test::LightweightSubMessagePB*>(
6494
0
      &::yb::rpc_test::_LightweightSubMessagePB_default_instance_);
6495
3
}
6496
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightRequestPB::release_ptr_message() {
6497
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightRequestPB.ptr_message)
6498
0
  clear_has_ptr_message();
6499
0
  ::yb::rpc_test::LightweightSubMessagePB* temp = ptr_message_;
6500
0
  ptr_message_ = NULL;
6501
0
  return temp;
6502
0
}
6503
1
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightRequestPB::mutable_ptr_message() {
6504
1
  set_has_ptr_message();
6505
1
  if (ptr_message_ == NULL) {
6506
1
    ptr_message_ = new ::yb::rpc_test::LightweightSubMessagePB;
6507
1
  }
6508
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.ptr_message)
6509
1
  return ptr_message_;
6510
1
}
6511
0
inline void LightweightRequestPB::set_allocated_ptr_message(::yb::rpc_test::LightweightSubMessagePB* ptr_message) {
6512
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6513
0
  if (message_arena == NULL) {
6514
0
    delete ptr_message_;
6515
0
  }
6516
0
  if (ptr_message) {
6517
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6518
0
    if (message_arena != submessage_arena) {
6519
0
      ptr_message = ::google::protobuf::internal::GetOwnedMessage(
6520
0
          message_arena, ptr_message, submessage_arena);
6521
0
    }
6522
0
    set_has_ptr_message();
6523
0
  } else {
6524
0
    clear_has_ptr_message();
6525
0
  }
6526
0
  ptr_message_ = ptr_message;
6527
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightRequestPB.ptr_message)
6528
0
}
6529
6530
// map<string, int64> map = 25;
6531
2
inline int LightweightRequestPB::map_size() const {
6532
2
  return map_.size();
6533
2
}
6534
0
inline void LightweightRequestPB::clear_map() {
6535
0
  map_.Clear();
6536
0
}
6537
inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >&
6538
53
LightweightRequestPB::map() const {
6539
  // @@protoc_insertion_point(field_map:yb.rpc_test.LightweightRequestPB.map)
6540
53
  return map_.GetMap();
6541
53
}
6542
inline ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >*
6543
12
LightweightRequestPB::mutable_map() {
6544
  // @@protoc_insertion_point(field_mutable_map:yb.rpc_test.LightweightRequestPB.map)
6545
12
  return map_.MutableMap();
6546
12
}
6547
6548
// optional .google.protobuf.Any extra_data = 26;
6549
3
inline bool LightweightRequestPB::has_extra_data() const {
6550
3
  return (_has_bits_[0] & 0x00000010u) != 0;
6551
3
}
6552
0
inline void LightweightRequestPB::set_has_extra_data() {
6553
0
  _has_bits_[0] |= 0x00000010u;
6554
0
}
6555
0
inline void LightweightRequestPB::clear_has_extra_data() {
6556
0
  _has_bits_[0] &= ~0x00000010u;
6557
0
}
6558
0
inline const ::google::protobuf::Any& LightweightRequestPB::extra_data() const {
6559
0
  const ::google::protobuf::Any* p = extra_data_;
6560
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightRequestPB.extra_data)
6561
0
  return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
6562
0
      &::google::protobuf::_Any_default_instance_);
6563
0
}
6564
0
inline ::google::protobuf::Any* LightweightRequestPB::release_extra_data() {
6565
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightRequestPB.extra_data)
6566
0
  clear_has_extra_data();
6567
0
  ::google::protobuf::Any* temp = extra_data_;
6568
0
  extra_data_ = NULL;
6569
0
  return temp;
6570
0
}
6571
0
inline ::google::protobuf::Any* LightweightRequestPB::mutable_extra_data() {
6572
0
  set_has_extra_data();
6573
0
  if (extra_data_ == NULL) {
6574
0
    extra_data_ = new ::google::protobuf::Any;
6575
0
  }
6576
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightRequestPB.extra_data)
6577
0
  return extra_data_;
6578
0
}
6579
0
inline void LightweightRequestPB::set_allocated_extra_data(::google::protobuf::Any* extra_data) {
6580
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6581
0
  if (message_arena == NULL) {
6582
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(extra_data_);
6583
0
  }
6584
0
  if (extra_data) {
6585
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6586
0
    if (message_arena != submessage_arena) {
6587
0
      extra_data = ::google::protobuf::internal::GetOwnedMessage(
6588
0
          message_arena, extra_data, submessage_arena);
6589
0
    }
6590
0
    set_has_extra_data();
6591
0
  } else {
6592
0
    clear_has_extra_data();
6593
0
  }
6594
0
  extra_data_ = extra_data;
6595
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightRequestPB.extra_data)
6596
0
}
6597
6598
// -------------------------------------------------------------------
6599
6600
// -------------------------------------------------------------------
6601
6602
// LightweightResponsePB
6603
6604
// optional int32 i32 = 1;
6605
0
inline bool LightweightResponsePB::has_i32() const {
6606
0
  return (_has_bits_[0] & 0x00000040u) != 0;
6607
0
}
6608
3
inline void LightweightResponsePB::set_has_i32() {
6609
3
  _has_bits_[0] |= 0x00000040u;
6610
3
}
6611
0
inline void LightweightResponsePB::clear_has_i32() {
6612
0
  _has_bits_[0] &= ~0x00000040u;
6613
0
}
6614
0
inline void LightweightResponsePB::clear_i32() {
6615
0
  i32_ = 0;
6616
0
  clear_has_i32();
6617
0
}
6618
1
inline ::google::protobuf::int32 LightweightResponsePB::i32() const {
6619
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.i32)
6620
1
  return i32_;
6621
1
}
6622
2
inline void LightweightResponsePB::set_i32(::google::protobuf::int32 value) {
6623
2
  set_has_i32();
6624
2
  i32_ = value;
6625
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.i32)
6626
2
}
6627
6628
// optional int64 i64 = 2;
6629
0
inline bool LightweightResponsePB::has_i64() const {
6630
0
  return (_has_bits_[0] & 0x00000020u) != 0;
6631
0
}
6632
3
inline void LightweightResponsePB::set_has_i64() {
6633
3
  _has_bits_[0] |= 0x00000020u;
6634
3
}
6635
0
inline void LightweightResponsePB::clear_has_i64() {
6636
0
  _has_bits_[0] &= ~0x00000020u;
6637
0
}
6638
0
inline void LightweightResponsePB::clear_i64() {
6639
0
  i64_ = GOOGLE_LONGLONG(0);
6640
0
  clear_has_i64();
6641
0
}
6642
1
inline ::google::protobuf::int64 LightweightResponsePB::i64() const {
6643
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.i64)
6644
1
  return i64_;
6645
1
}
6646
2
inline void LightweightResponsePB::set_i64(::google::protobuf::int64 value) {
6647
2
  set_has_i64();
6648
2
  i64_ = value;
6649
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.i64)
6650
2
}
6651
6652
// optional fixed32 f32 = 3;
6653
0
inline bool LightweightResponsePB::has_f32() const {
6654
0
  return (_has_bits_[0] & 0x00000080u) != 0;
6655
0
}
6656
3
inline void LightweightResponsePB::set_has_f32() {
6657
3
  _has_bits_[0] |= 0x00000080u;
6658
3
}
6659
0
inline void LightweightResponsePB::clear_has_f32() {
6660
0
  _has_bits_[0] &= ~0x00000080u;
6661
0
}
6662
0
inline void LightweightResponsePB::clear_f32() {
6663
0
  f32_ = 0u;
6664
0
  clear_has_f32();
6665
0
}
6666
1
inline ::google::protobuf::uint32 LightweightResponsePB::f32() const {
6667
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.f32)
6668
1
  return f32_;
6669
1
}
6670
2
inline void LightweightResponsePB::set_f32(::google::protobuf::uint32 value) {
6671
2
  set_has_f32();
6672
2
  f32_ = value;
6673
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.f32)
6674
2
}
6675
6676
// optional fixed64 f64 = 4;
6677
0
inline bool LightweightResponsePB::has_f64() const {
6678
0
  return (_has_bits_[0] & 0x00000100u) != 0;
6679
0
}
6680
3
inline void LightweightResponsePB::set_has_f64() {
6681
3
  _has_bits_[0] |= 0x00000100u;
6682
3
}
6683
0
inline void LightweightResponsePB::clear_has_f64() {
6684
0
  _has_bits_[0] &= ~0x00000100u;
6685
0
}
6686
0
inline void LightweightResponsePB::clear_f64() {
6687
0
  f64_ = GOOGLE_ULONGLONG(0);
6688
0
  clear_has_f64();
6689
0
}
6690
1
inline ::google::protobuf::uint64 LightweightResponsePB::f64() const {
6691
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.f64)
6692
1
  return f64_;
6693
1
}
6694
2
inline void LightweightResponsePB::set_f64(::google::protobuf::uint64 value) {
6695
2
  set_has_f64();
6696
2
  f64_ = value;
6697
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.f64)
6698
2
}
6699
6700
// optional uint32 u32 = 5;
6701
0
inline bool LightweightResponsePB::has_u32() const {
6702
0
  return (_has_bits_[0] & 0x00000400u) != 0;
6703
0
}
6704
3
inline void LightweightResponsePB::set_has_u32() {
6705
3
  _has_bits_[0] |= 0x00000400u;
6706
3
}
6707
0
inline void LightweightResponsePB::clear_has_u32() {
6708
0
  _has_bits_[0] &= ~0x00000400u;
6709
0
}
6710
0
inline void LightweightResponsePB::clear_u32() {
6711
0
  u32_ = 0u;
6712
0
  clear_has_u32();
6713
0
}
6714
1
inline ::google::protobuf::uint32 LightweightResponsePB::u32() const {
6715
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.u32)
6716
1
  return u32_;
6717
1
}
6718
2
inline void LightweightResponsePB::set_u32(::google::protobuf::uint32 value) {
6719
2
  set_has_u32();
6720
2
  u32_ = value;
6721
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.u32)
6722
2
}
6723
6724
// optional uint64 u64 = 6;
6725
0
inline bool LightweightResponsePB::has_u64() const {
6726
0
  return (_has_bits_[0] & 0x00000200u) != 0;
6727
0
}
6728
3
inline void LightweightResponsePB::set_has_u64() {
6729
3
  _has_bits_[0] |= 0x00000200u;
6730
3
}
6731
0
inline void LightweightResponsePB::clear_has_u64() {
6732
0
  _has_bits_[0] &= ~0x00000200u;
6733
0
}
6734
0
inline void LightweightResponsePB::clear_u64() {
6735
0
  u64_ = GOOGLE_ULONGLONG(0);
6736
0
  clear_has_u64();
6737
0
}
6738
1
inline ::google::protobuf::uint64 LightweightResponsePB::u64() const {
6739
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.u64)
6740
1
  return u64_;
6741
1
}
6742
2
inline void LightweightResponsePB::set_u64(::google::protobuf::uint64 value) {
6743
2
  set_has_u64();
6744
2
  u64_ = value;
6745
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.u64)
6746
2
}
6747
6748
// optional float r32 = 7;
6749
0
inline bool LightweightResponsePB::has_r32() const {
6750
0
  return (_has_bits_[0] & 0x00000800u) != 0;
6751
0
}
6752
3
inline void LightweightResponsePB::set_has_r32() {
6753
3
  _has_bits_[0] |= 0x00000800u;
6754
3
}
6755
0
inline void LightweightResponsePB::clear_has_r32() {
6756
0
  _has_bits_[0] &= ~0x00000800u;
6757
0
}
6758
0
inline void LightweightResponsePB::clear_r32() {
6759
0
  r32_ = 0;
6760
0
  clear_has_r32();
6761
0
}
6762
1
inline float LightweightResponsePB::r32() const {
6763
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.r32)
6764
1
  return r32_;
6765
1
}
6766
2
inline void LightweightResponsePB::set_r32(float value) {
6767
2
  set_has_r32();
6768
2
  r32_ = value;
6769
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.r32)
6770
2
}
6771
6772
// optional double r64 = 8;
6773
0
inline bool LightweightResponsePB::has_r64() const {
6774
0
  return (_has_bits_[0] & 0x00001000u) != 0;
6775
0
}
6776
3
inline void LightweightResponsePB::set_has_r64() {
6777
3
  _has_bits_[0] |= 0x00001000u;
6778
3
}
6779
0
inline void LightweightResponsePB::clear_has_r64() {
6780
0
  _has_bits_[0] &= ~0x00001000u;
6781
0
}
6782
0
inline void LightweightResponsePB::clear_r64() {
6783
0
  r64_ = 0;
6784
0
  clear_has_r64();
6785
0
}
6786
1
inline double LightweightResponsePB::r64() const {
6787
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.r64)
6788
1
  return r64_;
6789
1
}
6790
2
inline void LightweightResponsePB::set_r64(double value) {
6791
2
  set_has_r64();
6792
2
  r64_ = value;
6793
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.r64)
6794
2
}
6795
6796
// optional string str = 9;
6797
0
inline bool LightweightResponsePB::has_str() const {
6798
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6799
0
}
6800
3
inline void LightweightResponsePB::set_has_str() {
6801
3
  _has_bits_[0] |= 0x00000001u;
6802
3
}
6803
0
inline void LightweightResponsePB::clear_has_str() {
6804
0
  _has_bits_[0] &= ~0x00000001u;
6805
0
}
6806
0
inline void LightweightResponsePB::clear_str() {
6807
0
  str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6808
0
  clear_has_str();
6809
0
}
6810
3
inline const ::std::string& LightweightResponsePB::str() const {
6811
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.str)
6812
3
  return str_.GetNoArena();
6813
3
}
6814
0
inline void LightweightResponsePB::set_str(const ::std::string& value) {
6815
0
  set_has_str();
6816
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6817
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.str)
6818
0
}
6819
#if LANG_CXX11
6820
0
inline void LightweightResponsePB::set_str(::std::string&& value) {
6821
0
  set_has_str();
6822
0
  str_.SetNoArena(
6823
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6824
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightResponsePB.str)
6825
0
}
6826
#endif
6827
0
inline void LightweightResponsePB::set_str(const char* value) {
6828
0
  GOOGLE_DCHECK(value != NULL);
6829
0
  set_has_str();
6830
0
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6831
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightResponsePB.str)
6832
0
}
6833
2
inline void LightweightResponsePB::set_str(const char* value, size_t size) {
6834
2
  set_has_str();
6835
2
  str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6836
2
      ::std::string(reinterpret_cast<const char*>(value), size));
6837
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightResponsePB.str)
6838
2
}
6839
1
inline ::std::string* LightweightResponsePB::mutable_str() {
6840
1
  set_has_str();
6841
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.str)
6842
1
  return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6843
1
}
6844
0
inline ::std::string* LightweightResponsePB::release_str() {
6845
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightResponsePB.str)
6846
0
  clear_has_str();
6847
0
  return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6848
0
}
6849
0
inline void LightweightResponsePB::set_allocated_str(::std::string* str) {
6850
0
  if (str != NULL) {
6851
0
    set_has_str();
6852
0
  } else {
6853
0
    clear_has_str();
6854
0
  }
6855
0
  str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
6856
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightResponsePB.str)
6857
0
}
6858
6859
// optional bytes bytes = 10;
6860
0
inline bool LightweightResponsePB::has_bytes() const {
6861
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6862
0
}
6863
3
inline void LightweightResponsePB::set_has_bytes() {
6864
3
  _has_bits_[0] |= 0x00000002u;
6865
3
}
6866
0
inline void LightweightResponsePB::clear_has_bytes() {
6867
0
  _has_bits_[0] &= ~0x00000002u;
6868
0
}
6869
0
inline void LightweightResponsePB::clear_bytes() {
6870
0
  bytes_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6871
0
  clear_has_bytes();
6872
0
}
6873
1
inline const ::std::string& LightweightResponsePB::bytes() const {
6874
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.bytes)
6875
1
  return bytes_.GetNoArena();
6876
1
}
6877
0
inline void LightweightResponsePB::set_bytes(const ::std::string& value) {
6878
0
  set_has_bytes();
6879
0
  bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6880
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.bytes)
6881
0
}
6882
#if LANG_CXX11
6883
0
inline void LightweightResponsePB::set_bytes(::std::string&& value) {
6884
0
  set_has_bytes();
6885
0
  bytes_.SetNoArena(
6886
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6887
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightResponsePB.bytes)
6888
0
}
6889
#endif
6890
0
inline void LightweightResponsePB::set_bytes(const char* value) {
6891
0
  GOOGLE_DCHECK(value != NULL);
6892
0
  set_has_bytes();
6893
0
  bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6894
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightResponsePB.bytes)
6895
0
}
6896
2
inline void LightweightResponsePB::set_bytes(const void* value, size_t size) {
6897
2
  set_has_bytes();
6898
2
  bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6899
2
      ::std::string(reinterpret_cast<const char*>(value), size));
6900
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightResponsePB.bytes)
6901
2
}
6902
1
inline ::std::string* LightweightResponsePB::mutable_bytes() {
6903
1
  set_has_bytes();
6904
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.bytes)
6905
1
  return bytes_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6906
1
}
6907
0
inline ::std::string* LightweightResponsePB::release_bytes() {
6908
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightResponsePB.bytes)
6909
0
  clear_has_bytes();
6910
0
  return bytes_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6911
0
}
6912
0
inline void LightweightResponsePB::set_allocated_bytes(::std::string* bytes) {
6913
0
  if (bytes != NULL) {
6914
0
    set_has_bytes();
6915
0
  } else {
6916
0
    clear_has_bytes();
6917
0
  }
6918
0
  bytes_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bytes);
6919
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightResponsePB.bytes)
6920
0
}
6921
6922
// optional .yb.rpc_test.LightweightEnum en = 11;
6923
0
inline bool LightweightResponsePB::has_en() const {
6924
0
  return (_has_bits_[0] & 0x00002000u) != 0;
6925
0
}
6926
3
inline void LightweightResponsePB::set_has_en() {
6927
3
  _has_bits_[0] |= 0x00002000u;
6928
3
}
6929
0
inline void LightweightResponsePB::clear_has_en() {
6930
0
  _has_bits_[0] &= ~0x00002000u;
6931
0
}
6932
0
inline void LightweightResponsePB::clear_en() {
6933
0
  en_ = 0;
6934
0
  clear_has_en();
6935
0
}
6936
1
inline ::yb::rpc_test::LightweightEnum LightweightResponsePB::en() const {
6937
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.en)
6938
1
  return static_cast< ::yb::rpc_test::LightweightEnum >(en_);
6939
1
}
6940
3
inline void LightweightResponsePB::set_en(::yb::rpc_test::LightweightEnum value) {
6941
3
  assert(::yb::rpc_test::LightweightEnum_IsValid(value));
6942
0
  set_has_en();
6943
3
  en_ = value;
6944
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.en)
6945
3
}
6946
6947
// optional sfixed32 sf32 = 12;
6948
0
inline bool LightweightResponsePB::has_sf32() const {
6949
0
  return (_has_bits_[0] & 0x00004000u) != 0;
6950
0
}
6951
3
inline void LightweightResponsePB::set_has_sf32() {
6952
3
  _has_bits_[0] |= 0x00004000u;
6953
3
}
6954
0
inline void LightweightResponsePB::clear_has_sf32() {
6955
0
  _has_bits_[0] &= ~0x00004000u;
6956
0
}
6957
0
inline void LightweightResponsePB::clear_sf32() {
6958
0
  sf32_ = 0;
6959
0
  clear_has_sf32();
6960
0
}
6961
1
inline ::google::protobuf::int32 LightweightResponsePB::sf32() const {
6962
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.sf32)
6963
1
  return sf32_;
6964
1
}
6965
2
inline void LightweightResponsePB::set_sf32(::google::protobuf::int32 value) {
6966
2
  set_has_sf32();
6967
2
  sf32_ = value;
6968
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.sf32)
6969
2
}
6970
6971
// optional sfixed64 sf64 = 13;
6972
0
inline bool LightweightResponsePB::has_sf64() const {
6973
0
  return (_has_bits_[0] & 0x00008000u) != 0;
6974
0
}
6975
3
inline void LightweightResponsePB::set_has_sf64() {
6976
3
  _has_bits_[0] |= 0x00008000u;
6977
3
}
6978
0
inline void LightweightResponsePB::clear_has_sf64() {
6979
0
  _has_bits_[0] &= ~0x00008000u;
6980
0
}
6981
0
inline void LightweightResponsePB::clear_sf64() {
6982
0
  sf64_ = GOOGLE_LONGLONG(0);
6983
0
  clear_has_sf64();
6984
0
}
6985
1
inline ::google::protobuf::int64 LightweightResponsePB::sf64() const {
6986
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.sf64)
6987
1
  return sf64_;
6988
1
}
6989
2
inline void LightweightResponsePB::set_sf64(::google::protobuf::int64 value) {
6990
2
  set_has_sf64();
6991
2
  sf64_ = value;
6992
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.sf64)
6993
2
}
6994
6995
// optional sint32 si32 = 14;
6996
0
inline bool LightweightResponsePB::has_si32() const {
6997
0
  return (_has_bits_[0] & 0x00020000u) != 0;
6998
0
}
6999
3
inline void LightweightResponsePB::set_has_si32() {
7000
3
  _has_bits_[0] |= 0x00020000u;
7001
3
}
7002
0
inline void LightweightResponsePB::clear_has_si32() {
7003
0
  _has_bits_[0] &= ~0x00020000u;
7004
0
}
7005
0
inline void LightweightResponsePB::clear_si32() {
7006
0
  si32_ = 0;
7007
0
  clear_has_si32();
7008
0
}
7009
1
inline ::google::protobuf::int32 LightweightResponsePB::si32() const {
7010
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.si32)
7011
1
  return si32_;
7012
1
}
7013
2
inline void LightweightResponsePB::set_si32(::google::protobuf::int32 value) {
7014
2
  set_has_si32();
7015
2
  si32_ = value;
7016
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.si32)
7017
2
}
7018
7019
// optional sint64 si64 = 15;
7020
0
inline bool LightweightResponsePB::has_si64() const {
7021
0
  return (_has_bits_[0] & 0x00010000u) != 0;
7022
0
}
7023
3
inline void LightweightResponsePB::set_has_si64() {
7024
3
  _has_bits_[0] |= 0x00010000u;
7025
3
}
7026
0
inline void LightweightResponsePB::clear_has_si64() {
7027
0
  _has_bits_[0] &= ~0x00010000u;
7028
0
}
7029
0
inline void LightweightResponsePB::clear_si64() {
7030
0
  si64_ = GOOGLE_LONGLONG(0);
7031
0
  clear_has_si64();
7032
0
}
7033
1
inline ::google::protobuf::int64 LightweightResponsePB::si64() const {
7034
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.si64)
7035
1
  return si64_;
7036
1
}
7037
2
inline void LightweightResponsePB::set_si64(::google::protobuf::int64 value) {
7038
2
  set_has_si64();
7039
2
  si64_ = value;
7040
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.si64)
7041
2
}
7042
7043
// repeated uint32 ru32 = 16;
7044
0
inline int LightweightResponsePB::ru32_size() const {
7045
0
  return ru32_.size();
7046
0
}
7047
0
inline void LightweightResponsePB::clear_ru32() {
7048
0
  ru32_.Clear();
7049
0
}
7050
0
inline ::google::protobuf::uint32 LightweightResponsePB::ru32(int index) const {
7051
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.ru32)
7052
0
  return ru32_.Get(index);
7053
0
}
7054
0
inline void LightweightResponsePB::set_ru32(int index, ::google::protobuf::uint32 value) {
7055
0
  ru32_.Set(index, value);
7056
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.ru32)
7057
0
}
7058
0
inline void LightweightResponsePB::add_ru32(::google::protobuf::uint32 value) {
7059
0
  ru32_.Add(value);
7060
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.ru32)
7061
0
}
7062
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7063
1
LightweightResponsePB::ru32() const {
7064
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.ru32)
7065
1
  return ru32_;
7066
1
}
7067
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7068
6
LightweightResponsePB::mutable_ru32() {
7069
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.ru32)
7070
6
  return &ru32_;
7071
6
}
7072
7073
// repeated fixed32 rf32 = 17;
7074
0
inline int LightweightResponsePB::rf32_size() const {
7075
0
  return rf32_.size();
7076
0
}
7077
0
inline void LightweightResponsePB::clear_rf32() {
7078
0
  rf32_.Clear();
7079
0
}
7080
0
inline ::google::protobuf::uint32 LightweightResponsePB::rf32(int index) const {
7081
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.rf32)
7082
0
  return rf32_.Get(index);
7083
0
}
7084
0
inline void LightweightResponsePB::set_rf32(int index, ::google::protobuf::uint32 value) {
7085
0
  rf32_.Set(index, value);
7086
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.rf32)
7087
0
}
7088
0
inline void LightweightResponsePB::add_rf32(::google::protobuf::uint32 value) {
7089
0
  rf32_.Add(value);
7090
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.rf32)
7091
0
}
7092
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7093
1
LightweightResponsePB::rf32() const {
7094
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.rf32)
7095
1
  return rf32_;
7096
1
}
7097
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7098
5
LightweightResponsePB::mutable_rf32() {
7099
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.rf32)
7100
5
  return &rf32_;
7101
5
}
7102
7103
// repeated string rstr = 18;
7104
14
inline int LightweightResponsePB::rstr_size() const {
7105
14
  return rstr_.size();
7106
14
}
7107
0
inline void LightweightResponsePB::clear_rstr() {
7108
0
  rstr_.Clear();
7109
0
}
7110
14
inline const ::std::string& LightweightResponsePB::rstr(int index) const {
7111
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.rstr)
7112
14
  return rstr_.Get(index);
7113
14
}
7114
0
inline ::std::string* LightweightResponsePB::mutable_rstr(int index) {
7115
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.rstr)
7116
0
  return rstr_.Mutable(index);
7117
0
}
7118
0
inline void LightweightResponsePB::set_rstr(int index, const ::std::string& value) {
7119
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.rstr)
7120
0
  rstr_.Mutable(index)->assign(value);
7121
0
}
7122
#if LANG_CXX11
7123
0
inline void LightweightResponsePB::set_rstr(int index, ::std::string&& value) {
7124
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.rstr)
7125
0
  rstr_.Mutable(index)->assign(std::move(value));
7126
0
}
7127
#endif
7128
0
inline void LightweightResponsePB::set_rstr(int index, const char* value) {
7129
0
  GOOGLE_DCHECK(value != NULL);
7130
0
  rstr_.Mutable(index)->assign(value);
7131
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightResponsePB.rstr)
7132
0
}
7133
0
inline void LightweightResponsePB::set_rstr(int index, const char* value, size_t size) {
7134
0
  rstr_.Mutable(index)->assign(
7135
0
    reinterpret_cast<const char*>(value), size);
7136
0
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightResponsePB.rstr)
7137
0
}
7138
7
inline ::std::string* LightweightResponsePB::add_rstr() {
7139
  // @@protoc_insertion_point(field_add_mutable:yb.rpc_test.LightweightResponsePB.rstr)
7140
7
  return rstr_.Add();
7141
7
}
7142
0
inline void LightweightResponsePB::add_rstr(const ::std::string& value) {
7143
0
  rstr_.Add()->assign(value);
7144
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.rstr)
7145
0
}
7146
#if LANG_CXX11
7147
0
inline void LightweightResponsePB::add_rstr(::std::string&& value) {
7148
0
  rstr_.Add(std::move(value));
7149
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.rstr)
7150
0
}
7151
#endif
7152
0
inline void LightweightResponsePB::add_rstr(const char* value) {
7153
0
  GOOGLE_DCHECK(value != NULL);
7154
0
  rstr_.Add()->assign(value);
7155
0
  // @@protoc_insertion_point(field_add_char:yb.rpc_test.LightweightResponsePB.rstr)
7156
0
}
7157
0
inline void LightweightResponsePB::add_rstr(const char* value, size_t size) {
7158
0
  rstr_.Add()->assign(reinterpret_cast<const char*>(value), size);
7159
0
  // @@protoc_insertion_point(field_add_pointer:yb.rpc_test.LightweightResponsePB.rstr)
7160
0
}
7161
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
7162
1
LightweightResponsePB::rstr() const {
7163
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.rstr)
7164
1
  return rstr_;
7165
1
}
7166
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
7167
2
LightweightResponsePB::mutable_rstr() {
7168
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.rstr)
7169
2
  return &rstr_;
7170
2
}
7171
7172
// optional .yb.rpc_test.LightweightSubMessagePB message = 19;
7173
0
inline bool LightweightResponsePB::has_message() const {
7174
0
  return (_has_bits_[0] & 0x00000008u) != 0;
7175
0
}
7176
3
inline void LightweightResponsePB::set_has_message() {
7177
3
  _has_bits_[0] |= 0x00000008u;
7178
3
}
7179
0
inline void LightweightResponsePB::clear_has_message() {
7180
0
  _has_bits_[0] &= ~0x00000008u;
7181
0
}
7182
0
inline void LightweightResponsePB::clear_message() {
7183
0
  if (message_ != NULL) message_->Clear();
7184
0
  clear_has_message();
7185
0
}
7186
5
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightResponsePB::message() const {
7187
5
  const ::yb::rpc_test::LightweightSubMessagePB* p = message_;
7188
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.message)
7189
5
  return p != NULL ? *p : *reinterpret_cast<const ::yb::rpc_test::LightweightSubMessagePB*>(
7190
0
      &::yb::rpc_test::_LightweightSubMessagePB_default_instance_);
7191
5
}
7192
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::release_message() {
7193
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightResponsePB.message)
7194
0
  clear_has_message();
7195
0
  ::yb::rpc_test::LightweightSubMessagePB* temp = message_;
7196
0
  message_ = NULL;
7197
0
  return temp;
7198
0
}
7199
3
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::mutable_message() {
7200
3
  set_has_message();
7201
3
  if (message_ == NULL) {
7202
3
    message_ = new ::yb::rpc_test::LightweightSubMessagePB;
7203
3
  }
7204
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.message)
7205
3
  return message_;
7206
3
}
7207
0
inline void LightweightResponsePB::set_allocated_message(::yb::rpc_test::LightweightSubMessagePB* message) {
7208
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7209
0
  if (message_arena == NULL) {
7210
0
    delete message_;
7211
0
  }
7212
0
  if (message) {
7213
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7214
0
    if (message_arena != submessage_arena) {
7215
0
      message = ::google::protobuf::internal::GetOwnedMessage(
7216
0
          message_arena, message, submessage_arena);
7217
0
    }
7218
0
    set_has_message();
7219
0
  } else {
7220
0
    clear_has_message();
7221
0
  }
7222
0
  message_ = message;
7223
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightResponsePB.message)
7224
0
}
7225
7226
// repeated .yb.rpc_test.LightweightSubMessagePB repeated_messages = 20;
7227
0
inline int LightweightResponsePB::repeated_messages_size() const {
7228
0
  return repeated_messages_.size();
7229
0
}
7230
0
inline void LightweightResponsePB::clear_repeated_messages() {
7231
0
  repeated_messages_.Clear();
7232
0
}
7233
0
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightResponsePB::repeated_messages(int index) const {
7234
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.repeated_messages)
7235
0
  return repeated_messages_.Get(index);
7236
0
}
7237
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::mutable_repeated_messages(int index) {
7238
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.repeated_messages)
7239
0
  return repeated_messages_.Mutable(index);
7240
0
}
7241
5
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::add_repeated_messages() {
7242
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.repeated_messages)
7243
5
  return repeated_messages_.Add();
7244
5
}
7245
inline ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >*
7246
2
LightweightResponsePB::mutable_repeated_messages() {
7247
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.repeated_messages)
7248
2
  return &repeated_messages_;
7249
2
}
7250
inline const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >&
7251
2
LightweightResponsePB::repeated_messages() const {
7252
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.repeated_messages)
7253
2
  return repeated_messages_;
7254
2
}
7255
7256
// repeated .yb.rpc_test.LightweightSubMessagePB repeated_messages_copy = 120;
7257
0
inline int LightweightResponsePB::repeated_messages_copy_size() const {
7258
0
  return repeated_messages_copy_.size();
7259
0
}
7260
0
inline void LightweightResponsePB::clear_repeated_messages_copy() {
7261
0
  repeated_messages_copy_.Clear();
7262
0
}
7263
0
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightResponsePB::repeated_messages_copy(int index) const {
7264
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.repeated_messages_copy)
7265
0
  return repeated_messages_copy_.Get(index);
7266
0
}
7267
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::mutable_repeated_messages_copy(int index) {
7268
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.repeated_messages_copy)
7269
0
  return repeated_messages_copy_.Mutable(index);
7270
0
}
7271
5
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::add_repeated_messages_copy() {
7272
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.repeated_messages_copy)
7273
5
  return repeated_messages_copy_.Add();
7274
5
}
7275
inline ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >*
7276
2
LightweightResponsePB::mutable_repeated_messages_copy() {
7277
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.repeated_messages_copy)
7278
2
  return &repeated_messages_copy_;
7279
2
}
7280
inline const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightSubMessagePB >&
7281
2
LightweightResponsePB::repeated_messages_copy() const {
7282
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.repeated_messages_copy)
7283
2
  return repeated_messages_copy_;
7284
2
}
7285
7286
// repeated uint64 packed_u64 = 21 [packed = true];
7287
0
inline int LightweightResponsePB::packed_u64_size() const {
7288
0
  return packed_u64_.size();
7289
0
}
7290
0
inline void LightweightResponsePB::clear_packed_u64() {
7291
0
  packed_u64_.Clear();
7292
0
}
7293
0
inline ::google::protobuf::uint64 LightweightResponsePB::packed_u64(int index) const {
7294
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.packed_u64)
7295
0
  return packed_u64_.Get(index);
7296
0
}
7297
0
inline void LightweightResponsePB::set_packed_u64(int index, ::google::protobuf::uint64 value) {
7298
0
  packed_u64_.Set(index, value);
7299
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.packed_u64)
7300
0
}
7301
0
inline void LightweightResponsePB::add_packed_u64(::google::protobuf::uint64 value) {
7302
0
  packed_u64_.Add(value);
7303
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.packed_u64)
7304
0
}
7305
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
7306
2
LightweightResponsePB::packed_u64() const {
7307
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.packed_u64)
7308
2
  return packed_u64_;
7309
2
}
7310
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
7311
3
LightweightResponsePB::mutable_packed_u64() {
7312
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.packed_u64)
7313
3
  return &packed_u64_;
7314
3
}
7315
7316
// repeated fixed32 packed_f32 = 22 [packed = true];
7317
0
inline int LightweightResponsePB::packed_f32_size() const {
7318
0
  return packed_f32_.size();
7319
0
}
7320
0
inline void LightweightResponsePB::clear_packed_f32() {
7321
0
  packed_f32_.Clear();
7322
0
}
7323
0
inline ::google::protobuf::uint32 LightweightResponsePB::packed_f32(int index) const {
7324
0
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.packed_f32)
7325
0
  return packed_f32_.Get(index);
7326
0
}
7327
0
inline void LightweightResponsePB::set_packed_f32(int index, ::google::protobuf::uint32 value) {
7328
0
  packed_f32_.Set(index, value);
7329
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.packed_f32)
7330
0
}
7331
0
inline void LightweightResponsePB::add_packed_f32(::google::protobuf::uint32 value) {
7332
0
  packed_f32_.Add(value);
7333
0
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.packed_f32)
7334
0
}
7335
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7336
2
LightweightResponsePB::packed_f32() const {
7337
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.packed_f32)
7338
2
  return packed_f32_;
7339
2
}
7340
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7341
3
LightweightResponsePB::mutable_packed_f32() {
7342
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.packed_f32)
7343
3
  return &packed_f32_;
7344
3
}
7345
7346
// repeated .yb.rpc_test.LightweightPairPB pairs = 23;
7347
0
inline int LightweightResponsePB::pairs_size() const {
7348
0
  return pairs_.size();
7349
0
}
7350
0
inline void LightweightResponsePB::clear_pairs() {
7351
0
  pairs_.Clear();
7352
0
}
7353
0
inline const ::yb::rpc_test::LightweightPairPB& LightweightResponsePB::pairs(int index) const {
7354
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.pairs)
7355
0
  return pairs_.Get(index);
7356
0
}
7357
0
inline ::yb::rpc_test::LightweightPairPB* LightweightResponsePB::mutable_pairs(int index) {
7358
0
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.pairs)
7359
0
  return pairs_.Mutable(index);
7360
0
}
7361
13
inline ::yb::rpc_test::LightweightPairPB* LightweightResponsePB::add_pairs() {
7362
  // @@protoc_insertion_point(field_add:yb.rpc_test.LightweightResponsePB.pairs)
7363
13
  return pairs_.Add();
7364
13
}
7365
inline ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >*
7366
2
LightweightResponsePB::mutable_pairs() {
7367
  // @@protoc_insertion_point(field_mutable_list:yb.rpc_test.LightweightResponsePB.pairs)
7368
2
  return &pairs_;
7369
2
}
7370
inline const ::google::protobuf::RepeatedPtrField< ::yb::rpc_test::LightweightPairPB >&
7371
27
LightweightResponsePB::pairs() const {
7372
  // @@protoc_insertion_point(field_list:yb.rpc_test.LightweightResponsePB.pairs)
7373
27
  return pairs_;
7374
27
}
7375
7376
// optional .yb.rpc_test.LightweightSubMessagePB ptr_message = 24 [(.yb.rpc.lightweight_field) = {
7377
0
inline bool LightweightResponsePB::has_ptr_message() const {
7378
0
  return (_has_bits_[0] & 0x00000010u) != 0;
7379
0
}
7380
3
inline void LightweightResponsePB::set_has_ptr_message() {
7381
3
  _has_bits_[0] |= 0x00000010u;
7382
3
}
7383
0
inline void LightweightResponsePB::clear_has_ptr_message() {
7384
0
  _has_bits_[0] &= ~0x00000010u;
7385
0
}
7386
0
inline void LightweightResponsePB::clear_ptr_message() {
7387
0
  if (ptr_message_ != NULL) ptr_message_->Clear();
7388
0
  clear_has_ptr_message();
7389
0
}
7390
2
inline const ::yb::rpc_test::LightweightSubMessagePB& LightweightResponsePB::ptr_message() const {
7391
2
  const ::yb::rpc_test::LightweightSubMessagePB* p = ptr_message_;
7392
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.ptr_message)
7393
2
  return p != NULL ? *p : *reinterpret_cast<const ::yb::rpc_test::LightweightSubMessagePB*>(
7394
0
      &::yb::rpc_test::_LightweightSubMessagePB_default_instance_);
7395
2
}
7396
0
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::release_ptr_message() {
7397
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightResponsePB.ptr_message)
7398
0
  clear_has_ptr_message();
7399
0
  ::yb::rpc_test::LightweightSubMessagePB* temp = ptr_message_;
7400
0
  ptr_message_ = NULL;
7401
0
  return temp;
7402
0
}
7403
3
inline ::yb::rpc_test::LightweightSubMessagePB* LightweightResponsePB::mutable_ptr_message() {
7404
3
  set_has_ptr_message();
7405
3
  if (ptr_message_ == NULL) {
7406
3
    ptr_message_ = new ::yb::rpc_test::LightweightSubMessagePB;
7407
3
  }
7408
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.ptr_message)
7409
3
  return ptr_message_;
7410
3
}
7411
0
inline void LightweightResponsePB::set_allocated_ptr_message(::yb::rpc_test::LightweightSubMessagePB* ptr_message) {
7412
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7413
0
  if (message_arena == NULL) {
7414
0
    delete ptr_message_;
7415
0
  }
7416
0
  if (ptr_message) {
7417
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7418
0
    if (message_arena != submessage_arena) {
7419
0
      ptr_message = ::google::protobuf::internal::GetOwnedMessage(
7420
0
          message_arena, ptr_message, submessage_arena);
7421
0
    }
7422
0
    set_has_ptr_message();
7423
0
  } else {
7424
0
    clear_has_ptr_message();
7425
0
  }
7426
0
  ptr_message_ = ptr_message;
7427
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightResponsePB.ptr_message)
7428
0
}
7429
7430
// map<string, int64> map = 25;
7431
0
inline int LightweightResponsePB::map_size() const {
7432
0
  return map_.size();
7433
0
}
7434
0
inline void LightweightResponsePB::clear_map() {
7435
0
  map_.Clear();
7436
0
}
7437
inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >&
7438
1
LightweightResponsePB::map() const {
7439
  // @@protoc_insertion_point(field_map:yb.rpc_test.LightweightResponsePB.map)
7440
1
  return map_.GetMap();
7441
1
}
7442
inline ::google::protobuf::Map< ::std::string, ::google::protobuf::int64 >*
7443
2
LightweightResponsePB::mutable_map() {
7444
  // @@protoc_insertion_point(field_mutable_map:yb.rpc_test.LightweightResponsePB.map)
7445
2
  return map_.MutableMap();
7446
2
}
7447
7448
// optional string short_debug_string = 100;
7449
0
inline bool LightweightResponsePB::has_short_debug_string() const {
7450
0
  return (_has_bits_[0] & 0x00000004u) != 0;
7451
0
}
7452
1
inline void LightweightResponsePB::set_has_short_debug_string() {
7453
1
  _has_bits_[0] |= 0x00000004u;
7454
1
}
7455
2
inline void LightweightResponsePB::clear_has_short_debug_string() {
7456
2
  _has_bits_[0] &= ~0x00000004u;
7457
2
}
7458
2
inline void LightweightResponsePB::clear_short_debug_string() {
7459
2
  short_debug_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7460
2
  clear_has_short_debug_string();
7461
2
}
7462
4
inline const ::std::string& LightweightResponsePB::short_debug_string() const {
7463
  // @@protoc_insertion_point(field_get:yb.rpc_test.LightweightResponsePB.short_debug_string)
7464
4
  return short_debug_string_.GetNoArena();
7465
4
}
7466
0
inline void LightweightResponsePB::set_short_debug_string(const ::std::string& value) {
7467
0
  set_has_short_debug_string();
7468
0
  short_debug_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7469
0
  // @@protoc_insertion_point(field_set:yb.rpc_test.LightweightResponsePB.short_debug_string)
7470
0
}
7471
#if LANG_CXX11
7472
0
inline void LightweightResponsePB::set_short_debug_string(::std::string&& value) {
7473
0
  set_has_short_debug_string();
7474
0
  short_debug_string_.SetNoArena(
7475
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7476
0
  // @@protoc_insertion_point(field_set_rvalue:yb.rpc_test.LightweightResponsePB.short_debug_string)
7477
0
}
7478
#endif
7479
0
inline void LightweightResponsePB::set_short_debug_string(const char* value) {
7480
0
  GOOGLE_DCHECK(value != NULL);
7481
0
  set_has_short_debug_string();
7482
0
  short_debug_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7483
0
  // @@protoc_insertion_point(field_set_char:yb.rpc_test.LightweightResponsePB.short_debug_string)
7484
0
}
7485
0
inline void LightweightResponsePB::set_short_debug_string(const char* value, size_t size) {
7486
0
  set_has_short_debug_string();
7487
0
  short_debug_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7488
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7489
  // @@protoc_insertion_point(field_set_pointer:yb.rpc_test.LightweightResponsePB.short_debug_string)
7490
0
}
7491
1
inline ::std::string* LightweightResponsePB::mutable_short_debug_string() {
7492
1
  set_has_short_debug_string();
7493
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.LightweightResponsePB.short_debug_string)
7494
1
  return short_debug_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7495
1
}
7496
0
inline ::std::string* LightweightResponsePB::release_short_debug_string() {
7497
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.LightweightResponsePB.short_debug_string)
7498
0
  clear_has_short_debug_string();
7499
0
  return short_debug_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7500
0
}
7501
0
inline void LightweightResponsePB::set_allocated_short_debug_string(::std::string* short_debug_string) {
7502
0
  if (short_debug_string != NULL) {
7503
0
    set_has_short_debug_string();
7504
0
  } else {
7505
0
    clear_has_short_debug_string();
7506
0
  }
7507
0
  short_debug_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), short_debug_string);
7508
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.LightweightResponsePB.short_debug_string)
7509
0
}
7510
7511
// -------------------------------------------------------------------
7512
7513
// TrivialRequestPB
7514
7515
// optional int32 value = 1;
7516
4
inline bool TrivialRequestPB::has_value() const {
7517
4
  return (_has_bits_[0] & 0x00000001u) != 0;
7518
4
}
7519
4
inline void TrivialRequestPB::set_has_value() {
7520
4
  _has_bits_[0] |= 0x00000001u;
7521
4
}
7522
0
inline void TrivialRequestPB::clear_has_value() {
7523
0
  _has_bits_[0] &= ~0x00000001u;
7524
0
}
7525
0
inline void TrivialRequestPB::clear_value() {
7526
0
  value_ = 0;
7527
0
  clear_has_value();
7528
0
}
7529
11
inline ::google::protobuf::int32 TrivialRequestPB::value() const {
7530
  // @@protoc_insertion_point(field_get:yb.rpc_test.TrivialRequestPB.value)
7531
11
  return value_;
7532
11
}
7533
2
inline void TrivialRequestPB::set_value(::google::protobuf::int32 value) {
7534
2
  set_has_value();
7535
2
  value_ = value;
7536
  // @@protoc_insertion_point(field_set:yb.rpc_test.TrivialRequestPB.value)
7537
2
}
7538
7539
// -------------------------------------------------------------------
7540
7541
// TrivialErrorPB
7542
7543
// optional int32 code = 1;
7544
2
inline bool TrivialErrorPB::has_code() const {
7545
2
  return (_has_bits_[0] & 0x00000001u) != 0;
7546
2
}
7547
2
inline void TrivialErrorPB::set_has_code() {
7548
2
  _has_bits_[0] |= 0x00000001u;
7549
2
}
7550
0
inline void TrivialErrorPB::clear_has_code() {
7551
0
  _has_bits_[0] &= ~0x00000001u;
7552
0
}
7553
0
inline void TrivialErrorPB::clear_code() {
7554
0
  code_ = 0;
7555
0
  clear_has_code();
7556
0
}
7557
4
inline ::google::protobuf::int32 TrivialErrorPB::code() const {
7558
  // @@protoc_insertion_point(field_get:yb.rpc_test.TrivialErrorPB.code)
7559
4
  return code_;
7560
4
}
7561
1
inline void TrivialErrorPB::set_code(::google::protobuf::int32 value) {
7562
1
  set_has_code();
7563
1
  code_ = value;
7564
  // @@protoc_insertion_point(field_set:yb.rpc_test.TrivialErrorPB.code)
7565
1
}
7566
7567
// -------------------------------------------------------------------
7568
7569
// TrivialResponsePB
7570
7571
// optional .yb.rpc_test.TrivialErrorPB error = 1;
7572
5
inline bool TrivialResponsePB::has_error() const {
7573
5
  return (_has_bits_[0] & 0x00000001u) != 0;
7574
5
}
7575
2
inline void TrivialResponsePB::set_has_error() {
7576
2
  _has_bits_[0] |= 0x00000001u;
7577
2
}
7578
0
inline void TrivialResponsePB::clear_has_error() {
7579
0
  _has_bits_[0] &= ~0x00000001u;
7580
0
}
7581
0
inline void TrivialResponsePB::clear_error() {
7582
0
  if (error_ != NULL) error_->Clear();
7583
0
  clear_has_error();
7584
0
}
7585
1
inline const ::yb::rpc_test::TrivialErrorPB& TrivialResponsePB::error() const {
7586
1
  const ::yb::rpc_test::TrivialErrorPB* p = error_;
7587
  // @@protoc_insertion_point(field_get:yb.rpc_test.TrivialResponsePB.error)
7588
1
  return p != NULL ? *p : *reinterpret_cast<const ::yb::rpc_test::TrivialErrorPB*>(
7589
0
      &::yb::rpc_test::_TrivialErrorPB_default_instance_);
7590
1
}
7591
0
inline ::yb::rpc_test::TrivialErrorPB* TrivialResponsePB::release_error() {
7592
0
  // @@protoc_insertion_point(field_release:yb.rpc_test.TrivialResponsePB.error)
7593
0
  clear_has_error();
7594
0
  ::yb::rpc_test::TrivialErrorPB* temp = error_;
7595
0
  error_ = NULL;
7596
0
  return temp;
7597
0
}
7598
2
inline ::yb::rpc_test::TrivialErrorPB* TrivialResponsePB::mutable_error() {
7599
2
  set_has_error();
7600
2
  if (error_ == NULL) {
7601
2
    error_ = new ::yb::rpc_test::TrivialErrorPB;
7602
2
  }
7603
  // @@protoc_insertion_point(field_mutable:yb.rpc_test.TrivialResponsePB.error)
7604
2
  return error_;
7605
2
}
7606
0
inline void TrivialResponsePB::set_allocated_error(::yb::rpc_test::TrivialErrorPB* error) {
7607
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7608
0
  if (message_arena == NULL) {
7609
0
    delete error_;
7610
0
  }
7611
0
  if (error) {
7612
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7613
0
    if (message_arena != submessage_arena) {
7614
0
      error = ::google::protobuf::internal::GetOwnedMessage(
7615
0
          message_arena, error, submessage_arena);
7616
0
    }
7617
0
    set_has_error();
7618
0
  } else {
7619
0
    clear_has_error();
7620
0
  }
7621
0
  error_ = error;
7622
0
  // @@protoc_insertion_point(field_set_allocated:yb.rpc_test.TrivialResponsePB.error)
7623
0
}
7624
7625
// optional int32 value = 2;
7626
4
inline bool TrivialResponsePB::has_value() const {
7627
4
  return (_has_bits_[0] & 0x00000002u) != 0;
7628
4
}
7629
2
inline void TrivialResponsePB::set_has_value() {
7630
2
  _has_bits_[0] |= 0x00000002u;
7631
2
}
7632
0
inline void TrivialResponsePB::clear_has_value() {
7633
0
  _has_bits_[0] &= ~0x00000002u;
7634
0
}
7635
0
inline void TrivialResponsePB::clear_value() {
7636
0
  value_ = 0;
7637
0
  clear_has_value();
7638
0
}
7639
4
inline ::google::protobuf::int32 TrivialResponsePB::value() const {
7640
  // @@protoc_insertion_point(field_get:yb.rpc_test.TrivialResponsePB.value)
7641
4
  return value_;
7642
4
}
7643
1
inline void TrivialResponsePB::set_value(::google::protobuf::int32 value) {
7644
1
  set_has_value();
7645
1
  value_ = value;
7646
  // @@protoc_insertion_point(field_set:yb.rpc_test.TrivialResponsePB.value)
7647
1
}
7648
7649
#ifdef __GNUC__
7650
  #pragma GCC diagnostic pop
7651
#endif  // __GNUC__
7652
// -------------------------------------------------------------------
7653
7654
// -------------------------------------------------------------------
7655
7656
// -------------------------------------------------------------------
7657
7658
// -------------------------------------------------------------------
7659
7660
// -------------------------------------------------------------------
7661
7662
// -------------------------------------------------------------------
7663
7664
// -------------------------------------------------------------------
7665
7666
// -------------------------------------------------------------------
7667
7668
// -------------------------------------------------------------------
7669
7670
// -------------------------------------------------------------------
7671
7672
// -------------------------------------------------------------------
7673
7674
// -------------------------------------------------------------------
7675
7676
// -------------------------------------------------------------------
7677
7678
// -------------------------------------------------------------------
7679
7680
// -------------------------------------------------------------------
7681
7682
// -------------------------------------------------------------------
7683
7684
// -------------------------------------------------------------------
7685
7686
// -------------------------------------------------------------------
7687
7688
// -------------------------------------------------------------------
7689
7690
// -------------------------------------------------------------------
7691
7692
// -------------------------------------------------------------------
7693
7694
// -------------------------------------------------------------------
7695
7696
// -------------------------------------------------------------------
7697
7698
// -------------------------------------------------------------------
7699
7700
// -------------------------------------------------------------------
7701
7702
// -------------------------------------------------------------------
7703
7704
// -------------------------------------------------------------------
7705
7706
// -------------------------------------------------------------------
7707
7708
// -------------------------------------------------------------------
7709
7710
// -------------------------------------------------------------------
7711
7712
7713
// @@protoc_insertion_point(namespace_scope)
7714
7715
}  // namespace rpc_test
7716
}  // namespace yb
7717
7718
namespace google {
7719
namespace protobuf {
7720
7721
template <> struct is_proto_enum< ::yb::rpc_test::LightweightEnum> : ::google::protobuf::internal::true_type {};
7722
template <>
7723
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::rpc_test::LightweightEnum>() {
7724
0
  return ::yb::rpc_test::LightweightEnum_descriptor();
7725
0
}
7726
7727
}  // namespace protobuf
7728
}  // namespace google
7729
7730
// @@protoc_insertion_point(global_scope)
7731
7732
#endif  // PROTOBUF_yb_2frpc_2frtest_2eproto__INCLUDED