YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/common/redis_protocol.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/common/redis_protocol.proto
3
4
#ifndef PROTOBUF_yb_2fcommon_2fredis_5fprotocol_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fcommon_2fredis_5fprotocol_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/generated_enum_reflection.h>
32
#include <google/protobuf/unknown_field_set.h>
33
// @@protoc_insertion_point(includes)
34
35
namespace protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto {
36
// Internal implementation detail -- do not use these members.
37
struct TableStruct {
38
  static const ::google::protobuf::internal::ParseTableField entries[];
39
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
40
  static const ::google::protobuf::internal::ParseTable schema[31];
41
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
42
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
43
  static const ::google::protobuf::uint32 offsets[];
44
};
45
void AddDescriptors();
46
void InitDefaultsRedisWriteRequestPBImpl();
47
void InitDefaultsRedisWriteRequestPB();
48
void InitDefaultsRedisReadRequestPBImpl();
49
void InitDefaultsRedisReadRequestPB();
50
void InitDefaultsRedisSubKeyRangePBImpl();
51
void InitDefaultsRedisSubKeyRangePB();
52
void InitDefaultsRedisIndexRangePBImpl();
53
void InitDefaultsRedisIndexRangePB();
54
void InitDefaultsRedisIndexBoundPBImpl();
55
void InitDefaultsRedisIndexBoundPB();
56
void InitDefaultsRedisSubKeyBoundPBImpl();
57
void InitDefaultsRedisSubKeyBoundPB();
58
void InitDefaultsRedisKeyValueSubKeyPBImpl();
59
void InitDefaultsRedisKeyValueSubKeyPB();
60
void InitDefaultsRedisKeyValuePBImpl();
61
void InitDefaultsRedisKeyValuePB();
62
void InitDefaultsSortedSetOptionsPBImpl();
63
void InitDefaultsSortedSetOptionsPB();
64
void InitDefaultsRedisSetRequestPBImpl();
65
void InitDefaultsRedisSetRequestPB();
66
void InitDefaultsRedisGetRequestPBImpl();
67
void InitDefaultsRedisGetRequestPB();
68
void InitDefaultsRedisCollectionGetRangeRequestPBImpl();
69
void InitDefaultsRedisCollectionGetRangeRequestPB();
70
void InitDefaultsRedisNoOpRequestPBImpl();
71
void InitDefaultsRedisNoOpRequestPB();
72
void InitDefaultsRedisSetTtlRequestPBImpl();
73
void InitDefaultsRedisSetTtlRequestPB();
74
void InitDefaultsRedisGetTtlRequestPBImpl();
75
void InitDefaultsRedisGetTtlRequestPB();
76
void InitDefaultsRedisKeysRequestPBImpl();
77
void InitDefaultsRedisKeysRequestPB();
78
void InitDefaultsRedisGetForRenameRequestPBImpl();
79
void InitDefaultsRedisGetForRenameRequestPB();
80
void InitDefaultsRedisGetSetRequestPBImpl();
81
void InitDefaultsRedisGetSetRequestPB();
82
void InitDefaultsRedisAppendRequestPBImpl();
83
void InitDefaultsRedisAppendRequestPB();
84
void InitDefaultsRedisStrLenRequestPBImpl();
85
void InitDefaultsRedisStrLenRequestPB();
86
void InitDefaultsRedisDelRequestPBImpl();
87
void InitDefaultsRedisDelRequestPB();
88
void InitDefaultsRedisExistsRequestPBImpl();
89
void InitDefaultsRedisExistsRequestPB();
90
void InitDefaultsRedisSetRangeRequestPBImpl();
91
void InitDefaultsRedisSetRangeRequestPB();
92
void InitDefaultsRedisGetRangeRequestPBImpl();
93
void InitDefaultsRedisGetRangeRequestPB();
94
void InitDefaultsRedisIncrRequestPBImpl();
95
void InitDefaultsRedisIncrRequestPB();
96
void InitDefaultsRedisPushRequestPBImpl();
97
void InitDefaultsRedisPushRequestPB();
98
void InitDefaultsRedisInsertRequestPBImpl();
99
void InitDefaultsRedisInsertRequestPB();
100
void InitDefaultsRedisPopRequestPBImpl();
101
void InitDefaultsRedisPopRequestPB();
102
void InitDefaultsRedisAddRequestPBImpl();
103
void InitDefaultsRedisAddRequestPB();
104
void InitDefaultsRedisResponsePBImpl();
105
void InitDefaultsRedisResponsePB();
106
void InitDefaultsRedisArrayPBImpl();
107
void InitDefaultsRedisArrayPB();
108
17.1k
inline void InitDefaults() {
109
17.1k
  InitDefaultsRedisWriteRequestPB();
110
17.1k
  InitDefaultsRedisReadRequestPB();
111
17.1k
  InitDefaultsRedisSubKeyRangePB();
112
17.1k
  InitDefaultsRedisIndexRangePB();
113
17.1k
  InitDefaultsRedisIndexBoundPB();
114
17.1k
  InitDefaultsRedisSubKeyBoundPB();
115
17.1k
  InitDefaultsRedisKeyValueSubKeyPB();
116
17.1k
  InitDefaultsRedisKeyValuePB();
117
17.1k
  InitDefaultsSortedSetOptionsPB();
118
17.1k
  InitDefaultsRedisSetRequestPB();
119
17.1k
  InitDefaultsRedisGetRequestPB();
120
17.1k
  InitDefaultsRedisCollectionGetRangeRequestPB();
121
17.1k
  InitDefaultsRedisNoOpRequestPB();
122
17.1k
  InitDefaultsRedisSetTtlRequestPB();
123
17.1k
  InitDefaultsRedisGetTtlRequestPB();
124
17.1k
  InitDefaultsRedisKeysRequestPB();
125
17.1k
  InitDefaultsRedisGetForRenameRequestPB();
126
17.1k
  InitDefaultsRedisGetSetRequestPB();
127
17.1k
  InitDefaultsRedisAppendRequestPB();
128
17.1k
  InitDefaultsRedisStrLenRequestPB();
129
17.1k
  InitDefaultsRedisDelRequestPB();
130
17.1k
  InitDefaultsRedisExistsRequestPB();
131
17.1k
  InitDefaultsRedisSetRangeRequestPB();
132
17.1k
  InitDefaultsRedisGetRangeRequestPB();
133
17.1k
  InitDefaultsRedisIncrRequestPB();
134
17.1k
  InitDefaultsRedisPushRequestPB();
135
17.1k
  InitDefaultsRedisInsertRequestPB();
136
17.1k
  InitDefaultsRedisPopRequestPB();
137
17.1k
  InitDefaultsRedisAddRequestPB();
138
17.1k
  InitDefaultsRedisResponsePB();
139
17.1k
  InitDefaultsRedisArrayPB();
140
17.1k
}
141
}  // namespace protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto
142
namespace yb {
143
class RedisAddRequestPB;
144
class RedisAddRequestPBDefaultTypeInternal;
145
extern RedisAddRequestPBDefaultTypeInternal _RedisAddRequestPB_default_instance_;
146
class RedisAppendRequestPB;
147
class RedisAppendRequestPBDefaultTypeInternal;
148
extern RedisAppendRequestPBDefaultTypeInternal _RedisAppendRequestPB_default_instance_;
149
class RedisArrayPB;
150
class RedisArrayPBDefaultTypeInternal;
151
extern RedisArrayPBDefaultTypeInternal _RedisArrayPB_default_instance_;
152
class RedisCollectionGetRangeRequestPB;
153
class RedisCollectionGetRangeRequestPBDefaultTypeInternal;
154
extern RedisCollectionGetRangeRequestPBDefaultTypeInternal _RedisCollectionGetRangeRequestPB_default_instance_;
155
class RedisDelRequestPB;
156
class RedisDelRequestPBDefaultTypeInternal;
157
extern RedisDelRequestPBDefaultTypeInternal _RedisDelRequestPB_default_instance_;
158
class RedisExistsRequestPB;
159
class RedisExistsRequestPBDefaultTypeInternal;
160
extern RedisExistsRequestPBDefaultTypeInternal _RedisExistsRequestPB_default_instance_;
161
class RedisGetForRenameRequestPB;
162
class RedisGetForRenameRequestPBDefaultTypeInternal;
163
extern RedisGetForRenameRequestPBDefaultTypeInternal _RedisGetForRenameRequestPB_default_instance_;
164
class RedisGetRangeRequestPB;
165
class RedisGetRangeRequestPBDefaultTypeInternal;
166
extern RedisGetRangeRequestPBDefaultTypeInternal _RedisGetRangeRequestPB_default_instance_;
167
class RedisGetRequestPB;
168
class RedisGetRequestPBDefaultTypeInternal;
169
extern RedisGetRequestPBDefaultTypeInternal _RedisGetRequestPB_default_instance_;
170
class RedisGetSetRequestPB;
171
class RedisGetSetRequestPBDefaultTypeInternal;
172
extern RedisGetSetRequestPBDefaultTypeInternal _RedisGetSetRequestPB_default_instance_;
173
class RedisGetTtlRequestPB;
174
class RedisGetTtlRequestPBDefaultTypeInternal;
175
extern RedisGetTtlRequestPBDefaultTypeInternal _RedisGetTtlRequestPB_default_instance_;
176
class RedisIncrRequestPB;
177
class RedisIncrRequestPBDefaultTypeInternal;
178
extern RedisIncrRequestPBDefaultTypeInternal _RedisIncrRequestPB_default_instance_;
179
class RedisIndexBoundPB;
180
class RedisIndexBoundPBDefaultTypeInternal;
181
extern RedisIndexBoundPBDefaultTypeInternal _RedisIndexBoundPB_default_instance_;
182
class RedisIndexRangePB;
183
class RedisIndexRangePBDefaultTypeInternal;
184
extern RedisIndexRangePBDefaultTypeInternal _RedisIndexRangePB_default_instance_;
185
class RedisInsertRequestPB;
186
class RedisInsertRequestPBDefaultTypeInternal;
187
extern RedisInsertRequestPBDefaultTypeInternal _RedisInsertRequestPB_default_instance_;
188
class RedisKeyValuePB;
189
class RedisKeyValuePBDefaultTypeInternal;
190
extern RedisKeyValuePBDefaultTypeInternal _RedisKeyValuePB_default_instance_;
191
class RedisKeyValueSubKeyPB;
192
class RedisKeyValueSubKeyPBDefaultTypeInternal;
193
extern RedisKeyValueSubKeyPBDefaultTypeInternal _RedisKeyValueSubKeyPB_default_instance_;
194
class RedisKeysRequestPB;
195
class RedisKeysRequestPBDefaultTypeInternal;
196
extern RedisKeysRequestPBDefaultTypeInternal _RedisKeysRequestPB_default_instance_;
197
class RedisNoOpRequestPB;
198
class RedisNoOpRequestPBDefaultTypeInternal;
199
extern RedisNoOpRequestPBDefaultTypeInternal _RedisNoOpRequestPB_default_instance_;
200
class RedisPopRequestPB;
201
class RedisPopRequestPBDefaultTypeInternal;
202
extern RedisPopRequestPBDefaultTypeInternal _RedisPopRequestPB_default_instance_;
203
class RedisPushRequestPB;
204
class RedisPushRequestPBDefaultTypeInternal;
205
extern RedisPushRequestPBDefaultTypeInternal _RedisPushRequestPB_default_instance_;
206
class RedisReadRequestPB;
207
class RedisReadRequestPBDefaultTypeInternal;
208
extern RedisReadRequestPBDefaultTypeInternal _RedisReadRequestPB_default_instance_;
209
class RedisResponsePB;
210
class RedisResponsePBDefaultTypeInternal;
211
extern RedisResponsePBDefaultTypeInternal _RedisResponsePB_default_instance_;
212
class RedisSetRangeRequestPB;
213
class RedisSetRangeRequestPBDefaultTypeInternal;
214
extern RedisSetRangeRequestPBDefaultTypeInternal _RedisSetRangeRequestPB_default_instance_;
215
class RedisSetRequestPB;
216
class RedisSetRequestPBDefaultTypeInternal;
217
extern RedisSetRequestPBDefaultTypeInternal _RedisSetRequestPB_default_instance_;
218
class RedisSetTtlRequestPB;
219
class RedisSetTtlRequestPBDefaultTypeInternal;
220
extern RedisSetTtlRequestPBDefaultTypeInternal _RedisSetTtlRequestPB_default_instance_;
221
class RedisStrLenRequestPB;
222
class RedisStrLenRequestPBDefaultTypeInternal;
223
extern RedisStrLenRequestPBDefaultTypeInternal _RedisStrLenRequestPB_default_instance_;
224
class RedisSubKeyBoundPB;
225
class RedisSubKeyBoundPBDefaultTypeInternal;
226
extern RedisSubKeyBoundPBDefaultTypeInternal _RedisSubKeyBoundPB_default_instance_;
227
class RedisSubKeyRangePB;
228
class RedisSubKeyRangePBDefaultTypeInternal;
229
extern RedisSubKeyRangePBDefaultTypeInternal _RedisSubKeyRangePB_default_instance_;
230
class RedisWriteRequestPB;
231
class RedisWriteRequestPBDefaultTypeInternal;
232
extern RedisWriteRequestPBDefaultTypeInternal _RedisWriteRequestPB_default_instance_;
233
class SortedSetOptionsPB;
234
class SortedSetOptionsPBDefaultTypeInternal;
235
extern SortedSetOptionsPBDefaultTypeInternal _SortedSetOptionsPB_default_instance_;
236
}  // namespace yb
237
namespace yb {
238
239
enum RedisSubKeyBoundPB_InfinityType {
240
  RedisSubKeyBoundPB_InfinityType_POSITIVE = 1,
241
  RedisSubKeyBoundPB_InfinityType_NEGATIVE = 2
242
};
243
bool RedisSubKeyBoundPB_InfinityType_IsValid(int value);
244
const RedisSubKeyBoundPB_InfinityType RedisSubKeyBoundPB_InfinityType_InfinityType_MIN = RedisSubKeyBoundPB_InfinityType_POSITIVE;
245
const RedisSubKeyBoundPB_InfinityType RedisSubKeyBoundPB_InfinityType_InfinityType_MAX = RedisSubKeyBoundPB_InfinityType_NEGATIVE;
246
const int RedisSubKeyBoundPB_InfinityType_InfinityType_ARRAYSIZE = RedisSubKeyBoundPB_InfinityType_InfinityType_MAX + 1;
247
248
const ::google::protobuf::EnumDescriptor* RedisSubKeyBoundPB_InfinityType_descriptor();
249
0
inline const ::std::string& RedisSubKeyBoundPB_InfinityType_Name(RedisSubKeyBoundPB_InfinityType value) {
250
0
  return ::google::protobuf::internal::NameOfEnum(
251
0
    RedisSubKeyBoundPB_InfinityType_descriptor(), value);
252
0
}
253
inline bool RedisSubKeyBoundPB_InfinityType_Parse(
254
0
    const ::std::string& name, RedisSubKeyBoundPB_InfinityType* value) {
255
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisSubKeyBoundPB_InfinityType>(
256
0
    RedisSubKeyBoundPB_InfinityType_descriptor(), name, value);
257
0
}
258
enum SortedSetOptionsPB_UpdateOptions {
259
  SortedSetOptionsPB_UpdateOptions_NX = 1,
260
  SortedSetOptionsPB_UpdateOptions_XX = 2,
261
  SortedSetOptionsPB_UpdateOptions_NONE = 3
262
};
263
bool SortedSetOptionsPB_UpdateOptions_IsValid(int value);
264
const SortedSetOptionsPB_UpdateOptions SortedSetOptionsPB_UpdateOptions_UpdateOptions_MIN = SortedSetOptionsPB_UpdateOptions_NX;
265
const SortedSetOptionsPB_UpdateOptions SortedSetOptionsPB_UpdateOptions_UpdateOptions_MAX = SortedSetOptionsPB_UpdateOptions_NONE;
266
const int SortedSetOptionsPB_UpdateOptions_UpdateOptions_ARRAYSIZE = SortedSetOptionsPB_UpdateOptions_UpdateOptions_MAX + 1;
267
268
const ::google::protobuf::EnumDescriptor* SortedSetOptionsPB_UpdateOptions_descriptor();
269
0
inline const ::std::string& SortedSetOptionsPB_UpdateOptions_Name(SortedSetOptionsPB_UpdateOptions value) {
270
0
  return ::google::protobuf::internal::NameOfEnum(
271
0
    SortedSetOptionsPB_UpdateOptions_descriptor(), value);
272
0
}
273
inline bool SortedSetOptionsPB_UpdateOptions_Parse(
274
0
    const ::std::string& name, SortedSetOptionsPB_UpdateOptions* value) {
275
0
  return ::google::protobuf::internal::ParseNamedEnum<SortedSetOptionsPB_UpdateOptions>(
276
0
    SortedSetOptionsPB_UpdateOptions_descriptor(), name, value);
277
0
}
278
enum RedisGetRequestPB_GetRequestType {
279
  RedisGetRequestPB_GetRequestType_GET = 1,
280
  RedisGetRequestPB_GetRequestType_MGET = 3,
281
  RedisGetRequestPB_GetRequestType_HGET = 2,
282
  RedisGetRequestPB_GetRequestType_HMGET = 4,
283
  RedisGetRequestPB_GetRequestType_HGETALL = 5,
284
  RedisGetRequestPB_GetRequestType_HKEYS = 7,
285
  RedisGetRequestPB_GetRequestType_HVALS = 8,
286
  RedisGetRequestPB_GetRequestType_HLEN = 9,
287
  RedisGetRequestPB_GetRequestType_HEXISTS = 10,
288
  RedisGetRequestPB_GetRequestType_HSTRLEN = 11,
289
  RedisGetRequestPB_GetRequestType_SMEMBERS = 6,
290
  RedisGetRequestPB_GetRequestType_SISMEMBER = 12,
291
  RedisGetRequestPB_GetRequestType_SCARD = 13,
292
  RedisGetRequestPB_GetRequestType_ZCARD = 15,
293
  RedisGetRequestPB_GetRequestType_TSGET = 14,
294
  RedisGetRequestPB_GetRequestType_TSCARD = 16,
295
  RedisGetRequestPB_GetRequestType_ZSCORE = 17,
296
  RedisGetRequestPB_GetRequestType_LLEN = 18,
297
  RedisGetRequestPB_GetRequestType_UNKNOWN = 99
298
};
299
bool RedisGetRequestPB_GetRequestType_IsValid(int value);
300
const RedisGetRequestPB_GetRequestType RedisGetRequestPB_GetRequestType_GetRequestType_MIN = RedisGetRequestPB_GetRequestType_GET;
301
const RedisGetRequestPB_GetRequestType RedisGetRequestPB_GetRequestType_GetRequestType_MAX = RedisGetRequestPB_GetRequestType_UNKNOWN;
302
const int RedisGetRequestPB_GetRequestType_GetRequestType_ARRAYSIZE = RedisGetRequestPB_GetRequestType_GetRequestType_MAX + 1;
303
304
const ::google::protobuf::EnumDescriptor* RedisGetRequestPB_GetRequestType_descriptor();
305
0
inline const ::std::string& RedisGetRequestPB_GetRequestType_Name(RedisGetRequestPB_GetRequestType value) {
306
0
  return ::google::protobuf::internal::NameOfEnum(
307
0
    RedisGetRequestPB_GetRequestType_descriptor(), value);
308
0
}
309
inline bool RedisGetRequestPB_GetRequestType_Parse(
310
0
    const ::std::string& name, RedisGetRequestPB_GetRequestType* value) {
311
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisGetRequestPB_GetRequestType>(
312
0
    RedisGetRequestPB_GetRequestType_descriptor(), name, value);
313
0
}
314
enum RedisCollectionGetRangeRequestPB_GetRangeRequestType {
315
  RedisCollectionGetRangeRequestPB_GetRangeRequestType_TSRANGEBYTIME = 1,
316
  RedisCollectionGetRangeRequestPB_GetRangeRequestType_ZRANGEBYSCORE = 2,
317
  RedisCollectionGetRangeRequestPB_GetRangeRequestType_ZREVRANGE = 3,
318
  RedisCollectionGetRangeRequestPB_GetRangeRequestType_ZRANGE = 4,
319
  RedisCollectionGetRangeRequestPB_GetRangeRequestType_TSREVRANGEBYTIME = 5,
320
  RedisCollectionGetRangeRequestPB_GetRangeRequestType_UNKNOWN = 99
321
};
322
bool RedisCollectionGetRangeRequestPB_GetRangeRequestType_IsValid(int value);
323
const RedisCollectionGetRangeRequestPB_GetRangeRequestType RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_MIN = RedisCollectionGetRangeRequestPB_GetRangeRequestType_TSRANGEBYTIME;
324
const RedisCollectionGetRangeRequestPB_GetRangeRequestType RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_MAX = RedisCollectionGetRangeRequestPB_GetRangeRequestType_UNKNOWN;
325
const int RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_ARRAYSIZE = RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_MAX + 1;
326
327
const ::google::protobuf::EnumDescriptor* RedisCollectionGetRangeRequestPB_GetRangeRequestType_descriptor();
328
0
inline const ::std::string& RedisCollectionGetRangeRequestPB_GetRangeRequestType_Name(RedisCollectionGetRangeRequestPB_GetRangeRequestType value) {
329
0
  return ::google::protobuf::internal::NameOfEnum(
330
0
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_descriptor(), value);
331
0
}
332
inline bool RedisCollectionGetRangeRequestPB_GetRangeRequestType_Parse(
333
0
    const ::std::string& name, RedisCollectionGetRangeRequestPB_GetRangeRequestType* value) {
334
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisCollectionGetRangeRequestPB_GetRangeRequestType>(
335
0
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_descriptor(), name, value);
336
0
}
337
enum RedisResponsePB_RedisStatusCode {
338
  RedisResponsePB_RedisStatusCode_OK = 1,
339
  RedisResponsePB_RedisStatusCode_NIL = 2,
340
  RedisResponsePB_RedisStatusCode_NOT_FOUND = 5,
341
  RedisResponsePB_RedisStatusCode_UNKNOWN_COMMAND = 3,
342
  RedisResponsePB_RedisStatusCode_WRONG_TYPE = 4,
343
  RedisResponsePB_RedisStatusCode_SERVER_ERROR = 6,
344
  RedisResponsePB_RedisStatusCode_INDEX_OUT_OF_BOUNDS = 7,
345
  RedisResponsePB_RedisStatusCode_PARSING_ERROR = 8
346
};
347
bool RedisResponsePB_RedisStatusCode_IsValid(int value);
348
const RedisResponsePB_RedisStatusCode RedisResponsePB_RedisStatusCode_RedisStatusCode_MIN = RedisResponsePB_RedisStatusCode_OK;
349
const RedisResponsePB_RedisStatusCode RedisResponsePB_RedisStatusCode_RedisStatusCode_MAX = RedisResponsePB_RedisStatusCode_PARSING_ERROR;
350
const int RedisResponsePB_RedisStatusCode_RedisStatusCode_ARRAYSIZE = RedisResponsePB_RedisStatusCode_RedisStatusCode_MAX + 1;
351
352
const ::google::protobuf::EnumDescriptor* RedisResponsePB_RedisStatusCode_descriptor();
353
0
inline const ::std::string& RedisResponsePB_RedisStatusCode_Name(RedisResponsePB_RedisStatusCode value) {
354
0
  return ::google::protobuf::internal::NameOfEnum(
355
0
    RedisResponsePB_RedisStatusCode_descriptor(), value);
356
0
}
357
inline bool RedisResponsePB_RedisStatusCode_Parse(
358
0
    const ::std::string& name, RedisResponsePB_RedisStatusCode* value) {
359
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisResponsePB_RedisStatusCode>(
360
0
    RedisResponsePB_RedisStatusCode_descriptor(), name, value);
361
0
}
362
enum RedisDataType {
363
  REDIS_TYPE_NONE = 1,
364
  REDIS_TYPE_STRING = 2,
365
  REDIS_TYPE_LIST = 3,
366
  REDIS_TYPE_SET = 4,
367
  REDIS_TYPE_HASH = 5,
368
  REDIS_TYPE_SORTEDSET = 6,
369
  REDIS_TYPE_TIMESERIES = 7
370
};
371
bool RedisDataType_IsValid(int value);
372
const RedisDataType RedisDataType_MIN = REDIS_TYPE_NONE;
373
const RedisDataType RedisDataType_MAX = REDIS_TYPE_TIMESERIES;
374
const int RedisDataType_ARRAYSIZE = RedisDataType_MAX + 1;
375
376
const ::google::protobuf::EnumDescriptor* RedisDataType_descriptor();
377
0
inline const ::std::string& RedisDataType_Name(RedisDataType value) {
378
0
  return ::google::protobuf::internal::NameOfEnum(
379
0
    RedisDataType_descriptor(), value);
380
0
}
381
inline bool RedisDataType_Parse(
382
0
    const ::std::string& name, RedisDataType* value) {
383
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisDataType>(
384
0
    RedisDataType_descriptor(), name, value);
385
0
}
386
enum RedisSide {
387
  REDIS_SIDE_LEFT = 1,
388
  REDIS_SIDE_RIGHT = 2
389
};
390
bool RedisSide_IsValid(int value);
391
const RedisSide RedisSide_MIN = REDIS_SIDE_LEFT;
392
const RedisSide RedisSide_MAX = REDIS_SIDE_RIGHT;
393
const int RedisSide_ARRAYSIZE = RedisSide_MAX + 1;
394
395
const ::google::protobuf::EnumDescriptor* RedisSide_descriptor();
396
0
inline const ::std::string& RedisSide_Name(RedisSide value) {
397
0
  return ::google::protobuf::internal::NameOfEnum(
398
0
    RedisSide_descriptor(), value);
399
0
}
400
inline bool RedisSide_Parse(
401
0
    const ::std::string& name, RedisSide* value) {
402
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisSide>(
403
0
    RedisSide_descriptor(), name, value);
404
0
}
405
enum RedisOrder {
406
  REDIS_ORDER_BEFORE = 1,
407
  REDIS_ORDER_AFTER = 2
408
};
409
bool RedisOrder_IsValid(int value);
410
const RedisOrder RedisOrder_MIN = REDIS_ORDER_BEFORE;
411
const RedisOrder RedisOrder_MAX = REDIS_ORDER_AFTER;
412
const int RedisOrder_ARRAYSIZE = RedisOrder_MAX + 1;
413
414
const ::google::protobuf::EnumDescriptor* RedisOrder_descriptor();
415
0
inline const ::std::string& RedisOrder_Name(RedisOrder value) {
416
0
  return ::google::protobuf::internal::NameOfEnum(
417
0
    RedisOrder_descriptor(), value);
418
0
}
419
inline bool RedisOrder_Parse(
420
0
    const ::std::string& name, RedisOrder* value) {
421
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisOrder>(
422
0
    RedisOrder_descriptor(), name, value);
423
0
}
424
enum RedisWriteMode {
425
  REDIS_WRITEMODE_UPSERT = 1,
426
  REDIS_WRITEMODE_INSERT = 2,
427
  REDIS_WRITEMODE_UPDATE = 3
428
};
429
bool RedisWriteMode_IsValid(int value);
430
const RedisWriteMode RedisWriteMode_MIN = REDIS_WRITEMODE_UPSERT;
431
const RedisWriteMode RedisWriteMode_MAX = REDIS_WRITEMODE_UPDATE;
432
const int RedisWriteMode_ARRAYSIZE = RedisWriteMode_MAX + 1;
433
434
const ::google::protobuf::EnumDescriptor* RedisWriteMode_descriptor();
435
0
inline const ::std::string& RedisWriteMode_Name(RedisWriteMode value) {
436
0
  return ::google::protobuf::internal::NameOfEnum(
437
0
    RedisWriteMode_descriptor(), value);
438
0
}
439
inline bool RedisWriteMode_Parse(
440
0
    const ::std::string& name, RedisWriteMode* value) {
441
0
  return ::google::protobuf::internal::ParseNamedEnum<RedisWriteMode>(
442
0
    RedisWriteMode_descriptor(), name, value);
443
0
}
444
// ===================================================================
445
446
class RedisWriteRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisWriteRequestPB) */ {
447
 public:
448
  RedisWriteRequestPB();
449
  virtual ~RedisWriteRequestPB();
450
451
  RedisWriteRequestPB(const RedisWriteRequestPB& from);
452
453
0
  inline RedisWriteRequestPB& operator=(const RedisWriteRequestPB& from) {
454
0
    CopyFrom(from);
455
0
    return *this;
456
0
  }
457
  #if LANG_CXX11
458
  RedisWriteRequestPB(RedisWriteRequestPB&& from) noexcept
459
0
    : RedisWriteRequestPB() {
460
0
    *this = ::std::move(from);
461
0
  }
462
463
0
  inline RedisWriteRequestPB& operator=(RedisWriteRequestPB&& from) noexcept {
464
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
465
0
      if (this != &from) InternalSwap(&from);
466
0
    } else {
467
0
      CopyFrom(from);
468
0
    }
469
0
    return *this;
470
0
  }
471
  #endif
472
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
473
0
    return _internal_metadata_.unknown_fields();
474
0
  }
475
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
476
0
    return _internal_metadata_.mutable_unknown_fields();
477
0
  }
478
479
  static const ::google::protobuf::Descriptor* descriptor();
480
  static const RedisWriteRequestPB& default_instance();
481
482
  enum RequestCase {
483
    kSetRequest = 2,
484
    kGetsetRequest = 3,
485
    kAppendRequest = 4,
486
    kDelRequest = 5,
487
    kSetRangeRequest = 6,
488
    kIncrRequest = 7,
489
    kPushRequest = 8,
490
    kInsertRequest = 9,
491
    kPopRequest = 10,
492
    kAddRequest = 11,
493
    kSetTtlRequest = 12,
494
    kNoOpRequest = 14,
495
    REQUEST_NOT_SET = 0,
496
  };
497
498
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
499
183k
  static inline const RedisWriteRequestPB* internal_default_instance() {
500
183k
    return reinterpret_cast<const RedisWriteRequestPB*>(
501
183k
               &_RedisWriteRequestPB_default_instance_);
502
183k
  }
503
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
504
    0;
505
506
  void Swap(RedisWriteRequestPB* other);
507
0
  friend void swap(RedisWriteRequestPB& a, RedisWriteRequestPB& b) {
508
0
    a.Swap(&b);
509
0
  }
510
511
  // implements Message ----------------------------------------------
512
513
0
  inline RedisWriteRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
514
515
  RedisWriteRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
516
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
517
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
518
  void CopyFrom(const RedisWriteRequestPB& from);
519
  void MergeFrom(const RedisWriteRequestPB& from);
520
  void Clear() PROTOBUF_FINAL;
521
  bool IsInitialized() const PROTOBUF_FINAL;
522
523
  size_t ByteSizeLong() const PROTOBUF_FINAL;
524
  bool MergePartialFromCodedStream(
525
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
526
  void SerializeWithCachedSizes(
527
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
528
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
529
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
530
21.5k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
531
  private:
532
  void SharedCtor();
533
  void SharedDtor();
534
  void SetCachedSize(int size) const PROTOBUF_FINAL;
535
  void InternalSwap(RedisWriteRequestPB* other);
536
  private:
537
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
538
0
    return NULL;
539
0
  }
540
0
  inline void* MaybeArenaPtr() const {
541
0
    return NULL;
542
0
  }
543
  public:
544
545
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
546
547
  // nested types ----------------------------------------------------
548
549
  // accessors -------------------------------------------------------
550
551
  // optional .yb.RedisKeyValuePB key_value = 13;
552
  bool has_key_value() const;
553
  void clear_key_value();
554
  static const int kKeyValueFieldNumber = 13;
555
  const ::yb::RedisKeyValuePB& key_value() const;
556
  ::yb::RedisKeyValuePB* release_key_value();
557
  ::yb::RedisKeyValuePB* mutable_key_value();
558
  void set_allocated_key_value(::yb::RedisKeyValuePB* key_value);
559
560
  // optional .yb.RedisSetRequestPB set_request = 2;
561
  bool has_set_request() const;
562
  void clear_set_request();
563
  static const int kSetRequestFieldNumber = 2;
564
  const ::yb::RedisSetRequestPB& set_request() const;
565
  ::yb::RedisSetRequestPB* release_set_request();
566
  ::yb::RedisSetRequestPB* mutable_set_request();
567
  void set_allocated_set_request(::yb::RedisSetRequestPB* set_request);
568
569
  // optional .yb.RedisGetSetRequestPB getset_request = 3;
570
  bool has_getset_request() const;
571
  void clear_getset_request();
572
  static const int kGetsetRequestFieldNumber = 3;
573
  const ::yb::RedisGetSetRequestPB& getset_request() const;
574
  ::yb::RedisGetSetRequestPB* release_getset_request();
575
  ::yb::RedisGetSetRequestPB* mutable_getset_request();
576
  void set_allocated_getset_request(::yb::RedisGetSetRequestPB* getset_request);
577
578
  // optional .yb.RedisAppendRequestPB append_request = 4;
579
  bool has_append_request() const;
580
  void clear_append_request();
581
  static const int kAppendRequestFieldNumber = 4;
582
  const ::yb::RedisAppendRequestPB& append_request() const;
583
  ::yb::RedisAppendRequestPB* release_append_request();
584
  ::yb::RedisAppendRequestPB* mutable_append_request();
585
  void set_allocated_append_request(::yb::RedisAppendRequestPB* append_request);
586
587
  // optional .yb.RedisDelRequestPB del_request = 5;
588
  bool has_del_request() const;
589
  void clear_del_request();
590
  static const int kDelRequestFieldNumber = 5;
591
  const ::yb::RedisDelRequestPB& del_request() const;
592
  ::yb::RedisDelRequestPB* release_del_request();
593
  ::yb::RedisDelRequestPB* mutable_del_request();
594
  void set_allocated_del_request(::yb::RedisDelRequestPB* del_request);
595
596
  // optional .yb.RedisSetRangeRequestPB set_range_request = 6;
597
  bool has_set_range_request() const;
598
  void clear_set_range_request();
599
  static const int kSetRangeRequestFieldNumber = 6;
600
  const ::yb::RedisSetRangeRequestPB& set_range_request() const;
601
  ::yb::RedisSetRangeRequestPB* release_set_range_request();
602
  ::yb::RedisSetRangeRequestPB* mutable_set_range_request();
603
  void set_allocated_set_range_request(::yb::RedisSetRangeRequestPB* set_range_request);
604
605
  // optional .yb.RedisIncrRequestPB incr_request = 7;
606
  bool has_incr_request() const;
607
  void clear_incr_request();
608
  static const int kIncrRequestFieldNumber = 7;
609
  const ::yb::RedisIncrRequestPB& incr_request() const;
610
  ::yb::RedisIncrRequestPB* release_incr_request();
611
  ::yb::RedisIncrRequestPB* mutable_incr_request();
612
  void set_allocated_incr_request(::yb::RedisIncrRequestPB* incr_request);
613
614
  // optional .yb.RedisPushRequestPB push_request = 8;
615
  bool has_push_request() const;
616
  void clear_push_request();
617
  static const int kPushRequestFieldNumber = 8;
618
  const ::yb::RedisPushRequestPB& push_request() const;
619
  ::yb::RedisPushRequestPB* release_push_request();
620
  ::yb::RedisPushRequestPB* mutable_push_request();
621
  void set_allocated_push_request(::yb::RedisPushRequestPB* push_request);
622
623
  // optional .yb.RedisInsertRequestPB insert_request = 9;
624
  bool has_insert_request() const;
625
  void clear_insert_request();
626
  static const int kInsertRequestFieldNumber = 9;
627
  const ::yb::RedisInsertRequestPB& insert_request() const;
628
  ::yb::RedisInsertRequestPB* release_insert_request();
629
  ::yb::RedisInsertRequestPB* mutable_insert_request();
630
  void set_allocated_insert_request(::yb::RedisInsertRequestPB* insert_request);
631
632
  // optional .yb.RedisPopRequestPB pop_request = 10;
633
  bool has_pop_request() const;
634
  void clear_pop_request();
635
  static const int kPopRequestFieldNumber = 10;
636
  const ::yb::RedisPopRequestPB& pop_request() const;
637
  ::yb::RedisPopRequestPB* release_pop_request();
638
  ::yb::RedisPopRequestPB* mutable_pop_request();
639
  void set_allocated_pop_request(::yb::RedisPopRequestPB* pop_request);
640
641
  // optional .yb.RedisAddRequestPB add_request = 11;
642
  bool has_add_request() const;
643
  void clear_add_request();
644
  static const int kAddRequestFieldNumber = 11;
645
  const ::yb::RedisAddRequestPB& add_request() const;
646
  ::yb::RedisAddRequestPB* release_add_request();
647
  ::yb::RedisAddRequestPB* mutable_add_request();
648
  void set_allocated_add_request(::yb::RedisAddRequestPB* add_request);
649
650
  // optional .yb.RedisSetTtlRequestPB set_ttl_request = 12;
651
  bool has_set_ttl_request() const;
652
  void clear_set_ttl_request();
653
  static const int kSetTtlRequestFieldNumber = 12;
654
  const ::yb::RedisSetTtlRequestPB& set_ttl_request() const;
655
  ::yb::RedisSetTtlRequestPB* release_set_ttl_request();
656
  ::yb::RedisSetTtlRequestPB* mutable_set_ttl_request();
657
  void set_allocated_set_ttl_request(::yb::RedisSetTtlRequestPB* set_ttl_request);
658
659
  // optional .yb.RedisNoOpRequestPB no_op_request = 14;
660
  bool has_no_op_request() const;
661
  void clear_no_op_request();
662
  static const int kNoOpRequestFieldNumber = 14;
663
  const ::yb::RedisNoOpRequestPB& no_op_request() const;
664
  ::yb::RedisNoOpRequestPB* release_no_op_request();
665
  ::yb::RedisNoOpRequestPB* mutable_no_op_request();
666
  void set_allocated_no_op_request(::yb::RedisNoOpRequestPB* no_op_request);
667
668
  RequestCase request_case() const;
669
  // @@protoc_insertion_point(class_scope:yb.RedisWriteRequestPB)
670
 private:
671
  void set_has_set_request();
672
  void set_has_getset_request();
673
  void set_has_append_request();
674
  void set_has_del_request();
675
  void set_has_set_range_request();
676
  void set_has_incr_request();
677
  void set_has_push_request();
678
  void set_has_insert_request();
679
  void set_has_pop_request();
680
  void set_has_add_request();
681
  void set_has_set_ttl_request();
682
  void set_has_no_op_request();
683
  void set_has_key_value();
684
  void clear_has_key_value();
685
686
  inline bool has_request() const;
687
  void clear_request();
688
  inline void clear_has_request();
689
690
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
691
  ::google::protobuf::internal::HasBits<1> _has_bits_;
692
  mutable int _cached_size_;
693
  ::yb::RedisKeyValuePB* key_value_;
694
  union RequestUnion {
695
100k
    RequestUnion() {}
696
    ::yb::RedisSetRequestPB* set_request_;
697
    ::yb::RedisGetSetRequestPB* getset_request_;
698
    ::yb::RedisAppendRequestPB* append_request_;
699
    ::yb::RedisDelRequestPB* del_request_;
700
    ::yb::RedisSetRangeRequestPB* set_range_request_;
701
    ::yb::RedisIncrRequestPB* incr_request_;
702
    ::yb::RedisPushRequestPB* push_request_;
703
    ::yb::RedisInsertRequestPB* insert_request_;
704
    ::yb::RedisPopRequestPB* pop_request_;
705
    ::yb::RedisAddRequestPB* add_request_;
706
    ::yb::RedisSetTtlRequestPB* set_ttl_request_;
707
    ::yb::RedisNoOpRequestPB* no_op_request_;
708
  } request_;
709
  ::google::protobuf::uint32 _oneof_case_[1];
710
711
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
712
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisWriteRequestPBImpl();
713
};
714
// -------------------------------------------------------------------
715
716
class RedisReadRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisReadRequestPB) */ {
717
 public:
718
  RedisReadRequestPB();
719
  virtual ~RedisReadRequestPB();
720
721
  RedisReadRequestPB(const RedisReadRequestPB& from);
722
723
0
  inline RedisReadRequestPB& operator=(const RedisReadRequestPB& from) {
724
0
    CopyFrom(from);
725
0
    return *this;
726
0
  }
727
  #if LANG_CXX11
728
  RedisReadRequestPB(RedisReadRequestPB&& from) noexcept
729
0
    : RedisReadRequestPB() {
730
0
    *this = ::std::move(from);
731
0
  }
732
733
0
  inline RedisReadRequestPB& operator=(RedisReadRequestPB&& from) noexcept {
734
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
735
0
      if (this != &from) InternalSwap(&from);
736
0
    } else {
737
0
      CopyFrom(from);
738
0
    }
739
0
    return *this;
740
0
  }
741
  #endif
742
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
743
0
    return _internal_metadata_.unknown_fields();
744
0
  }
745
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
746
0
    return _internal_metadata_.mutable_unknown_fields();
747
0
  }
748
749
  static const ::google::protobuf::Descriptor* descriptor();
750
  static const RedisReadRequestPB& default_instance();
751
752
  enum RequestCase {
753
    kGetRequest = 2,
754
    kStrlenRequest = 3,
755
    kExistsRequest = 4,
756
    kGetRangeRequest = 5,
757
    kGetCollectionRangeRequest = 9,
758
    kGetTtlRequest = 11,
759
    kKeysRequest = 12,
760
    kGetForRenameRequest = 13,
761
    REQUEST_NOT_SET = 0,
762
  };
763
764
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
765
359k
  static inline const RedisReadRequestPB* internal_default_instance() {
766
359k
    return reinterpret_cast<const RedisReadRequestPB*>(
767
359k
               &_RedisReadRequestPB_default_instance_);
768
359k
  }
769
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
770
    1;
771
772
  void Swap(RedisReadRequestPB* other);
773
0
  friend void swap(RedisReadRequestPB& a, RedisReadRequestPB& b) {
774
0
    a.Swap(&b);
775
0
  }
776
777
  // implements Message ----------------------------------------------
778
779
0
  inline RedisReadRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
780
781
  RedisReadRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
782
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
783
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
784
  void CopyFrom(const RedisReadRequestPB& from);
785
  void MergeFrom(const RedisReadRequestPB& from);
786
  void Clear() PROTOBUF_FINAL;
787
  bool IsInitialized() const PROTOBUF_FINAL;
788
789
  size_t ByteSizeLong() const PROTOBUF_FINAL;
790
  bool MergePartialFromCodedStream(
791
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
792
  void SerializeWithCachedSizes(
793
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
794
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
795
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
796
10.3k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
797
  private:
798
  void SharedCtor();
799
  void SharedDtor();
800
  void SetCachedSize(int size) const PROTOBUF_FINAL;
801
  void InternalSwap(RedisReadRequestPB* other);
802
  private:
803
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
804
0
    return NULL;
805
0
  }
806
0
  inline void* MaybeArenaPtr() const {
807
0
    return NULL;
808
0
  }
809
  public:
810
811
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
812
813
  // nested types ----------------------------------------------------
814
815
  // accessors -------------------------------------------------------
816
817
  // optional .yb.RedisKeyValuePB key_value = 6;
818
  bool has_key_value() const;
819
  void clear_key_value();
820
  static const int kKeyValueFieldNumber = 6;
821
  const ::yb::RedisKeyValuePB& key_value() const;
822
  ::yb::RedisKeyValuePB* release_key_value();
823
  ::yb::RedisKeyValuePB* mutable_key_value();
824
  void set_allocated_key_value(::yb::RedisKeyValuePB* key_value);
825
826
  // optional .yb.RedisSubKeyRangePB subkey_range = 7;
827
  bool has_subkey_range() const;
828
  void clear_subkey_range();
829
  static const int kSubkeyRangeFieldNumber = 7;
830
  const ::yb::RedisSubKeyRangePB& subkey_range() const;
831
  ::yb::RedisSubKeyRangePB* release_subkey_range();
832
  ::yb::RedisSubKeyRangePB* mutable_subkey_range();
833
  void set_allocated_subkey_range(::yb::RedisSubKeyRangePB* subkey_range);
834
835
  // optional .yb.RedisIndexRangePB index_range = 8;
836
  bool has_index_range() const;
837
  void clear_index_range();
838
  static const int kIndexRangeFieldNumber = 8;
839
  const ::yb::RedisIndexRangePB& index_range() const;
840
  ::yb::RedisIndexRangePB* release_index_range();
841
  ::yb::RedisIndexRangePB* mutable_index_range();
842
  void set_allocated_index_range(::yb::RedisIndexRangePB* index_range);
843
844
  // optional int32 range_request_limit = 10 [default = 0];
845
  bool has_range_request_limit() const;
846
  void clear_range_request_limit();
847
  static const int kRangeRequestLimitFieldNumber = 10;
848
  ::google::protobuf::int32 range_request_limit() const;
849
  void set_range_request_limit(::google::protobuf::int32 value);
850
851
  // optional .yb.RedisGetRequestPB get_request = 2;
852
  bool has_get_request() const;
853
  void clear_get_request();
854
  static const int kGetRequestFieldNumber = 2;
855
  const ::yb::RedisGetRequestPB& get_request() const;
856
  ::yb::RedisGetRequestPB* release_get_request();
857
  ::yb::RedisGetRequestPB* mutable_get_request();
858
  void set_allocated_get_request(::yb::RedisGetRequestPB* get_request);
859
860
  // optional .yb.RedisStrLenRequestPB strlen_request = 3;
861
  bool has_strlen_request() const;
862
  void clear_strlen_request();
863
  static const int kStrlenRequestFieldNumber = 3;
864
  const ::yb::RedisStrLenRequestPB& strlen_request() const;
865
  ::yb::RedisStrLenRequestPB* release_strlen_request();
866
  ::yb::RedisStrLenRequestPB* mutable_strlen_request();
867
  void set_allocated_strlen_request(::yb::RedisStrLenRequestPB* strlen_request);
868
869
  // optional .yb.RedisExistsRequestPB exists_request = 4;
870
  bool has_exists_request() const;
871
  void clear_exists_request();
872
  static const int kExistsRequestFieldNumber = 4;
873
  const ::yb::RedisExistsRequestPB& exists_request() const;
874
  ::yb::RedisExistsRequestPB* release_exists_request();
875
  ::yb::RedisExistsRequestPB* mutable_exists_request();
876
  void set_allocated_exists_request(::yb::RedisExistsRequestPB* exists_request);
877
878
  // optional .yb.RedisGetRangeRequestPB get_range_request = 5;
879
  bool has_get_range_request() const;
880
  void clear_get_range_request();
881
  static const int kGetRangeRequestFieldNumber = 5;
882
  const ::yb::RedisGetRangeRequestPB& get_range_request() const;
883
  ::yb::RedisGetRangeRequestPB* release_get_range_request();
884
  ::yb::RedisGetRangeRequestPB* mutable_get_range_request();
885
  void set_allocated_get_range_request(::yb::RedisGetRangeRequestPB* get_range_request);
886
887
  // optional .yb.RedisCollectionGetRangeRequestPB get_collection_range_request = 9;
888
  bool has_get_collection_range_request() const;
889
  void clear_get_collection_range_request();
890
  static const int kGetCollectionRangeRequestFieldNumber = 9;
891
  const ::yb::RedisCollectionGetRangeRequestPB& get_collection_range_request() const;
892
  ::yb::RedisCollectionGetRangeRequestPB* release_get_collection_range_request();
893
  ::yb::RedisCollectionGetRangeRequestPB* mutable_get_collection_range_request();
894
  void set_allocated_get_collection_range_request(::yb::RedisCollectionGetRangeRequestPB* get_collection_range_request);
895
896
  // optional .yb.RedisGetTtlRequestPB get_ttl_request = 11;
897
  bool has_get_ttl_request() const;
898
  void clear_get_ttl_request();
899
  static const int kGetTtlRequestFieldNumber = 11;
900
  const ::yb::RedisGetTtlRequestPB& get_ttl_request() const;
901
  ::yb::RedisGetTtlRequestPB* release_get_ttl_request();
902
  ::yb::RedisGetTtlRequestPB* mutable_get_ttl_request();
903
  void set_allocated_get_ttl_request(::yb::RedisGetTtlRequestPB* get_ttl_request);
904
905
  // optional .yb.RedisKeysRequestPB keys_request = 12;
906
  bool has_keys_request() const;
907
  void clear_keys_request();
908
  static const int kKeysRequestFieldNumber = 12;
909
  const ::yb::RedisKeysRequestPB& keys_request() const;
910
  ::yb::RedisKeysRequestPB* release_keys_request();
911
  ::yb::RedisKeysRequestPB* mutable_keys_request();
912
  void set_allocated_keys_request(::yb::RedisKeysRequestPB* keys_request);
913
914
  // optional .yb.RedisGetForRenameRequestPB get_for_rename_request = 13;
915
  bool has_get_for_rename_request() const;
916
  void clear_get_for_rename_request();
917
  static const int kGetForRenameRequestFieldNumber = 13;
918
  const ::yb::RedisGetForRenameRequestPB& get_for_rename_request() const;
919
  ::yb::RedisGetForRenameRequestPB* release_get_for_rename_request();
920
  ::yb::RedisGetForRenameRequestPB* mutable_get_for_rename_request();
921
  void set_allocated_get_for_rename_request(::yb::RedisGetForRenameRequestPB* get_for_rename_request);
922
923
  RequestCase request_case() const;
924
  // @@protoc_insertion_point(class_scope:yb.RedisReadRequestPB)
925
 private:
926
  void set_has_get_request();
927
  void set_has_strlen_request();
928
  void set_has_exists_request();
929
  void set_has_get_range_request();
930
  void set_has_get_collection_range_request();
931
  void set_has_get_ttl_request();
932
  void set_has_keys_request();
933
  void set_has_get_for_rename_request();
934
  void set_has_key_value();
935
  void clear_has_key_value();
936
  void set_has_subkey_range();
937
  void clear_has_subkey_range();
938
  void set_has_index_range();
939
  void clear_has_index_range();
940
  void set_has_range_request_limit();
941
  void clear_has_range_request_limit();
942
943
  inline bool has_request() const;
944
  void clear_request();
945
  inline void clear_has_request();
946
947
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
948
  ::google::protobuf::internal::HasBits<1> _has_bits_;
949
  mutable int _cached_size_;
950
  ::yb::RedisKeyValuePB* key_value_;
951
  ::yb::RedisSubKeyRangePB* subkey_range_;
952
  ::yb::RedisIndexRangePB* index_range_;
953
  ::google::protobuf::int32 range_request_limit_;
954
  union RequestUnion {
955
113k
    RequestUnion() {}
956
    ::yb::RedisGetRequestPB* get_request_;
957
    ::yb::RedisStrLenRequestPB* strlen_request_;
958
    ::yb::RedisExistsRequestPB* exists_request_;
959
    ::yb::RedisGetRangeRequestPB* get_range_request_;
960
    ::yb::RedisCollectionGetRangeRequestPB* get_collection_range_request_;
961
    ::yb::RedisGetTtlRequestPB* get_ttl_request_;
962
    ::yb::RedisKeysRequestPB* keys_request_;
963
    ::yb::RedisGetForRenameRequestPB* get_for_rename_request_;
964
  } request_;
965
  ::google::protobuf::uint32 _oneof_case_[1];
966
967
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
968
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisReadRequestPBImpl();
969
};
970
// -------------------------------------------------------------------
971
972
class RedisSubKeyRangePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisSubKeyRangePB) */ {
973
 public:
974
  RedisSubKeyRangePB();
975
  virtual ~RedisSubKeyRangePB();
976
977
  RedisSubKeyRangePB(const RedisSubKeyRangePB& from);
978
979
0
  inline RedisSubKeyRangePB& operator=(const RedisSubKeyRangePB& from) {
980
0
    CopyFrom(from);
981
0
    return *this;
982
0
  }
983
  #if LANG_CXX11
984
  RedisSubKeyRangePB(RedisSubKeyRangePB&& from) noexcept
985
0
    : RedisSubKeyRangePB() {
986
0
    *this = ::std::move(from);
987
0
  }
988
989
0
  inline RedisSubKeyRangePB& operator=(RedisSubKeyRangePB&& from) noexcept {
990
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
991
0
      if (this != &from) InternalSwap(&from);
992
0
    } else {
993
0
      CopyFrom(from);
994
0
    }
995
0
    return *this;
996
0
  }
997
  #endif
998
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
999
0
    return _internal_metadata_.unknown_fields();
1000
0
  }
1001
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1002
0
    return _internal_metadata_.mutable_unknown_fields();
1003
0
  }
1004
1005
  static const ::google::protobuf::Descriptor* descriptor();
1006
  static const RedisSubKeyRangePB& default_instance();
1007
1008
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1009
68.9k
  static inline const RedisSubKeyRangePB* internal_default_instance() {
1010
68.9k
    return reinterpret_cast<const RedisSubKeyRangePB*>(
1011
68.9k
               &_RedisSubKeyRangePB_default_instance_);
1012
68.9k
  }
1013
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1014
    2;
1015
1016
  void Swap(RedisSubKeyRangePB* other);
1017
0
  friend void swap(RedisSubKeyRangePB& a, RedisSubKeyRangePB& b) {
1018
0
    a.Swap(&b);
1019
0
  }
1020
1021
  // implements Message ----------------------------------------------
1022
1023
0
  inline RedisSubKeyRangePB* New() const PROTOBUF_FINAL { return New(NULL); }
1024
1025
  RedisSubKeyRangePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1026
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1027
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1028
  void CopyFrom(const RedisSubKeyRangePB& from);
1029
  void MergeFrom(const RedisSubKeyRangePB& from);
1030
  void Clear() PROTOBUF_FINAL;
1031
  bool IsInitialized() const PROTOBUF_FINAL;
1032
1033
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1034
  bool MergePartialFromCodedStream(
1035
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1036
  void SerializeWithCachedSizes(
1037
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1038
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1039
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1040
2.42k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1041
  private:
1042
  void SharedCtor();
1043
  void SharedDtor();
1044
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1045
  void InternalSwap(RedisSubKeyRangePB* other);
1046
  private:
1047
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1048
0
    return NULL;
1049
0
  }
1050
0
  inline void* MaybeArenaPtr() const {
1051
0
    return NULL;
1052
0
  }
1053
  public:
1054
1055
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1056
1057
  // nested types ----------------------------------------------------
1058
1059
  // accessors -------------------------------------------------------
1060
1061
  // optional .yb.RedisSubKeyBoundPB lower_bound = 1;
1062
  bool has_lower_bound() const;
1063
  void clear_lower_bound();
1064
  static const int kLowerBoundFieldNumber = 1;
1065
  const ::yb::RedisSubKeyBoundPB& lower_bound() const;
1066
  ::yb::RedisSubKeyBoundPB* release_lower_bound();
1067
  ::yb::RedisSubKeyBoundPB* mutable_lower_bound();
1068
  void set_allocated_lower_bound(::yb::RedisSubKeyBoundPB* lower_bound);
1069
1070
  // optional .yb.RedisSubKeyBoundPB upper_bound = 2;
1071
  bool has_upper_bound() const;
1072
  void clear_upper_bound();
1073
  static const int kUpperBoundFieldNumber = 2;
1074
  const ::yb::RedisSubKeyBoundPB& upper_bound() const;
1075
  ::yb::RedisSubKeyBoundPB* release_upper_bound();
1076
  ::yb::RedisSubKeyBoundPB* mutable_upper_bound();
1077
  void set_allocated_upper_bound(::yb::RedisSubKeyBoundPB* upper_bound);
1078
1079
  // @@protoc_insertion_point(class_scope:yb.RedisSubKeyRangePB)
1080
 private:
1081
  void set_has_lower_bound();
1082
  void clear_has_lower_bound();
1083
  void set_has_upper_bound();
1084
  void clear_has_upper_bound();
1085
1086
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1087
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1088
  mutable int _cached_size_;
1089
  ::yb::RedisSubKeyBoundPB* lower_bound_;
1090
  ::yb::RedisSubKeyBoundPB* upper_bound_;
1091
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1092
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisSubKeyRangePBImpl();
1093
};
1094
// -------------------------------------------------------------------
1095
1096
class RedisIndexRangePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisIndexRangePB) */ {
1097
 public:
1098
  RedisIndexRangePB();
1099
  virtual ~RedisIndexRangePB();
1100
1101
  RedisIndexRangePB(const RedisIndexRangePB& from);
1102
1103
0
  inline RedisIndexRangePB& operator=(const RedisIndexRangePB& from) {
1104
0
    CopyFrom(from);
1105
0
    return *this;
1106
0
  }
1107
  #if LANG_CXX11
1108
  RedisIndexRangePB(RedisIndexRangePB&& from) noexcept
1109
0
    : RedisIndexRangePB() {
1110
0
    *this = ::std::move(from);
1111
0
  }
1112
1113
0
  inline RedisIndexRangePB& operator=(RedisIndexRangePB&& from) noexcept {
1114
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1115
0
      if (this != &from) InternalSwap(&from);
1116
0
    } else {
1117
0
      CopyFrom(from);
1118
0
    }
1119
0
    return *this;
1120
0
  }
1121
  #endif
1122
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1123
0
    return _internal_metadata_.unknown_fields();
1124
0
  }
1125
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1126
0
    return _internal_metadata_.mutable_unknown_fields();
1127
0
  }
1128
1129
  static const ::google::protobuf::Descriptor* descriptor();
1130
  static const RedisIndexRangePB& default_instance();
1131
1132
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1133
34.4k
  static inline const RedisIndexRangePB* internal_default_instance() {
1134
34.4k
    return reinterpret_cast<const RedisIndexRangePB*>(
1135
34.4k
               &_RedisIndexRangePB_default_instance_);
1136
34.4k
  }
1137
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1138
    3;
1139
1140
  void Swap(RedisIndexRangePB* other);
1141
0
  friend void swap(RedisIndexRangePB& a, RedisIndexRangePB& b) {
1142
0
    a.Swap(&b);
1143
0
  }
1144
1145
  // implements Message ----------------------------------------------
1146
1147
0
  inline RedisIndexRangePB* New() const PROTOBUF_FINAL { return New(NULL); }
1148
1149
  RedisIndexRangePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1150
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1151
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1152
  void CopyFrom(const RedisIndexRangePB& from);
1153
  void MergeFrom(const RedisIndexRangePB& from);
1154
  void Clear() PROTOBUF_FINAL;
1155
  bool IsInitialized() const PROTOBUF_FINAL;
1156
1157
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1158
  bool MergePartialFromCodedStream(
1159
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1160
  void SerializeWithCachedSizes(
1161
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1162
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1163
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1164
11
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1165
  private:
1166
  void SharedCtor();
1167
  void SharedDtor();
1168
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1169
  void InternalSwap(RedisIndexRangePB* other);
1170
  private:
1171
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1172
0
    return NULL;
1173
0
  }
1174
0
  inline void* MaybeArenaPtr() const {
1175
0
    return NULL;
1176
0
  }
1177
  public:
1178
1179
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1180
1181
  // nested types ----------------------------------------------------
1182
1183
  // accessors -------------------------------------------------------
1184
1185
  // optional .yb.RedisIndexBoundPB lower_bound = 1;
1186
  bool has_lower_bound() const;
1187
  void clear_lower_bound();
1188
  static const int kLowerBoundFieldNumber = 1;
1189
  const ::yb::RedisIndexBoundPB& lower_bound() const;
1190
  ::yb::RedisIndexBoundPB* release_lower_bound();
1191
  ::yb::RedisIndexBoundPB* mutable_lower_bound();
1192
  void set_allocated_lower_bound(::yb::RedisIndexBoundPB* lower_bound);
1193
1194
  // optional .yb.RedisIndexBoundPB upper_bound = 2;
1195
  bool has_upper_bound() const;
1196
  void clear_upper_bound();
1197
  static const int kUpperBoundFieldNumber = 2;
1198
  const ::yb::RedisIndexBoundPB& upper_bound() const;
1199
  ::yb::RedisIndexBoundPB* release_upper_bound();
1200
  ::yb::RedisIndexBoundPB* mutable_upper_bound();
1201
  void set_allocated_upper_bound(::yb::RedisIndexBoundPB* upper_bound);
1202
1203
  // @@protoc_insertion_point(class_scope:yb.RedisIndexRangePB)
1204
 private:
1205
  void set_has_lower_bound();
1206
  void clear_has_lower_bound();
1207
  void set_has_upper_bound();
1208
  void clear_has_upper_bound();
1209
1210
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1211
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1212
  mutable int _cached_size_;
1213
  ::yb::RedisIndexBoundPB* lower_bound_;
1214
  ::yb::RedisIndexBoundPB* upper_bound_;
1215
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1216
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisIndexRangePBImpl();
1217
};
1218
// -------------------------------------------------------------------
1219
1220
class RedisIndexBoundPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisIndexBoundPB) */ {
1221
 public:
1222
  RedisIndexBoundPB();
1223
  virtual ~RedisIndexBoundPB();
1224
1225
  RedisIndexBoundPB(const RedisIndexBoundPB& from);
1226
1227
0
  inline RedisIndexBoundPB& operator=(const RedisIndexBoundPB& from) {
1228
0
    CopyFrom(from);
1229
0
    return *this;
1230
0
  }
1231
  #if LANG_CXX11
1232
  RedisIndexBoundPB(RedisIndexBoundPB&& from) noexcept
1233
0
    : RedisIndexBoundPB() {
1234
0
    *this = ::std::move(from);
1235
0
  }
1236
1237
0
  inline RedisIndexBoundPB& operator=(RedisIndexBoundPB&& from) noexcept {
1238
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1239
0
      if (this != &from) InternalSwap(&from);
1240
0
    } else {
1241
0
      CopyFrom(from);
1242
0
    }
1243
0
    return *this;
1244
0
  }
1245
  #endif
1246
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1247
0
    return _internal_metadata_.unknown_fields();
1248
0
  }
1249
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1250
0
    return _internal_metadata_.mutable_unknown_fields();
1251
0
  }
1252
1253
  static const ::google::protobuf::Descriptor* descriptor();
1254
  static const RedisIndexBoundPB& default_instance();
1255
1256
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1257
51.4k
  static inline const RedisIndexBoundPB* internal_default_instance() {
1258
51.4k
    return reinterpret_cast<const RedisIndexBoundPB*>(
1259
51.4k
               &_RedisIndexBoundPB_default_instance_);
1260
51.4k
  }
1261
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1262
    4;
1263
1264
  void Swap(RedisIndexBoundPB* other);
1265
0
  friend void swap(RedisIndexBoundPB& a, RedisIndexBoundPB& b) {
1266
0
    a.Swap(&b);
1267
0
  }
1268
1269
  // implements Message ----------------------------------------------
1270
1271
0
  inline RedisIndexBoundPB* New() const PROTOBUF_FINAL { return New(NULL); }
1272
1273
  RedisIndexBoundPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1274
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1275
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1276
  void CopyFrom(const RedisIndexBoundPB& from);
1277
  void MergeFrom(const RedisIndexBoundPB& from);
1278
  void Clear() PROTOBUF_FINAL;
1279
  bool IsInitialized() const PROTOBUF_FINAL;
1280
1281
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1282
  bool MergePartialFromCodedStream(
1283
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1284
  void SerializeWithCachedSizes(
1285
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1286
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1287
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1288
11
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1289
  private:
1290
  void SharedCtor();
1291
  void SharedDtor();
1292
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1293
  void InternalSwap(RedisIndexBoundPB* other);
1294
  private:
1295
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1296
0
    return NULL;
1297
0
  }
1298
0
  inline void* MaybeArenaPtr() const {
1299
0
    return NULL;
1300
0
  }
1301
  public:
1302
1303
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1304
1305
  // nested types ----------------------------------------------------
1306
1307
  // accessors -------------------------------------------------------
1308
1309
  // required int64 index = 1;
1310
  bool has_index() const;
1311
  void clear_index();
1312
  static const int kIndexFieldNumber = 1;
1313
  ::google::protobuf::int64 index() const;
1314
  void set_index(::google::protobuf::int64 value);
1315
1316
  // @@protoc_insertion_point(class_scope:yb.RedisIndexBoundPB)
1317
 private:
1318
  void set_has_index();
1319
  void clear_has_index();
1320
1321
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1322
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1323
  mutable int _cached_size_;
1324
  ::google::protobuf::int64 index_;
1325
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1326
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisIndexBoundPBImpl();
1327
};
1328
// -------------------------------------------------------------------
1329
1330
class RedisSubKeyBoundPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisSubKeyBoundPB) */ {
1331
 public:
1332
  RedisSubKeyBoundPB();
1333
  virtual ~RedisSubKeyBoundPB();
1334
1335
  RedisSubKeyBoundPB(const RedisSubKeyBoundPB& from);
1336
1337
0
  inline RedisSubKeyBoundPB& operator=(const RedisSubKeyBoundPB& from) {
1338
0
    CopyFrom(from);
1339
0
    return *this;
1340
0
  }
1341
  #if LANG_CXX11
1342
  RedisSubKeyBoundPB(RedisSubKeyBoundPB&& from) noexcept
1343
0
    : RedisSubKeyBoundPB() {
1344
0
    *this = ::std::move(from);
1345
0
  }
1346
1347
0
  inline RedisSubKeyBoundPB& operator=(RedisSubKeyBoundPB&& from) noexcept {
1348
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1349
0
      if (this != &from) InternalSwap(&from);
1350
0
    } else {
1351
0
      CopyFrom(from);
1352
0
    }
1353
0
    return *this;
1354
0
  }
1355
  #endif
1356
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1357
0
    return _internal_metadata_.unknown_fields();
1358
0
  }
1359
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1360
0
    return _internal_metadata_.mutable_unknown_fields();
1361
0
  }
1362
1363
  static const ::google::protobuf::Descriptor* descriptor();
1364
  static const RedisSubKeyBoundPB& default_instance();
1365
1366
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1367
93.9k
  static inline const RedisSubKeyBoundPB* internal_default_instance() {
1368
93.9k
    return reinterpret_cast<const RedisSubKeyBoundPB*>(
1369
93.9k
               &_RedisSubKeyBoundPB_default_instance_);
1370
93.9k
  }
1371
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1372
    5;
1373
1374
  void Swap(RedisSubKeyBoundPB* other);
1375
0
  friend void swap(RedisSubKeyBoundPB& a, RedisSubKeyBoundPB& b) {
1376
0
    a.Swap(&b);
1377
0
  }
1378
1379
  // implements Message ----------------------------------------------
1380
1381
0
  inline RedisSubKeyBoundPB* New() const PROTOBUF_FINAL { return New(NULL); }
1382
1383
  RedisSubKeyBoundPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1384
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1385
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1386
  void CopyFrom(const RedisSubKeyBoundPB& from);
1387
  void MergeFrom(const RedisSubKeyBoundPB& from);
1388
  void Clear() PROTOBUF_FINAL;
1389
  bool IsInitialized() const PROTOBUF_FINAL;
1390
1391
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1392
  bool MergePartialFromCodedStream(
1393
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1394
  void SerializeWithCachedSizes(
1395
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1396
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1397
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1398
4.84k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1399
  private:
1400
  void SharedCtor();
1401
  void SharedDtor();
1402
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1403
  void InternalSwap(RedisSubKeyBoundPB* other);
1404
  private:
1405
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1406
0
    return NULL;
1407
0
  }
1408
0
  inline void* MaybeArenaPtr() const {
1409
0
    return NULL;
1410
0
  }
1411
  public:
1412
1413
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1414
1415
  // nested types ----------------------------------------------------
1416
1417
  typedef RedisSubKeyBoundPB_InfinityType InfinityType;
1418
  static const InfinityType POSITIVE =
1419
    RedisSubKeyBoundPB_InfinityType_POSITIVE;
1420
  static const InfinityType NEGATIVE =
1421
    RedisSubKeyBoundPB_InfinityType_NEGATIVE;
1422
0
  static inline bool InfinityType_IsValid(int value) {
1423
0
    return RedisSubKeyBoundPB_InfinityType_IsValid(value);
1424
0
  }
1425
  static const InfinityType InfinityType_MIN =
1426
    RedisSubKeyBoundPB_InfinityType_InfinityType_MIN;
1427
  static const InfinityType InfinityType_MAX =
1428
    RedisSubKeyBoundPB_InfinityType_InfinityType_MAX;
1429
  static const int InfinityType_ARRAYSIZE =
1430
    RedisSubKeyBoundPB_InfinityType_InfinityType_ARRAYSIZE;
1431
  static inline const ::google::protobuf::EnumDescriptor*
1432
0
  InfinityType_descriptor() {
1433
0
    return RedisSubKeyBoundPB_InfinityType_descriptor();
1434
0
  }
1435
0
  static inline const ::std::string& InfinityType_Name(InfinityType value) {
1436
0
    return RedisSubKeyBoundPB_InfinityType_Name(value);
1437
0
  }
1438
  static inline bool InfinityType_Parse(const ::std::string& name,
1439
0
      InfinityType* value) {
1440
0
    return RedisSubKeyBoundPB_InfinityType_Parse(name, value);
1441
0
  }
1442
1443
  // accessors -------------------------------------------------------
1444
1445
  // optional .yb.RedisKeyValueSubKeyPB subkey_bound = 3;
1446
  bool has_subkey_bound() const;
1447
  void clear_subkey_bound();
1448
  static const int kSubkeyBoundFieldNumber = 3;
1449
  const ::yb::RedisKeyValueSubKeyPB& subkey_bound() const;
1450
  ::yb::RedisKeyValueSubKeyPB* release_subkey_bound();
1451
  ::yb::RedisKeyValueSubKeyPB* mutable_subkey_bound();
1452
  void set_allocated_subkey_bound(::yb::RedisKeyValueSubKeyPB* subkey_bound);
1453
1454
  // optional bool is_exclusive = 6 [default = false];
1455
  bool has_is_exclusive() const;
1456
  void clear_is_exclusive();
1457
  static const int kIsExclusiveFieldNumber = 6;
1458
  bool is_exclusive() const;
1459
  void set_is_exclusive(bool value);
1460
1461
  // optional .yb.RedisSubKeyBoundPB.InfinityType infinity_type = 4;
1462
  bool has_infinity_type() const;
1463
  void clear_infinity_type();
1464
  static const int kInfinityTypeFieldNumber = 4;
1465
  ::yb::RedisSubKeyBoundPB_InfinityType infinity_type() const;
1466
  void set_infinity_type(::yb::RedisSubKeyBoundPB_InfinityType value);
1467
1468
  // @@protoc_insertion_point(class_scope:yb.RedisSubKeyBoundPB)
1469
 private:
1470
  void set_has_subkey_bound();
1471
  void clear_has_subkey_bound();
1472
  void set_has_infinity_type();
1473
  void clear_has_infinity_type();
1474
  void set_has_is_exclusive();
1475
  void clear_has_is_exclusive();
1476
1477
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1478
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1479
  mutable int _cached_size_;
1480
  ::yb::RedisKeyValueSubKeyPB* subkey_bound_;
1481
  bool is_exclusive_;
1482
  int infinity_type_;
1483
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1484
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisSubKeyBoundPBImpl();
1485
};
1486
// -------------------------------------------------------------------
1487
1488
class RedisKeyValueSubKeyPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisKeyValueSubKeyPB) */ {
1489
 public:
1490
  RedisKeyValueSubKeyPB();
1491
  virtual ~RedisKeyValueSubKeyPB();
1492
1493
  RedisKeyValueSubKeyPB(const RedisKeyValueSubKeyPB& from);
1494
1495
0
  inline RedisKeyValueSubKeyPB& operator=(const RedisKeyValueSubKeyPB& from) {
1496
0
    CopyFrom(from);
1497
0
    return *this;
1498
0
  }
1499
  #if LANG_CXX11
1500
  RedisKeyValueSubKeyPB(RedisKeyValueSubKeyPB&& from) noexcept
1501
0
    : RedisKeyValueSubKeyPB() {
1502
0
    *this = ::std::move(from);
1503
0
  }
1504
1505
0
  inline RedisKeyValueSubKeyPB& operator=(RedisKeyValueSubKeyPB&& from) noexcept {
1506
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1507
0
      if (this != &from) InternalSwap(&from);
1508
0
    } else {
1509
0
      CopyFrom(from);
1510
0
    }
1511
0
    return *this;
1512
0
  }
1513
  #endif
1514
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1515
0
    return _internal_metadata_.unknown_fields();
1516
0
  }
1517
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1518
0
    return _internal_metadata_.mutable_unknown_fields();
1519
0
  }
1520
1521
  static const ::google::protobuf::Descriptor* descriptor();
1522
  static const RedisKeyValueSubKeyPB& default_instance();
1523
1524
  enum SubkeyCase {
1525
    kStringSubkey = 1,
1526
    kTimestampSubkey = 2,
1527
    kDoubleSubkey = 3,
1528
    SUBKEY_NOT_SET = 0,
1529
  };
1530
1531
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1532
130k
  static inline const RedisKeyValueSubKeyPB* internal_default_instance() {
1533
130k
    return reinterpret_cast<const RedisKeyValueSubKeyPB*>(
1534
130k
               &_RedisKeyValueSubKeyPB_default_instance_);
1535
130k
  }
1536
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1537
    6;
1538
1539
  void Swap(RedisKeyValueSubKeyPB* other);
1540
0
  friend void swap(RedisKeyValueSubKeyPB& a, RedisKeyValueSubKeyPB& b) {
1541
0
    a.Swap(&b);
1542
0
  }
1543
1544
  // implements Message ----------------------------------------------
1545
1546
0
  inline RedisKeyValueSubKeyPB* New() const PROTOBUF_FINAL { return New(NULL); }
1547
1548
  RedisKeyValueSubKeyPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1549
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1550
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1551
  void CopyFrom(const RedisKeyValueSubKeyPB& from);
1552
  void MergeFrom(const RedisKeyValueSubKeyPB& from);
1553
  void Clear() PROTOBUF_FINAL;
1554
  bool IsInitialized() const PROTOBUF_FINAL;
1555
1556
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1557
  bool MergePartialFromCodedStream(
1558
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1559
  void SerializeWithCachedSizes(
1560
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1561
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1562
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1563
28.6k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1564
  private:
1565
  void SharedCtor();
1566
  void SharedDtor();
1567
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1568
  void InternalSwap(RedisKeyValueSubKeyPB* other);
1569
  private:
1570
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1571
0
    return NULL;
1572
0
  }
1573
0
  inline void* MaybeArenaPtr() const {
1574
0
    return NULL;
1575
0
  }
1576
  public:
1577
1578
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1579
1580
  // nested types ----------------------------------------------------
1581
1582
  // accessors -------------------------------------------------------
1583
1584
  // optional bytes string_subkey = 1;
1585
  bool has_string_subkey() const;
1586
  void clear_string_subkey();
1587
  static const int kStringSubkeyFieldNumber = 1;
1588
  const ::std::string& string_subkey() const;
1589
  void set_string_subkey(const ::std::string& value);
1590
  #if LANG_CXX11
1591
  void set_string_subkey(::std::string&& value);
1592
  #endif
1593
  void set_string_subkey(const char* value);
1594
  void set_string_subkey(const void* value, size_t size);
1595
  ::std::string* mutable_string_subkey();
1596
  ::std::string* release_string_subkey();
1597
  void set_allocated_string_subkey(::std::string* string_subkey);
1598
1599
  // optional int64 timestamp_subkey = 2;
1600
  bool has_timestamp_subkey() const;
1601
  void clear_timestamp_subkey();
1602
  static const int kTimestampSubkeyFieldNumber = 2;
1603
  ::google::protobuf::int64 timestamp_subkey() const;
1604
  void set_timestamp_subkey(::google::protobuf::int64 value);
1605
1606
  // optional double double_subkey = 3;
1607
  bool has_double_subkey() const;
1608
  void clear_double_subkey();
1609
  static const int kDoubleSubkeyFieldNumber = 3;
1610
  double double_subkey() const;
1611
  void set_double_subkey(double value);
1612
1613
  SubkeyCase subkey_case() const;
1614
  // @@protoc_insertion_point(class_scope:yb.RedisKeyValueSubKeyPB)
1615
 private:
1616
  void set_has_string_subkey();
1617
  void set_has_timestamp_subkey();
1618
  void set_has_double_subkey();
1619
1620
  inline bool has_subkey() const;
1621
  void clear_subkey();
1622
  inline void clear_has_subkey();
1623
1624
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1625
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1626
  mutable int _cached_size_;
1627
  union SubkeyUnion {
1628
124k
    SubkeyUnion() {}
1629
    ::google::protobuf::internal::ArenaStringPtr string_subkey_;
1630
    ::google::protobuf::int64 timestamp_subkey_;
1631
    double double_subkey_;
1632
  } subkey_;
1633
  ::google::protobuf::uint32 _oneof_case_[1];
1634
1635
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1636
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisKeyValueSubKeyPBImpl();
1637
};
1638
// -------------------------------------------------------------------
1639
1640
class RedisKeyValuePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisKeyValuePB) */ {
1641
 public:
1642
  RedisKeyValuePB();
1643
  virtual ~RedisKeyValuePB();
1644
1645
  RedisKeyValuePB(const RedisKeyValuePB& from);
1646
1647
0
  inline RedisKeyValuePB& operator=(const RedisKeyValuePB& from) {
1648
0
    CopyFrom(from);
1649
0
    return *this;
1650
0
  }
1651
  #if LANG_CXX11
1652
  RedisKeyValuePB(RedisKeyValuePB&& from) noexcept
1653
0
    : RedisKeyValuePB() {
1654
0
    *this = ::std::move(from);
1655
0
  }
1656
1657
0
  inline RedisKeyValuePB& operator=(RedisKeyValuePB&& from) noexcept {
1658
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1659
0
      if (this != &from) InternalSwap(&from);
1660
0
    } else {
1661
0
      CopyFrom(from);
1662
0
    }
1663
0
    return *this;
1664
0
  }
1665
  #endif
1666
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1667
0
    return _internal_metadata_.unknown_fields();
1668
0
  }
1669
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1670
0
    return _internal_metadata_.mutable_unknown_fields();
1671
0
  }
1672
1673
  static const ::google::protobuf::Descriptor* descriptor();
1674
  static const RedisKeyValuePB& default_instance();
1675
1676
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1677
187k
  static inline const RedisKeyValuePB* internal_default_instance() {
1678
187k
    return reinterpret_cast<const RedisKeyValuePB*>(
1679
187k
               &_RedisKeyValuePB_default_instance_);
1680
187k
  }
1681
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1682
    7;
1683
1684
  void Swap(RedisKeyValuePB* other);
1685
0
  friend void swap(RedisKeyValuePB& a, RedisKeyValuePB& b) {
1686
0
    a.Swap(&b);
1687
0
  }
1688
1689
  // implements Message ----------------------------------------------
1690
1691
0
  inline RedisKeyValuePB* New() const PROTOBUF_FINAL { return New(NULL); }
1692
1693
  RedisKeyValuePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1694
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1695
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1696
  void CopyFrom(const RedisKeyValuePB& from);
1697
  void MergeFrom(const RedisKeyValuePB& from);
1698
  void Clear() PROTOBUF_FINAL;
1699
  bool IsInitialized() const PROTOBUF_FINAL;
1700
1701
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1702
  bool MergePartialFromCodedStream(
1703
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1704
  void SerializeWithCachedSizes(
1705
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1706
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1707
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1708
31.8k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1709
  private:
1710
  void SharedCtor();
1711
  void SharedDtor();
1712
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1713
  void InternalSwap(RedisKeyValuePB* other);
1714
  private:
1715
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1716
0
    return NULL;
1717
0
  }
1718
0
  inline void* MaybeArenaPtr() const {
1719
0
    return NULL;
1720
0
  }
1721
  public:
1722
1723
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1724
1725
  // nested types ----------------------------------------------------
1726
1727
  // accessors -------------------------------------------------------
1728
1729
  // repeated .yb.RedisKeyValueSubKeyPB subkey = 4;
1730
  int subkey_size() const;
1731
  void clear_subkey();
1732
  static const int kSubkeyFieldNumber = 4;
1733
  const ::yb::RedisKeyValueSubKeyPB& subkey(int index) const;
1734
  ::yb::RedisKeyValueSubKeyPB* mutable_subkey(int index);
1735
  ::yb::RedisKeyValueSubKeyPB* add_subkey();
1736
  ::google::protobuf::RepeatedPtrField< ::yb::RedisKeyValueSubKeyPB >*
1737
      mutable_subkey();
1738
  const ::google::protobuf::RepeatedPtrField< ::yb::RedisKeyValueSubKeyPB >&
1739
      subkey() const;
1740
1741
  // repeated bytes value = 6;
1742
  int value_size() const;
1743
  void clear_value();
1744
  static const int kValueFieldNumber = 6;
1745
  const ::std::string& value(int index) const;
1746
  ::std::string* mutable_value(int index);
1747
  void set_value(int index, const ::std::string& value);
1748
  #if LANG_CXX11
1749
  void set_value(int index, ::std::string&& value);
1750
  #endif
1751
  void set_value(int index, const char* value);
1752
  void set_value(int index, const void* value, size_t size);
1753
  ::std::string* add_value();
1754
  void add_value(const ::std::string& value);
1755
  #if LANG_CXX11
1756
  void add_value(::std::string&& value);
1757
  #endif
1758
  void add_value(const char* value);
1759
  void add_value(const void* value, size_t size);
1760
  const ::google::protobuf::RepeatedPtrField< ::std::string>& value() const;
1761
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_value();
1762
1763
  // optional bytes key = 2;
1764
  bool has_key() const;
1765
  void clear_key();
1766
  static const int kKeyFieldNumber = 2;
1767
  const ::std::string& key() const;
1768
  void set_key(const ::std::string& value);
1769
  #if LANG_CXX11
1770
  void set_key(::std::string&& value);
1771
  #endif
1772
  void set_key(const char* value);
1773
  void set_key(const void* value, size_t size);
1774
  ::std::string* mutable_key();
1775
  ::std::string* release_key();
1776
  void set_allocated_key(::std::string* key);
1777
1778
  // optional uint32 hash_code = 1;
1779
  bool has_hash_code() const;
1780
  void clear_hash_code();
1781
  static const int kHashCodeFieldNumber = 1;
1782
  ::google::protobuf::uint32 hash_code() const;
1783
  void set_hash_code(::google::protobuf::uint32 value);
1784
1785
  // optional int32 index = 5;
1786
  bool has_index() const;
1787
  void clear_index();
1788
  static const int kIndexFieldNumber = 5;
1789
  ::google::protobuf::int32 index() const;
1790
  void set_index(::google::protobuf::int32 value);
1791
1792
  // optional .yb.RedisDataType type = 3 [default = REDIS_TYPE_NONE];
1793
  bool has_type() const;
1794
  void clear_type();
1795
  static const int kTypeFieldNumber = 3;
1796
  ::yb::RedisDataType type() const;
1797
  void set_type(::yb::RedisDataType value);
1798
1799
  // @@protoc_insertion_point(class_scope:yb.RedisKeyValuePB)
1800
 private:
1801
  void set_has_hash_code();
1802
  void clear_has_hash_code();
1803
  void set_has_key();
1804
  void clear_has_key();
1805
  void set_has_type();
1806
  void clear_has_type();
1807
  void set_has_index();
1808
  void clear_has_index();
1809
1810
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1811
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1812
  mutable int _cached_size_;
1813
  ::google::protobuf::RepeatedPtrField< ::yb::RedisKeyValueSubKeyPB > subkey_;
1814
  ::google::protobuf::RepeatedPtrField< ::std::string> value_;
1815
  ::google::protobuf::internal::ArenaStringPtr key_;
1816
  ::google::protobuf::uint32 hash_code_;
1817
  ::google::protobuf::int32 index_;
1818
  int type_;
1819
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1820
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisKeyValuePBImpl();
1821
};
1822
// -------------------------------------------------------------------
1823
1824
class SortedSetOptionsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.SortedSetOptionsPB) */ {
1825
 public:
1826
  SortedSetOptionsPB();
1827
  virtual ~SortedSetOptionsPB();
1828
1829
  SortedSetOptionsPB(const SortedSetOptionsPB& from);
1830
1831
0
  inline SortedSetOptionsPB& operator=(const SortedSetOptionsPB& from) {
1832
0
    CopyFrom(from);
1833
0
    return *this;
1834
0
  }
1835
  #if LANG_CXX11
1836
  SortedSetOptionsPB(SortedSetOptionsPB&& from) noexcept
1837
0
    : SortedSetOptionsPB() {
1838
0
    *this = ::std::move(from);
1839
0
  }
1840
1841
0
  inline SortedSetOptionsPB& operator=(SortedSetOptionsPB&& from) noexcept {
1842
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1843
0
      if (this != &from) InternalSwap(&from);
1844
0
    } else {
1845
0
      CopyFrom(from);
1846
0
    }
1847
0
    return *this;
1848
0
  }
1849
  #endif
1850
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1851
0
    return _internal_metadata_.unknown_fields();
1852
0
  }
1853
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1854
0
    return _internal_metadata_.mutable_unknown_fields();
1855
0
  }
1856
1857
  static const ::google::protobuf::Descriptor* descriptor();
1858
  static const SortedSetOptionsPB& default_instance();
1859
1860
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1861
49.4k
  static inline const SortedSetOptionsPB* internal_default_instance() {
1862
49.4k
    return reinterpret_cast<const SortedSetOptionsPB*>(
1863
49.4k
               &_SortedSetOptionsPB_default_instance_);
1864
49.4k
  }
1865
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1866
    8;
1867
1868
  void Swap(SortedSetOptionsPB* other);
1869
0
  friend void swap(SortedSetOptionsPB& a, SortedSetOptionsPB& b) {
1870
0
    a.Swap(&b);
1871
0
  }
1872
1873
  // implements Message ----------------------------------------------
1874
1875
0
  inline SortedSetOptionsPB* New() const PROTOBUF_FINAL { return New(NULL); }
1876
1877
  SortedSetOptionsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1878
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1879
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1880
  void CopyFrom(const SortedSetOptionsPB& from);
1881
  void MergeFrom(const SortedSetOptionsPB& from);
1882
  void Clear() PROTOBUF_FINAL;
1883
  bool IsInitialized() const PROTOBUF_FINAL;
1884
1885
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1886
  bool MergePartialFromCodedStream(
1887
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1888
  void SerializeWithCachedSizes(
1889
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1890
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1891
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1892
4.62k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1893
  private:
1894
  void SharedCtor();
1895
  void SharedDtor();
1896
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1897
  void InternalSwap(SortedSetOptionsPB* other);
1898
  private:
1899
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1900
0
    return NULL;
1901
0
  }
1902
0
  inline void* MaybeArenaPtr() const {
1903
0
    return NULL;
1904
0
  }
1905
  public:
1906
1907
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1908
1909
  // nested types ----------------------------------------------------
1910
1911
  typedef SortedSetOptionsPB_UpdateOptions UpdateOptions;
1912
  static const UpdateOptions NX =
1913
    SortedSetOptionsPB_UpdateOptions_NX;
1914
  static const UpdateOptions XX =
1915
    SortedSetOptionsPB_UpdateOptions_XX;
1916
  static const UpdateOptions NONE =
1917
    SortedSetOptionsPB_UpdateOptions_NONE;
1918
0
  static inline bool UpdateOptions_IsValid(int value) {
1919
0
    return SortedSetOptionsPB_UpdateOptions_IsValid(value);
1920
0
  }
1921
  static const UpdateOptions UpdateOptions_MIN =
1922
    SortedSetOptionsPB_UpdateOptions_UpdateOptions_MIN;
1923
  static const UpdateOptions UpdateOptions_MAX =
1924
    SortedSetOptionsPB_UpdateOptions_UpdateOptions_MAX;
1925
  static const int UpdateOptions_ARRAYSIZE =
1926
    SortedSetOptionsPB_UpdateOptions_UpdateOptions_ARRAYSIZE;
1927
  static inline const ::google::protobuf::EnumDescriptor*
1928
0
  UpdateOptions_descriptor() {
1929
0
    return SortedSetOptionsPB_UpdateOptions_descriptor();
1930
0
  }
1931
0
  static inline const ::std::string& UpdateOptions_Name(UpdateOptions value) {
1932
0
    return SortedSetOptionsPB_UpdateOptions_Name(value);
1933
0
  }
1934
  static inline bool UpdateOptions_Parse(const ::std::string& name,
1935
0
      UpdateOptions* value) {
1936
0
    return SortedSetOptionsPB_UpdateOptions_Parse(name, value);
1937
0
  }
1938
1939
  // accessors -------------------------------------------------------
1940
1941
  // optional bool ch = 5 [default = false];
1942
  bool has_ch() const;
1943
  void clear_ch();
1944
  static const int kChFieldNumber = 5;
1945
  bool ch() const;
1946
  void set_ch(bool value);
1947
1948
  // optional bool incr = 6 [default = false];
1949
  bool has_incr() const;
1950
  void clear_incr();
1951
  static const int kIncrFieldNumber = 6;
1952
  bool incr() const;
1953
  void set_incr(bool value);
1954
1955
  // optional .yb.SortedSetOptionsPB.UpdateOptions update_options = 4 [default = NONE];
1956
  bool has_update_options() const;
1957
  void clear_update_options();
1958
  static const int kUpdateOptionsFieldNumber = 4;
1959
  ::yb::SortedSetOptionsPB_UpdateOptions update_options() const;
1960
  void set_update_options(::yb::SortedSetOptionsPB_UpdateOptions value);
1961
1962
  // @@protoc_insertion_point(class_scope:yb.SortedSetOptionsPB)
1963
 private:
1964
  void set_has_update_options();
1965
  void clear_has_update_options();
1966
  void set_has_ch();
1967
  void clear_has_ch();
1968
  void set_has_incr();
1969
  void clear_has_incr();
1970
1971
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1972
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1973
  mutable int _cached_size_;
1974
  bool ch_;
1975
  bool incr_;
1976
  int update_options_;
1977
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
1978
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsSortedSetOptionsPBImpl();
1979
};
1980
// -------------------------------------------------------------------
1981
1982
class RedisSetRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisSetRequestPB) */ {
1983
 public:
1984
  RedisSetRequestPB();
1985
  virtual ~RedisSetRequestPB();
1986
1987
  RedisSetRequestPB(const RedisSetRequestPB& from);
1988
1989
0
  inline RedisSetRequestPB& operator=(const RedisSetRequestPB& from) {
1990
0
    CopyFrom(from);
1991
0
    return *this;
1992
0
  }
1993
  #if LANG_CXX11
1994
  RedisSetRequestPB(RedisSetRequestPB&& from) noexcept
1995
0
    : RedisSetRequestPB() {
1996
0
    *this = ::std::move(from);
1997
0
  }
1998
1999
0
  inline RedisSetRequestPB& operator=(RedisSetRequestPB&& from) noexcept {
2000
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2001
0
      if (this != &from) InternalSwap(&from);
2002
0
    } else {
2003
0
      CopyFrom(from);
2004
0
    }
2005
0
    return *this;
2006
0
  }
2007
  #endif
2008
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2009
0
    return _internal_metadata_.unknown_fields();
2010
0
  }
2011
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2012
0
    return _internal_metadata_.mutable_unknown_fields();
2013
0
  }
2014
2015
  static const ::google::protobuf::Descriptor* descriptor();
2016
  static const RedisSetRequestPB& default_instance();
2017
2018
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2019
200k
  static inline const RedisSetRequestPB* internal_default_instance() {
2020
200k
    return reinterpret_cast<const RedisSetRequestPB*>(
2021
200k
               &_RedisSetRequestPB_default_instance_);
2022
200k
  }
2023
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2024
    9;
2025
2026
  void Swap(RedisSetRequestPB* other);
2027
0
  friend void swap(RedisSetRequestPB& a, RedisSetRequestPB& b) {
2028
0
    a.Swap(&b);
2029
0
  }
2030
2031
  // implements Message ----------------------------------------------
2032
2033
0
  inline RedisSetRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2034
2035
  RedisSetRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2036
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2037
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2038
  void CopyFrom(const RedisSetRequestPB& from);
2039
  void MergeFrom(const RedisSetRequestPB& from);
2040
  void Clear() PROTOBUF_FINAL;
2041
  bool IsInitialized() const PROTOBUF_FINAL;
2042
2043
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2044
  bool MergePartialFromCodedStream(
2045
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2046
  void SerializeWithCachedSizes(
2047
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2048
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2049
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2050
21.4k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2051
  private:
2052
  void SharedCtor();
2053
  void SharedDtor();
2054
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2055
  void InternalSwap(RedisSetRequestPB* other);
2056
  private:
2057
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2058
0
    return NULL;
2059
0
  }
2060
0
  inline void* MaybeArenaPtr() const {
2061
0
    return NULL;
2062
0
  }
2063
  public:
2064
2065
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2066
2067
  // nested types ----------------------------------------------------
2068
2069
  // accessors -------------------------------------------------------
2070
2071
  // optional .yb.SortedSetOptionsPB sorted_set_options = 14;
2072
  bool has_sorted_set_options() const;
2073
  void clear_sorted_set_options();
2074
  static const int kSortedSetOptionsFieldNumber = 14;
2075
  const ::yb::SortedSetOptionsPB& sorted_set_options() const;
2076
  ::yb::SortedSetOptionsPB* release_sorted_set_options();
2077
  ::yb::SortedSetOptionsPB* mutable_sorted_set_options();
2078
  void set_allocated_sorted_set_options(::yb::SortedSetOptionsPB* sorted_set_options);
2079
2080
  // optional bool expect_ok_response = 1 [default = false];
2081
  bool has_expect_ok_response() const;
2082
  void clear_expect_ok_response();
2083
  static const int kExpectOkResponseFieldNumber = 1;
2084
  bool expect_ok_response() const;
2085
  void set_expect_ok_response(bool value);
2086
2087
  // optional .yb.RedisWriteMode mode = 3 [default = REDIS_WRITEMODE_UPSERT];
2088
  bool has_mode() const;
2089
  void clear_mode();
2090
  static const int kModeFieldNumber = 3;
2091
  ::yb::RedisWriteMode mode() const;
2092
  void set_mode(::yb::RedisWriteMode value);
2093
2094
  // optional int64 ttl = 2 [default = -1];
2095
  bool has_ttl() const;
2096
  void clear_ttl();
2097
  static const int kTtlFieldNumber = 2;
2098
  ::google::protobuf::int64 ttl() const;
2099
  void set_ttl(::google::protobuf::int64 value);
2100
2101
  // @@protoc_insertion_point(class_scope:yb.RedisSetRequestPB)
2102
 private:
2103
  void set_has_expect_ok_response();
2104
  void clear_has_expect_ok_response();
2105
  void set_has_ttl();
2106
  void clear_has_ttl();
2107
  void set_has_mode();
2108
  void clear_has_mode();
2109
  void set_has_sorted_set_options();
2110
  void clear_has_sorted_set_options();
2111
2112
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2113
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2114
  mutable int _cached_size_;
2115
  ::yb::SortedSetOptionsPB* sorted_set_options_;
2116
  bool expect_ok_response_;
2117
  int mode_;
2118
  ::google::protobuf::int64 ttl_;
2119
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2120
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisSetRequestPBImpl();
2121
};
2122
// -------------------------------------------------------------------
2123
2124
class RedisGetRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisGetRequestPB) */ {
2125
 public:
2126
  RedisGetRequestPB();
2127
  virtual ~RedisGetRequestPB();
2128
2129
  RedisGetRequestPB(const RedisGetRequestPB& from);
2130
2131
0
  inline RedisGetRequestPB& operator=(const RedisGetRequestPB& from) {
2132
0
    CopyFrom(from);
2133
0
    return *this;
2134
0
  }
2135
  #if LANG_CXX11
2136
  RedisGetRequestPB(RedisGetRequestPB&& from) noexcept
2137
0
    : RedisGetRequestPB() {
2138
0
    *this = ::std::move(from);
2139
0
  }
2140
2141
0
  inline RedisGetRequestPB& operator=(RedisGetRequestPB&& from) noexcept {
2142
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2143
0
      if (this != &from) InternalSwap(&from);
2144
0
    } else {
2145
0
      CopyFrom(from);
2146
0
    }
2147
0
    return *this;
2148
0
  }
2149
  #endif
2150
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2151
0
    return _internal_metadata_.unknown_fields();
2152
0
  }
2153
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2154
0
    return _internal_metadata_.mutable_unknown_fields();
2155
0
  }
2156
2157
  static const ::google::protobuf::Descriptor* descriptor();
2158
  static const RedisGetRequestPB& default_instance();
2159
2160
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2161
116k
  static inline const RedisGetRequestPB* internal_default_instance() {
2162
116k
    return reinterpret_cast<const RedisGetRequestPB*>(
2163
116k
               &_RedisGetRequestPB_default_instance_);
2164
116k
  }
2165
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2166
    10;
2167
2168
  void Swap(RedisGetRequestPB* other);
2169
0
  friend void swap(RedisGetRequestPB& a, RedisGetRequestPB& b) {
2170
0
    a.Swap(&b);
2171
0
  }
2172
2173
  // implements Message ----------------------------------------------
2174
2175
0
  inline RedisGetRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2176
2177
  RedisGetRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2178
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2179
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2180
  void CopyFrom(const RedisGetRequestPB& from);
2181
  void MergeFrom(const RedisGetRequestPB& from);
2182
  void Clear() PROTOBUF_FINAL;
2183
  bool IsInitialized() const PROTOBUF_FINAL;
2184
2185
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2186
  bool MergePartialFromCodedStream(
2187
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2188
  void SerializeWithCachedSizes(
2189
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2190
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2191
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2192
7.60k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2193
  private:
2194
  void SharedCtor();
2195
  void SharedDtor();
2196
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2197
  void InternalSwap(RedisGetRequestPB* other);
2198
  private:
2199
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2200
0
    return NULL;
2201
0
  }
2202
0
  inline void* MaybeArenaPtr() const {
2203
0
    return NULL;
2204
0
  }
2205
  public:
2206
2207
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2208
2209
  // nested types ----------------------------------------------------
2210
2211
  typedef RedisGetRequestPB_GetRequestType GetRequestType;
2212
  static const GetRequestType GET =
2213
    RedisGetRequestPB_GetRequestType_GET;
2214
  static const GetRequestType MGET =
2215
    RedisGetRequestPB_GetRequestType_MGET;
2216
  static const GetRequestType HGET =
2217
    RedisGetRequestPB_GetRequestType_HGET;
2218
  static const GetRequestType HMGET =
2219
    RedisGetRequestPB_GetRequestType_HMGET;
2220
  static const GetRequestType HGETALL =
2221
    RedisGetRequestPB_GetRequestType_HGETALL;
2222
  static const GetRequestType HKEYS =
2223
    RedisGetRequestPB_GetRequestType_HKEYS;
2224
  static const GetRequestType HVALS =
2225
    RedisGetRequestPB_GetRequestType_HVALS;
2226
  static const GetRequestType HLEN =
2227
    RedisGetRequestPB_GetRequestType_HLEN;
2228
  static const GetRequestType HEXISTS =
2229
    RedisGetRequestPB_GetRequestType_HEXISTS;
2230
  static const GetRequestType HSTRLEN =
2231
    RedisGetRequestPB_GetRequestType_HSTRLEN;
2232
  static const GetRequestType SMEMBERS =
2233
    RedisGetRequestPB_GetRequestType_SMEMBERS;
2234
  static const GetRequestType SISMEMBER =
2235
    RedisGetRequestPB_GetRequestType_SISMEMBER;
2236
  static const GetRequestType SCARD =
2237
    RedisGetRequestPB_GetRequestType_SCARD;
2238
  static const GetRequestType ZCARD =
2239
    RedisGetRequestPB_GetRequestType_ZCARD;
2240
  static const GetRequestType TSGET =
2241
    RedisGetRequestPB_GetRequestType_TSGET;
2242
  static const GetRequestType TSCARD =
2243
    RedisGetRequestPB_GetRequestType_TSCARD;
2244
  static const GetRequestType ZSCORE =
2245
    RedisGetRequestPB_GetRequestType_ZSCORE;
2246
  static const GetRequestType LLEN =
2247
    RedisGetRequestPB_GetRequestType_LLEN;
2248
  static const GetRequestType UNKNOWN =
2249
    RedisGetRequestPB_GetRequestType_UNKNOWN;
2250
0
  static inline bool GetRequestType_IsValid(int value) {
2251
0
    return RedisGetRequestPB_GetRequestType_IsValid(value);
2252
0
  }
2253
  static const GetRequestType GetRequestType_MIN =
2254
    RedisGetRequestPB_GetRequestType_GetRequestType_MIN;
2255
  static const GetRequestType GetRequestType_MAX =
2256
    RedisGetRequestPB_GetRequestType_GetRequestType_MAX;
2257
  static const int GetRequestType_ARRAYSIZE =
2258
    RedisGetRequestPB_GetRequestType_GetRequestType_ARRAYSIZE;
2259
  static inline const ::google::protobuf::EnumDescriptor*
2260
0
  GetRequestType_descriptor() {
2261
0
    return RedisGetRequestPB_GetRequestType_descriptor();
2262
0
  }
2263
0
  static inline const ::std::string& GetRequestType_Name(GetRequestType value) {
2264
0
    return RedisGetRequestPB_GetRequestType_Name(value);
2265
0
  }
2266
  static inline bool GetRequestType_Parse(const ::std::string& name,
2267
0
      GetRequestType* value) {
2268
0
    return RedisGetRequestPB_GetRequestType_Parse(name, value);
2269
0
  }
2270
2271
  // accessors -------------------------------------------------------
2272
2273
  // optional .yb.RedisGetRequestPB.GetRequestType request_type = 1 [default = GET];
2274
  bool has_request_type() const;
2275
  void clear_request_type();
2276
  static const int kRequestTypeFieldNumber = 1;
2277
  ::yb::RedisGetRequestPB_GetRequestType request_type() const;
2278
  void set_request_type(::yb::RedisGetRequestPB_GetRequestType value);
2279
2280
  // @@protoc_insertion_point(class_scope:yb.RedisGetRequestPB)
2281
 private:
2282
  void set_has_request_type();
2283
  void clear_has_request_type();
2284
2285
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2286
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2287
  mutable int _cached_size_;
2288
  int request_type_;
2289
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2290
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisGetRequestPBImpl();
2291
};
2292
// -------------------------------------------------------------------
2293
2294
class RedisCollectionGetRangeRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisCollectionGetRangeRequestPB) */ {
2295
 public:
2296
  RedisCollectionGetRangeRequestPB();
2297
  virtual ~RedisCollectionGetRangeRequestPB();
2298
2299
  RedisCollectionGetRangeRequestPB(const RedisCollectionGetRangeRequestPB& from);
2300
2301
0
  inline RedisCollectionGetRangeRequestPB& operator=(const RedisCollectionGetRangeRequestPB& from) {
2302
0
    CopyFrom(from);
2303
0
    return *this;
2304
0
  }
2305
  #if LANG_CXX11
2306
  RedisCollectionGetRangeRequestPB(RedisCollectionGetRangeRequestPB&& from) noexcept
2307
0
    : RedisCollectionGetRangeRequestPB() {
2308
0
    *this = ::std::move(from);
2309
0
  }
2310
2311
0
  inline RedisCollectionGetRangeRequestPB& operator=(RedisCollectionGetRangeRequestPB&& from) noexcept {
2312
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2313
0
      if (this != &from) InternalSwap(&from);
2314
0
    } else {
2315
0
      CopyFrom(from);
2316
0
    }
2317
0
    return *this;
2318
0
  }
2319
  #endif
2320
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2321
0
    return _internal_metadata_.unknown_fields();
2322
0
  }
2323
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2324
0
    return _internal_metadata_.mutable_unknown_fields();
2325
0
  }
2326
2327
  static const ::google::protobuf::Descriptor* descriptor();
2328
  static const RedisCollectionGetRangeRequestPB& default_instance();
2329
2330
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2331
47.6k
  static inline const RedisCollectionGetRangeRequestPB* internal_default_instance() {
2332
47.6k
    return reinterpret_cast<const RedisCollectionGetRangeRequestPB*>(
2333
47.6k
               &_RedisCollectionGetRangeRequestPB_default_instance_);
2334
47.6k
  }
2335
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2336
    11;
2337
2338
  void Swap(RedisCollectionGetRangeRequestPB* other);
2339
0
  friend void swap(RedisCollectionGetRangeRequestPB& a, RedisCollectionGetRangeRequestPB& b) {
2340
0
    a.Swap(&b);
2341
0
  }
2342
2343
  // implements Message ----------------------------------------------
2344
2345
0
  inline RedisCollectionGetRangeRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2346
2347
  RedisCollectionGetRangeRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2348
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2349
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2350
  void CopyFrom(const RedisCollectionGetRangeRequestPB& from);
2351
  void MergeFrom(const RedisCollectionGetRangeRequestPB& from);
2352
  void Clear() PROTOBUF_FINAL;
2353
  bool IsInitialized() const PROTOBUF_FINAL;
2354
2355
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2356
  bool MergePartialFromCodedStream(
2357
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2358
  void SerializeWithCachedSizes(
2359
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2360
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2361
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2362
2.42k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2363
  private:
2364
  void SharedCtor();
2365
  void SharedDtor();
2366
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2367
  void InternalSwap(RedisCollectionGetRangeRequestPB* other);
2368
  private:
2369
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2370
0
    return NULL;
2371
0
  }
2372
0
  inline void* MaybeArenaPtr() const {
2373
0
    return NULL;
2374
0
  }
2375
  public:
2376
2377
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2378
2379
  // nested types ----------------------------------------------------
2380
2381
  typedef RedisCollectionGetRangeRequestPB_GetRangeRequestType GetRangeRequestType;
2382
  static const GetRangeRequestType TSRANGEBYTIME =
2383
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_TSRANGEBYTIME;
2384
  static const GetRangeRequestType ZRANGEBYSCORE =
2385
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_ZRANGEBYSCORE;
2386
  static const GetRangeRequestType ZREVRANGE =
2387
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_ZREVRANGE;
2388
  static const GetRangeRequestType ZRANGE =
2389
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_ZRANGE;
2390
  static const GetRangeRequestType TSREVRANGEBYTIME =
2391
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_TSREVRANGEBYTIME;
2392
  static const GetRangeRequestType UNKNOWN =
2393
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_UNKNOWN;
2394
0
  static inline bool GetRangeRequestType_IsValid(int value) {
2395
0
    return RedisCollectionGetRangeRequestPB_GetRangeRequestType_IsValid(value);
2396
0
  }
2397
  static const GetRangeRequestType GetRangeRequestType_MIN =
2398
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_MIN;
2399
  static const GetRangeRequestType GetRangeRequestType_MAX =
2400
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_MAX;
2401
  static const int GetRangeRequestType_ARRAYSIZE =
2402
    RedisCollectionGetRangeRequestPB_GetRangeRequestType_GetRangeRequestType_ARRAYSIZE;
2403
  static inline const ::google::protobuf::EnumDescriptor*
2404
0
  GetRangeRequestType_descriptor() {
2405
0
    return RedisCollectionGetRangeRequestPB_GetRangeRequestType_descriptor();
2406
0
  }
2407
0
  static inline const ::std::string& GetRangeRequestType_Name(GetRangeRequestType value) {
2408
0
    return RedisCollectionGetRangeRequestPB_GetRangeRequestType_Name(value);
2409
0
  }
2410
  static inline bool GetRangeRequestType_Parse(const ::std::string& name,
2411
0
      GetRangeRequestType* value) {
2412
0
    return RedisCollectionGetRangeRequestPB_GetRangeRequestType_Parse(name, value);
2413
0
  }
2414
2415
  // accessors -------------------------------------------------------
2416
2417
  // optional bool with_scores = 2 [default = false];
2418
  bool has_with_scores() const;
2419
  void clear_with_scores();
2420
  static const int kWithScoresFieldNumber = 2;
2421
  bool with_scores() const;
2422
  void set_with_scores(bool value);
2423
2424
  // optional .yb.RedisCollectionGetRangeRequestPB.GetRangeRequestType request_type = 1 [default = TSRANGEBYTIME];
2425
  bool has_request_type() const;
2426
  void clear_request_type();
2427
  static const int kRequestTypeFieldNumber = 1;
2428
  ::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType request_type() const;
2429
  void set_request_type(::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType value);
2430
2431
  // @@protoc_insertion_point(class_scope:yb.RedisCollectionGetRangeRequestPB)
2432
 private:
2433
  void set_has_request_type();
2434
  void clear_has_request_type();
2435
  void set_has_with_scores();
2436
  void clear_has_with_scores();
2437
2438
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2439
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2440
  mutable int _cached_size_;
2441
  bool with_scores_;
2442
  int request_type_;
2443
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2444
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisCollectionGetRangeRequestPBImpl();
2445
};
2446
// -------------------------------------------------------------------
2447
2448
class RedisNoOpRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisNoOpRequestPB) */ {
2449
 public:
2450
  RedisNoOpRequestPB();
2451
  virtual ~RedisNoOpRequestPB();
2452
2453
  RedisNoOpRequestPB(const RedisNoOpRequestPB& from);
2454
2455
0
  inline RedisNoOpRequestPB& operator=(const RedisNoOpRequestPB& from) {
2456
0
    CopyFrom(from);
2457
0
    return *this;
2458
0
  }
2459
  #if LANG_CXX11
2460
  RedisNoOpRequestPB(RedisNoOpRequestPB&& from) noexcept
2461
0
    : RedisNoOpRequestPB() {
2462
0
    *this = ::std::move(from);
2463
0
  }
2464
2465
0
  inline RedisNoOpRequestPB& operator=(RedisNoOpRequestPB&& from) noexcept {
2466
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2467
0
      if (this != &from) InternalSwap(&from);
2468
0
    } else {
2469
0
      CopyFrom(from);
2470
0
    }
2471
0
    return *this;
2472
0
  }
2473
  #endif
2474
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2475
0
    return _internal_metadata_.unknown_fields();
2476
0
  }
2477
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2478
0
    return _internal_metadata_.mutable_unknown_fields();
2479
0
  }
2480
2481
  static const ::google::protobuf::Descriptor* descriptor();
2482
  static const RedisNoOpRequestPB& default_instance();
2483
2484
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2485
34.2k
  static inline const RedisNoOpRequestPB* internal_default_instance() {
2486
34.2k
    return reinterpret_cast<const RedisNoOpRequestPB*>(
2487
34.2k
               &_RedisNoOpRequestPB_default_instance_);
2488
34.2k
  }
2489
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2490
    12;
2491
2492
  void Swap(RedisNoOpRequestPB* other);
2493
0
  friend void swap(RedisNoOpRequestPB& a, RedisNoOpRequestPB& b) {
2494
0
    a.Swap(&b);
2495
0
  }
2496
2497
  // implements Message ----------------------------------------------
2498
2499
0
  inline RedisNoOpRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2500
2501
  RedisNoOpRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2502
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2503
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2504
  void CopyFrom(const RedisNoOpRequestPB& from);
2505
  void MergeFrom(const RedisNoOpRequestPB& from);
2506
  void Clear() PROTOBUF_FINAL;
2507
  bool IsInitialized() const PROTOBUF_FINAL;
2508
2509
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2510
  bool MergePartialFromCodedStream(
2511
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2512
  void SerializeWithCachedSizes(
2513
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2514
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2515
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2516
2
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2517
  private:
2518
  void SharedCtor();
2519
  void SharedDtor();
2520
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2521
  void InternalSwap(RedisNoOpRequestPB* other);
2522
  private:
2523
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2524
0
    return NULL;
2525
0
  }
2526
0
  inline void* MaybeArenaPtr() const {
2527
0
    return NULL;
2528
0
  }
2529
  public:
2530
2531
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2532
2533
  // nested types ----------------------------------------------------
2534
2535
  // accessors -------------------------------------------------------
2536
2537
  // @@protoc_insertion_point(class_scope:yb.RedisNoOpRequestPB)
2538
 private:
2539
2540
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2541
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2542
  mutable int _cached_size_;
2543
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2544
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisNoOpRequestPBImpl();
2545
};
2546
// -------------------------------------------------------------------
2547
2548
class RedisSetTtlRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisSetTtlRequestPB) */ {
2549
 public:
2550
  RedisSetTtlRequestPB();
2551
  virtual ~RedisSetTtlRequestPB();
2552
2553
  RedisSetTtlRequestPB(const RedisSetTtlRequestPB& from);
2554
2555
0
  inline RedisSetTtlRequestPB& operator=(const RedisSetTtlRequestPB& from) {
2556
0
    CopyFrom(from);
2557
0
    return *this;
2558
0
  }
2559
  #if LANG_CXX11
2560
  RedisSetTtlRequestPB(RedisSetTtlRequestPB&& from) noexcept
2561
0
    : RedisSetTtlRequestPB() {
2562
0
    *this = ::std::move(from);
2563
0
  }
2564
2565
0
  inline RedisSetTtlRequestPB& operator=(RedisSetTtlRequestPB&& from) noexcept {
2566
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2567
0
      if (this != &from) InternalSwap(&from);
2568
0
    } else {
2569
0
      CopyFrom(from);
2570
0
    }
2571
0
    return *this;
2572
0
  }
2573
  #endif
2574
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2575
0
    return _internal_metadata_.unknown_fields();
2576
0
  }
2577
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2578
0
    return _internal_metadata_.mutable_unknown_fields();
2579
0
  }
2580
2581
  static const ::google::protobuf::Descriptor* descriptor();
2582
  static const RedisSetTtlRequestPB& default_instance();
2583
2584
  enum ExpirationCase {
2585
    kTtl = 1,
2586
    kAbsoluteTime = 2,
2587
    EXPIRATION_NOT_SET = 0,
2588
  };
2589
2590
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2591
34.3k
  static inline const RedisSetTtlRequestPB* internal_default_instance() {
2592
34.3k
    return reinterpret_cast<const RedisSetTtlRequestPB*>(
2593
34.3k
               &_RedisSetTtlRequestPB_default_instance_);
2594
34.3k
  }
2595
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2596
    13;
2597
2598
  void Swap(RedisSetTtlRequestPB* other);
2599
0
  friend void swap(RedisSetTtlRequestPB& a, RedisSetTtlRequestPB& b) {
2600
0
    a.Swap(&b);
2601
0
  }
2602
2603
  // implements Message ----------------------------------------------
2604
2605
0
  inline RedisSetTtlRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2606
2607
  RedisSetTtlRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2608
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2609
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2610
  void CopyFrom(const RedisSetTtlRequestPB& from);
2611
  void MergeFrom(const RedisSetTtlRequestPB& from);
2612
  void Clear() PROTOBUF_FINAL;
2613
  bool IsInitialized() const PROTOBUF_FINAL;
2614
2615
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2616
  bool MergePartialFromCodedStream(
2617
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2618
  void SerializeWithCachedSizes(
2619
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2620
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2621
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2622
25
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2623
  private:
2624
  void SharedCtor();
2625
  void SharedDtor();
2626
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2627
  void InternalSwap(RedisSetTtlRequestPB* other);
2628
  private:
2629
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2630
0
    return NULL;
2631
0
  }
2632
0
  inline void* MaybeArenaPtr() const {
2633
0
    return NULL;
2634
0
  }
2635
  public:
2636
2637
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2638
2639
  // nested types ----------------------------------------------------
2640
2641
  // accessors -------------------------------------------------------
2642
2643
  // optional int64 ttl = 1 [default = -1];
2644
  bool has_ttl() const;
2645
  void clear_ttl();
2646
  static const int kTtlFieldNumber = 1;
2647
  ::google::protobuf::int64 ttl() const;
2648
  void set_ttl(::google::protobuf::int64 value);
2649
2650
  // optional int64 absolute_time = 2;
2651
  bool has_absolute_time() const;
2652
  void clear_absolute_time();
2653
  static const int kAbsoluteTimeFieldNumber = 2;
2654
  ::google::protobuf::int64 absolute_time() const;
2655
  void set_absolute_time(::google::protobuf::int64 value);
2656
2657
  ExpirationCase expiration_case() const;
2658
  // @@protoc_insertion_point(class_scope:yb.RedisSetTtlRequestPB)
2659
 private:
2660
  void set_has_ttl();
2661
  void set_has_absolute_time();
2662
2663
  inline bool has_expiration() const;
2664
  void clear_expiration();
2665
  inline void clear_has_expiration();
2666
2667
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2668
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2669
  mutable int _cached_size_;
2670
  union ExpirationUnion {
2671
17.2k
    ExpirationUnion() {}
2672
    ::google::protobuf::int64 ttl_;
2673
    ::google::protobuf::int64 absolute_time_;
2674
  } expiration_;
2675
  ::google::protobuf::uint32 _oneof_case_[1];
2676
2677
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2678
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisSetTtlRequestPBImpl();
2679
};
2680
// -------------------------------------------------------------------
2681
2682
class RedisGetTtlRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisGetTtlRequestPB) */ {
2683
 public:
2684
  RedisGetTtlRequestPB();
2685
  virtual ~RedisGetTtlRequestPB();
2686
2687
  RedisGetTtlRequestPB(const RedisGetTtlRequestPB& from);
2688
2689
0
  inline RedisGetTtlRequestPB& operator=(const RedisGetTtlRequestPB& from) {
2690
0
    CopyFrom(from);
2691
0
    return *this;
2692
0
  }
2693
  #if LANG_CXX11
2694
  RedisGetTtlRequestPB(RedisGetTtlRequestPB&& from) noexcept
2695
0
    : RedisGetTtlRequestPB() {
2696
0
    *this = ::std::move(from);
2697
0
  }
2698
2699
0
  inline RedisGetTtlRequestPB& operator=(RedisGetTtlRequestPB&& from) noexcept {
2700
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2701
0
      if (this != &from) InternalSwap(&from);
2702
0
    } else {
2703
0
      CopyFrom(from);
2704
0
    }
2705
0
    return *this;
2706
0
  }
2707
  #endif
2708
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2709
0
    return _internal_metadata_.unknown_fields();
2710
0
  }
2711
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2712
0
    return _internal_metadata_.mutable_unknown_fields();
2713
0
  }
2714
2715
  static const ::google::protobuf::Descriptor* descriptor();
2716
  static const RedisGetTtlRequestPB& default_instance();
2717
2718
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2719
34.6k
  static inline const RedisGetTtlRequestPB* internal_default_instance() {
2720
34.6k
    return reinterpret_cast<const RedisGetTtlRequestPB*>(
2721
34.6k
               &_RedisGetTtlRequestPB_default_instance_);
2722
34.6k
  }
2723
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2724
    14;
2725
2726
  void Swap(RedisGetTtlRequestPB* other);
2727
0
  friend void swap(RedisGetTtlRequestPB& a, RedisGetTtlRequestPB& b) {
2728
0
    a.Swap(&b);
2729
0
  }
2730
2731
  // implements Message ----------------------------------------------
2732
2733
0
  inline RedisGetTtlRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2734
2735
  RedisGetTtlRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2736
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2737
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2738
  void CopyFrom(const RedisGetTtlRequestPB& from);
2739
  void MergeFrom(const RedisGetTtlRequestPB& from);
2740
  void Clear() PROTOBUF_FINAL;
2741
  bool IsInitialized() const PROTOBUF_FINAL;
2742
2743
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2744
  bool MergePartialFromCodedStream(
2745
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2746
  void SerializeWithCachedSizes(
2747
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2748
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2749
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2750
74
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2751
  private:
2752
  void SharedCtor();
2753
  void SharedDtor();
2754
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2755
  void InternalSwap(RedisGetTtlRequestPB* other);
2756
  private:
2757
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2758
0
    return NULL;
2759
0
  }
2760
0
  inline void* MaybeArenaPtr() const {
2761
0
    return NULL;
2762
0
  }
2763
  public:
2764
2765
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2766
2767
  // nested types ----------------------------------------------------
2768
2769
  // accessors -------------------------------------------------------
2770
2771
  // optional bool return_seconds = 1 [default = false];
2772
  bool has_return_seconds() const;
2773
  void clear_return_seconds();
2774
  static const int kReturnSecondsFieldNumber = 1;
2775
  bool return_seconds() const;
2776
  void set_return_seconds(bool value);
2777
2778
  // @@protoc_insertion_point(class_scope:yb.RedisGetTtlRequestPB)
2779
 private:
2780
  void set_has_return_seconds();
2781
  void clear_has_return_seconds();
2782
2783
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2784
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2785
  mutable int _cached_size_;
2786
  bool return_seconds_;
2787
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2788
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisGetTtlRequestPBImpl();
2789
};
2790
// -------------------------------------------------------------------
2791
2792
class RedisKeysRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisKeysRequestPB) */ {
2793
 public:
2794
  RedisKeysRequestPB();
2795
  virtual ~RedisKeysRequestPB();
2796
2797
  RedisKeysRequestPB(const RedisKeysRequestPB& from);
2798
2799
0
  inline RedisKeysRequestPB& operator=(const RedisKeysRequestPB& from) {
2800
0
    CopyFrom(from);
2801
0
    return *this;
2802
0
  }
2803
  #if LANG_CXX11
2804
  RedisKeysRequestPB(RedisKeysRequestPB&& from) noexcept
2805
0
    : RedisKeysRequestPB() {
2806
0
    *this = ::std::move(from);
2807
0
  }
2808
2809
0
  inline RedisKeysRequestPB& operator=(RedisKeysRequestPB&& from) noexcept {
2810
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2811
0
      if (this != &from) InternalSwap(&from);
2812
0
    } else {
2813
0
      CopyFrom(from);
2814
0
    }
2815
0
    return *this;
2816
0
  }
2817
  #endif
2818
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2819
0
    return _internal_metadata_.unknown_fields();
2820
0
  }
2821
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2822
0
    return _internal_metadata_.mutable_unknown_fields();
2823
0
  }
2824
2825
  static const ::google::protobuf::Descriptor* descriptor();
2826
  static const RedisKeysRequestPB& default_instance();
2827
2828
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2829
35.0k
  static inline const RedisKeysRequestPB* internal_default_instance() {
2830
35.0k
    return reinterpret_cast<const RedisKeysRequestPB*>(
2831
35.0k
               &_RedisKeysRequestPB_default_instance_);
2832
35.0k
  }
2833
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2834
    15;
2835
2836
  void Swap(RedisKeysRequestPB* other);
2837
0
  friend void swap(RedisKeysRequestPB& a, RedisKeysRequestPB& b) {
2838
0
    a.Swap(&b);
2839
0
  }
2840
2841
  // implements Message ----------------------------------------------
2842
2843
0
  inline RedisKeysRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2844
2845
  RedisKeysRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2846
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2847
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2848
  void CopyFrom(const RedisKeysRequestPB& from);
2849
  void MergeFrom(const RedisKeysRequestPB& from);
2850
  void Clear() PROTOBUF_FINAL;
2851
  bool IsInitialized() const PROTOBUF_FINAL;
2852
2853
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2854
  bool MergePartialFromCodedStream(
2855
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2856
  void SerializeWithCachedSizes(
2857
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2858
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2859
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2860
198
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2861
  private:
2862
  void SharedCtor();
2863
  void SharedDtor();
2864
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2865
  void InternalSwap(RedisKeysRequestPB* other);
2866
  private:
2867
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2868
0
    return NULL;
2869
0
  }
2870
0
  inline void* MaybeArenaPtr() const {
2871
0
    return NULL;
2872
0
  }
2873
  public:
2874
2875
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2876
2877
  // nested types ----------------------------------------------------
2878
2879
  // accessors -------------------------------------------------------
2880
2881
  // optional string pattern = 1;
2882
  bool has_pattern() const;
2883
  void clear_pattern();
2884
  static const int kPatternFieldNumber = 1;
2885
  const ::std::string& pattern() const;
2886
  void set_pattern(const ::std::string& value);
2887
  #if LANG_CXX11
2888
  void set_pattern(::std::string&& value);
2889
  #endif
2890
  void set_pattern(const char* value);
2891
  void set_pattern(const char* value, size_t size);
2892
  ::std::string* mutable_pattern();
2893
  ::std::string* release_pattern();
2894
  void set_allocated_pattern(::std::string* pattern);
2895
2896
  // optional int32 threshold = 2;
2897
  bool has_threshold() const;
2898
  void clear_threshold();
2899
  static const int kThresholdFieldNumber = 2;
2900
  ::google::protobuf::int32 threshold() const;
2901
  void set_threshold(::google::protobuf::int32 value);
2902
2903
  // @@protoc_insertion_point(class_scope:yb.RedisKeysRequestPB)
2904
 private:
2905
  void set_has_pattern();
2906
  void clear_has_pattern();
2907
  void set_has_threshold();
2908
  void clear_has_threshold();
2909
2910
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2911
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2912
  mutable int _cached_size_;
2913
  ::google::protobuf::internal::ArenaStringPtr pattern_;
2914
  ::google::protobuf::int32 threshold_;
2915
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
2916
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisKeysRequestPBImpl();
2917
};
2918
// -------------------------------------------------------------------
2919
2920
class RedisGetForRenameRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisGetForRenameRequestPB) */ {
2921
 public:
2922
  RedisGetForRenameRequestPB();
2923
  virtual ~RedisGetForRenameRequestPB();
2924
2925
  RedisGetForRenameRequestPB(const RedisGetForRenameRequestPB& from);
2926
2927
0
  inline RedisGetForRenameRequestPB& operator=(const RedisGetForRenameRequestPB& from) {
2928
0
    CopyFrom(from);
2929
0
    return *this;
2930
0
  }
2931
  #if LANG_CXX11
2932
  RedisGetForRenameRequestPB(RedisGetForRenameRequestPB&& from) noexcept
2933
0
    : RedisGetForRenameRequestPB() {
2934
0
    *this = ::std::move(from);
2935
0
  }
2936
2937
0
  inline RedisGetForRenameRequestPB& operator=(RedisGetForRenameRequestPB&& from) noexcept {
2938
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2939
0
      if (this != &from) InternalSwap(&from);
2940
0
    } else {
2941
0
      CopyFrom(from);
2942
0
    }
2943
0
    return *this;
2944
0
  }
2945
  #endif
2946
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2947
0
    return _internal_metadata_.unknown_fields();
2948
0
  }
2949
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2950
0
    return _internal_metadata_.mutable_unknown_fields();
2951
0
  }
2952
2953
  static const ::google::protobuf::Descriptor* descriptor();
2954
  static const RedisGetForRenameRequestPB& default_instance();
2955
2956
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2957
34.2k
  static inline const RedisGetForRenameRequestPB* internal_default_instance() {
2958
34.2k
    return reinterpret_cast<const RedisGetForRenameRequestPB*>(
2959
34.2k
               &_RedisGetForRenameRequestPB_default_instance_);
2960
34.2k
  }
2961
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2962
    16;
2963
2964
  void Swap(RedisGetForRenameRequestPB* other);
2965
0
  friend void swap(RedisGetForRenameRequestPB& a, RedisGetForRenameRequestPB& b) {
2966
0
    a.Swap(&b);
2967
0
  }
2968
2969
  // implements Message ----------------------------------------------
2970
2971
0
  inline RedisGetForRenameRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2972
2973
  RedisGetForRenameRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2974
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2975
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2976
  void CopyFrom(const RedisGetForRenameRequestPB& from);
2977
  void MergeFrom(const RedisGetForRenameRequestPB& from);
2978
  void Clear() PROTOBUF_FINAL;
2979
  bool IsInitialized() const PROTOBUF_FINAL;
2980
2981
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2982
  bool MergePartialFromCodedStream(
2983
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2984
  void SerializeWithCachedSizes(
2985
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2986
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2987
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2988
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2989
  private:
2990
  void SharedCtor();
2991
  void SharedDtor();
2992
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2993
  void InternalSwap(RedisGetForRenameRequestPB* other);
2994
  private:
2995
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2996
0
    return NULL;
2997
0
  }
2998
0
  inline void* MaybeArenaPtr() const {
2999
0
    return NULL;
3000
0
  }
3001
  public:
3002
3003
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3004
3005
  // nested types ----------------------------------------------------
3006
3007
  // accessors -------------------------------------------------------
3008
3009
  // @@protoc_insertion_point(class_scope:yb.RedisGetForRenameRequestPB)
3010
 private:
3011
3012
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3013
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3014
  mutable int _cached_size_;
3015
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3016
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisGetForRenameRequestPBImpl();
3017
};
3018
// -------------------------------------------------------------------
3019
3020
class RedisGetSetRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisGetSetRequestPB) */ {
3021
 public:
3022
  RedisGetSetRequestPB();
3023
  virtual ~RedisGetSetRequestPB();
3024
3025
  RedisGetSetRequestPB(const RedisGetSetRequestPB& from);
3026
3027
0
  inline RedisGetSetRequestPB& operator=(const RedisGetSetRequestPB& from) {
3028
0
    CopyFrom(from);
3029
0
    return *this;
3030
0
  }
3031
  #if LANG_CXX11
3032
  RedisGetSetRequestPB(RedisGetSetRequestPB&& from) noexcept
3033
0
    : RedisGetSetRequestPB() {
3034
0
    *this = ::std::move(from);
3035
0
  }
3036
3037
0
  inline RedisGetSetRequestPB& operator=(RedisGetSetRequestPB&& from) noexcept {
3038
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3039
0
      if (this != &from) InternalSwap(&from);
3040
0
    } else {
3041
0
      CopyFrom(from);
3042
0
    }
3043
0
    return *this;
3044
0
  }
3045
  #endif
3046
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3047
0
    return _internal_metadata_.unknown_fields();
3048
0
  }
3049
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3050
0
    return _internal_metadata_.mutable_unknown_fields();
3051
0
  }
3052
3053
  static const ::google::protobuf::Descriptor* descriptor();
3054
  static const RedisGetSetRequestPB& default_instance();
3055
3056
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3057
34.2k
  static inline const RedisGetSetRequestPB* internal_default_instance() {
3058
34.2k
    return reinterpret_cast<const RedisGetSetRequestPB*>(
3059
34.2k
               &_RedisGetSetRequestPB_default_instance_);
3060
34.2k
  }
3061
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3062
    17;
3063
3064
  void Swap(RedisGetSetRequestPB* other);
3065
0
  friend void swap(RedisGetSetRequestPB& a, RedisGetSetRequestPB& b) {
3066
0
    a.Swap(&b);
3067
0
  }
3068
3069
  // implements Message ----------------------------------------------
3070
3071
0
  inline RedisGetSetRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3072
3073
  RedisGetSetRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3074
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3075
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3076
  void CopyFrom(const RedisGetSetRequestPB& from);
3077
  void MergeFrom(const RedisGetSetRequestPB& from);
3078
  void Clear() PROTOBUF_FINAL;
3079
  bool IsInitialized() const PROTOBUF_FINAL;
3080
3081
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3082
  bool MergePartialFromCodedStream(
3083
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3084
  void SerializeWithCachedSizes(
3085
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3086
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3087
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3088
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3089
  private:
3090
  void SharedCtor();
3091
  void SharedDtor();
3092
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3093
  void InternalSwap(RedisGetSetRequestPB* other);
3094
  private:
3095
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3096
0
    return NULL;
3097
0
  }
3098
0
  inline void* MaybeArenaPtr() const {
3099
0
    return NULL;
3100
0
  }
3101
  public:
3102
3103
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3104
3105
  // nested types ----------------------------------------------------
3106
3107
  // accessors -------------------------------------------------------
3108
3109
  // @@protoc_insertion_point(class_scope:yb.RedisGetSetRequestPB)
3110
 private:
3111
3112
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3113
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3114
  mutable int _cached_size_;
3115
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3116
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisGetSetRequestPBImpl();
3117
};
3118
// -------------------------------------------------------------------
3119
3120
class RedisAppendRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisAppendRequestPB) */ {
3121
 public:
3122
  RedisAppendRequestPB();
3123
  virtual ~RedisAppendRequestPB();
3124
3125
  RedisAppendRequestPB(const RedisAppendRequestPB& from);
3126
3127
0
  inline RedisAppendRequestPB& operator=(const RedisAppendRequestPB& from) {
3128
0
    CopyFrom(from);
3129
0
    return *this;
3130
0
  }
3131
  #if LANG_CXX11
3132
  RedisAppendRequestPB(RedisAppendRequestPB&& from) noexcept
3133
0
    : RedisAppendRequestPB() {
3134
0
    *this = ::std::move(from);
3135
0
  }
3136
3137
0
  inline RedisAppendRequestPB& operator=(RedisAppendRequestPB&& from) noexcept {
3138
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3139
0
      if (this != &from) InternalSwap(&from);
3140
0
    } else {
3141
0
      CopyFrom(from);
3142
0
    }
3143
0
    return *this;
3144
0
  }
3145
  #endif
3146
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3147
0
    return _internal_metadata_.unknown_fields();
3148
0
  }
3149
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3150
0
    return _internal_metadata_.mutable_unknown_fields();
3151
0
  }
3152
3153
  static const ::google::protobuf::Descriptor* descriptor();
3154
  static const RedisAppendRequestPB& default_instance();
3155
3156
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3157
34.2k
  static inline const RedisAppendRequestPB* internal_default_instance() {
3158
34.2k
    return reinterpret_cast<const RedisAppendRequestPB*>(
3159
34.2k
               &_RedisAppendRequestPB_default_instance_);
3160
34.2k
  }
3161
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3162
    18;
3163
3164
  void Swap(RedisAppendRequestPB* other);
3165
0
  friend void swap(RedisAppendRequestPB& a, RedisAppendRequestPB& b) {
3166
0
    a.Swap(&b);
3167
0
  }
3168
3169
  // implements Message ----------------------------------------------
3170
3171
0
  inline RedisAppendRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3172
3173
  RedisAppendRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3174
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3175
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3176
  void CopyFrom(const RedisAppendRequestPB& from);
3177
  void MergeFrom(const RedisAppendRequestPB& from);
3178
  void Clear() PROTOBUF_FINAL;
3179
  bool IsInitialized() const PROTOBUF_FINAL;
3180
3181
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3182
  bool MergePartialFromCodedStream(
3183
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3184
  void SerializeWithCachedSizes(
3185
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3186
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3187
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3188
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3189
  private:
3190
  void SharedCtor();
3191
  void SharedDtor();
3192
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3193
  void InternalSwap(RedisAppendRequestPB* other);
3194
  private:
3195
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3196
0
    return NULL;
3197
0
  }
3198
0
  inline void* MaybeArenaPtr() const {
3199
0
    return NULL;
3200
0
  }
3201
  public:
3202
3203
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3204
3205
  // nested types ----------------------------------------------------
3206
3207
  // accessors -------------------------------------------------------
3208
3209
  // @@protoc_insertion_point(class_scope:yb.RedisAppendRequestPB)
3210
 private:
3211
3212
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3213
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3214
  mutable int _cached_size_;
3215
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3216
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisAppendRequestPBImpl();
3217
};
3218
// -------------------------------------------------------------------
3219
3220
class RedisStrLenRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisStrLenRequestPB) */ {
3221
 public:
3222
  RedisStrLenRequestPB();
3223
  virtual ~RedisStrLenRequestPB();
3224
3225
  RedisStrLenRequestPB(const RedisStrLenRequestPB& from);
3226
3227
0
  inline RedisStrLenRequestPB& operator=(const RedisStrLenRequestPB& from) {
3228
0
    CopyFrom(from);
3229
0
    return *this;
3230
0
  }
3231
  #if LANG_CXX11
3232
  RedisStrLenRequestPB(RedisStrLenRequestPB&& from) noexcept
3233
0
    : RedisStrLenRequestPB() {
3234
0
    *this = ::std::move(from);
3235
0
  }
3236
3237
0
  inline RedisStrLenRequestPB& operator=(RedisStrLenRequestPB&& from) noexcept {
3238
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3239
0
      if (this != &from) InternalSwap(&from);
3240
0
    } else {
3241
0
      CopyFrom(from);
3242
0
    }
3243
0
    return *this;
3244
0
  }
3245
  #endif
3246
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3247
0
    return _internal_metadata_.unknown_fields();
3248
0
  }
3249
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3250
0
    return _internal_metadata_.mutable_unknown_fields();
3251
0
  }
3252
3253
  static const ::google::protobuf::Descriptor* descriptor();
3254
  static const RedisStrLenRequestPB& default_instance();
3255
3256
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3257
34.2k
  static inline const RedisStrLenRequestPB* internal_default_instance() {
3258
34.2k
    return reinterpret_cast<const RedisStrLenRequestPB*>(
3259
34.2k
               &_RedisStrLenRequestPB_default_instance_);
3260
34.2k
  }
3261
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3262
    19;
3263
3264
  void Swap(RedisStrLenRequestPB* other);
3265
0
  friend void swap(RedisStrLenRequestPB& a, RedisStrLenRequestPB& b) {
3266
0
    a.Swap(&b);
3267
0
  }
3268
3269
  // implements Message ----------------------------------------------
3270
3271
0
  inline RedisStrLenRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3272
3273
  RedisStrLenRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3274
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3275
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3276
  void CopyFrom(const RedisStrLenRequestPB& from);
3277
  void MergeFrom(const RedisStrLenRequestPB& from);
3278
  void Clear() PROTOBUF_FINAL;
3279
  bool IsInitialized() const PROTOBUF_FINAL;
3280
3281
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3282
  bool MergePartialFromCodedStream(
3283
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3284
  void SerializeWithCachedSizes(
3285
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3286
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3287
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3288
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3289
  private:
3290
  void SharedCtor();
3291
  void SharedDtor();
3292
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3293
  void InternalSwap(RedisStrLenRequestPB* other);
3294
  private:
3295
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3296
0
    return NULL;
3297
0
  }
3298
0
  inline void* MaybeArenaPtr() const {
3299
0
    return NULL;
3300
0
  }
3301
  public:
3302
3303
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3304
3305
  // nested types ----------------------------------------------------
3306
3307
  // accessors -------------------------------------------------------
3308
3309
  // @@protoc_insertion_point(class_scope:yb.RedisStrLenRequestPB)
3310
 private:
3311
3312
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3313
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3314
  mutable int _cached_size_;
3315
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3316
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisStrLenRequestPBImpl();
3317
};
3318
// -------------------------------------------------------------------
3319
3320
class RedisDelRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisDelRequestPB) */ {
3321
 public:
3322
  RedisDelRequestPB();
3323
  virtual ~RedisDelRequestPB();
3324
3325
  RedisDelRequestPB(const RedisDelRequestPB& from);
3326
3327
0
  inline RedisDelRequestPB& operator=(const RedisDelRequestPB& from) {
3328
0
    CopyFrom(from);
3329
0
    return *this;
3330
0
  }
3331
  #if LANG_CXX11
3332
  RedisDelRequestPB(RedisDelRequestPB&& from) noexcept
3333
0
    : RedisDelRequestPB() {
3334
0
    *this = ::std::move(from);
3335
0
  }
3336
3337
0
  inline RedisDelRequestPB& operator=(RedisDelRequestPB&& from) noexcept {
3338
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3339
0
      if (this != &from) InternalSwap(&from);
3340
0
    } else {
3341
0
      CopyFrom(from);
3342
0
    }
3343
0
    return *this;
3344
0
  }
3345
  #endif
3346
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3347
0
    return _internal_metadata_.unknown_fields();
3348
0
  }
3349
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3350
0
    return _internal_metadata_.mutable_unknown_fields();
3351
0
  }
3352
3353
  static const ::google::protobuf::Descriptor* descriptor();
3354
  static const RedisDelRequestPB& default_instance();
3355
3356
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3357
34.2k
  static inline const RedisDelRequestPB* internal_default_instance() {
3358
34.2k
    return reinterpret_cast<const RedisDelRequestPB*>(
3359
34.2k
               &_RedisDelRequestPB_default_instance_);
3360
34.2k
  }
3361
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3362
    20;
3363
3364
  void Swap(RedisDelRequestPB* other);
3365
0
  friend void swap(RedisDelRequestPB& a, RedisDelRequestPB& b) {
3366
0
    a.Swap(&b);
3367
0
  }
3368
3369
  // implements Message ----------------------------------------------
3370
3371
0
  inline RedisDelRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3372
3373
  RedisDelRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3374
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3375
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3376
  void CopyFrom(const RedisDelRequestPB& from);
3377
  void MergeFrom(const RedisDelRequestPB& from);
3378
  void Clear() PROTOBUF_FINAL;
3379
  bool IsInitialized() const PROTOBUF_FINAL;
3380
3381
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3382
  bool MergePartialFromCodedStream(
3383
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3384
  void SerializeWithCachedSizes(
3385
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3386
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3387
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3388
10
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3389
  private:
3390
  void SharedCtor();
3391
  void SharedDtor();
3392
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3393
  void InternalSwap(RedisDelRequestPB* other);
3394
  private:
3395
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3396
0
    return NULL;
3397
0
  }
3398
0
  inline void* MaybeArenaPtr() const {
3399
0
    return NULL;
3400
0
  }
3401
  public:
3402
3403
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3404
3405
  // nested types ----------------------------------------------------
3406
3407
  // accessors -------------------------------------------------------
3408
3409
  // @@protoc_insertion_point(class_scope:yb.RedisDelRequestPB)
3410
 private:
3411
3412
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3413
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3414
  mutable int _cached_size_;
3415
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3416
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisDelRequestPBImpl();
3417
};
3418
// -------------------------------------------------------------------
3419
3420
class RedisExistsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisExistsRequestPB) */ {
3421
 public:
3422
  RedisExistsRequestPB();
3423
  virtual ~RedisExistsRequestPB();
3424
3425
  RedisExistsRequestPB(const RedisExistsRequestPB& from);
3426
3427
0
  inline RedisExistsRequestPB& operator=(const RedisExistsRequestPB& from) {
3428
0
    CopyFrom(from);
3429
0
    return *this;
3430
0
  }
3431
  #if LANG_CXX11
3432
  RedisExistsRequestPB(RedisExistsRequestPB&& from) noexcept
3433
0
    : RedisExistsRequestPB() {
3434
0
    *this = ::std::move(from);
3435
0
  }
3436
3437
0
  inline RedisExistsRequestPB& operator=(RedisExistsRequestPB&& from) noexcept {
3438
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3439
0
      if (this != &from) InternalSwap(&from);
3440
0
    } else {
3441
0
      CopyFrom(from);
3442
0
    }
3443
0
    return *this;
3444
0
  }
3445
  #endif
3446
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3447
0
    return _internal_metadata_.unknown_fields();
3448
0
  }
3449
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3450
0
    return _internal_metadata_.mutable_unknown_fields();
3451
0
  }
3452
3453
  static const ::google::protobuf::Descriptor* descriptor();
3454
  static const RedisExistsRequestPB& default_instance();
3455
3456
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3457
34.2k
  static inline const RedisExistsRequestPB* internal_default_instance() {
3458
34.2k
    return reinterpret_cast<const RedisExistsRequestPB*>(
3459
34.2k
               &_RedisExistsRequestPB_default_instance_);
3460
34.2k
  }
3461
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3462
    21;
3463
3464
  void Swap(RedisExistsRequestPB* other);
3465
0
  friend void swap(RedisExistsRequestPB& a, RedisExistsRequestPB& b) {
3466
0
    a.Swap(&b);
3467
0
  }
3468
3469
  // implements Message ----------------------------------------------
3470
3471
0
  inline RedisExistsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3472
3473
  RedisExistsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3474
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3475
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3476
  void CopyFrom(const RedisExistsRequestPB& from);
3477
  void MergeFrom(const RedisExistsRequestPB& from);
3478
  void Clear() PROTOBUF_FINAL;
3479
  bool IsInitialized() const PROTOBUF_FINAL;
3480
3481
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3482
  bool MergePartialFromCodedStream(
3483
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3484
  void SerializeWithCachedSizes(
3485
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3486
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3487
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3488
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3489
  private:
3490
  void SharedCtor();
3491
  void SharedDtor();
3492
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3493
  void InternalSwap(RedisExistsRequestPB* other);
3494
  private:
3495
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3496
0
    return NULL;
3497
0
  }
3498
0
  inline void* MaybeArenaPtr() const {
3499
0
    return NULL;
3500
0
  }
3501
  public:
3502
3503
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3504
3505
  // nested types ----------------------------------------------------
3506
3507
  // accessors -------------------------------------------------------
3508
3509
  // @@protoc_insertion_point(class_scope:yb.RedisExistsRequestPB)
3510
 private:
3511
3512
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3513
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3514
  mutable int _cached_size_;
3515
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3516
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisExistsRequestPBImpl();
3517
};
3518
// -------------------------------------------------------------------
3519
3520
class RedisSetRangeRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisSetRangeRequestPB) */ {
3521
 public:
3522
  RedisSetRangeRequestPB();
3523
  virtual ~RedisSetRangeRequestPB();
3524
3525
  RedisSetRangeRequestPB(const RedisSetRangeRequestPB& from);
3526
3527
0
  inline RedisSetRangeRequestPB& operator=(const RedisSetRangeRequestPB& from) {
3528
0
    CopyFrom(from);
3529
0
    return *this;
3530
0
  }
3531
  #if LANG_CXX11
3532
  RedisSetRangeRequestPB(RedisSetRangeRequestPB&& from) noexcept
3533
0
    : RedisSetRangeRequestPB() {
3534
0
    *this = ::std::move(from);
3535
0
  }
3536
3537
0
  inline RedisSetRangeRequestPB& operator=(RedisSetRangeRequestPB&& from) noexcept {
3538
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3539
0
      if (this != &from) InternalSwap(&from);
3540
0
    } else {
3541
0
      CopyFrom(from);
3542
0
    }
3543
0
    return *this;
3544
0
  }
3545
  #endif
3546
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3547
0
    return _internal_metadata_.unknown_fields();
3548
0
  }
3549
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3550
0
    return _internal_metadata_.mutable_unknown_fields();
3551
0
  }
3552
3553
  static const ::google::protobuf::Descriptor* descriptor();
3554
  static const RedisSetRangeRequestPB& default_instance();
3555
3556
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3557
34.2k
  static inline const RedisSetRangeRequestPB* internal_default_instance() {
3558
34.2k
    return reinterpret_cast<const RedisSetRangeRequestPB*>(
3559
34.2k
               &_RedisSetRangeRequestPB_default_instance_);
3560
34.2k
  }
3561
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3562
    22;
3563
3564
  void Swap(RedisSetRangeRequestPB* other);
3565
0
  friend void swap(RedisSetRangeRequestPB& a, RedisSetRangeRequestPB& b) {
3566
0
    a.Swap(&b);
3567
0
  }
3568
3569
  // implements Message ----------------------------------------------
3570
3571
0
  inline RedisSetRangeRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3572
3573
  RedisSetRangeRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3574
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3575
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3576
  void CopyFrom(const RedisSetRangeRequestPB& from);
3577
  void MergeFrom(const RedisSetRangeRequestPB& from);
3578
  void Clear() PROTOBUF_FINAL;
3579
  bool IsInitialized() const PROTOBUF_FINAL;
3580
3581
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3582
  bool MergePartialFromCodedStream(
3583
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3584
  void SerializeWithCachedSizes(
3585
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3586
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3587
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3588
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3589
  private:
3590
  void SharedCtor();
3591
  void SharedDtor();
3592
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3593
  void InternalSwap(RedisSetRangeRequestPB* other);
3594
  private:
3595
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3596
0
    return NULL;
3597
0
  }
3598
0
  inline void* MaybeArenaPtr() const {
3599
0
    return NULL;
3600
0
  }
3601
  public:
3602
3603
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3604
3605
  // nested types ----------------------------------------------------
3606
3607
  // accessors -------------------------------------------------------
3608
3609
  // optional int32 offset = 2;
3610
  bool has_offset() const;
3611
  void clear_offset();
3612
  static const int kOffsetFieldNumber = 2;
3613
  ::google::protobuf::int32 offset() const;
3614
  void set_offset(::google::protobuf::int32 value);
3615
3616
  // @@protoc_insertion_point(class_scope:yb.RedisSetRangeRequestPB)
3617
 private:
3618
  void set_has_offset();
3619
  void clear_has_offset();
3620
3621
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3622
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3623
  mutable int _cached_size_;
3624
  ::google::protobuf::int32 offset_;
3625
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3626
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisSetRangeRequestPBImpl();
3627
};
3628
// -------------------------------------------------------------------
3629
3630
class RedisGetRangeRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisGetRangeRequestPB) */ {
3631
 public:
3632
  RedisGetRangeRequestPB();
3633
  virtual ~RedisGetRangeRequestPB();
3634
3635
  RedisGetRangeRequestPB(const RedisGetRangeRequestPB& from);
3636
3637
0
  inline RedisGetRangeRequestPB& operator=(const RedisGetRangeRequestPB& from) {
3638
0
    CopyFrom(from);
3639
0
    return *this;
3640
0
  }
3641
  #if LANG_CXX11
3642
  RedisGetRangeRequestPB(RedisGetRangeRequestPB&& from) noexcept
3643
0
    : RedisGetRangeRequestPB() {
3644
0
    *this = ::std::move(from);
3645
0
  }
3646
3647
0
  inline RedisGetRangeRequestPB& operator=(RedisGetRangeRequestPB&& from) noexcept {
3648
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3649
0
      if (this != &from) InternalSwap(&from);
3650
0
    } else {
3651
0
      CopyFrom(from);
3652
0
    }
3653
0
    return *this;
3654
0
  }
3655
  #endif
3656
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3657
0
    return _internal_metadata_.unknown_fields();
3658
0
  }
3659
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3660
0
    return _internal_metadata_.mutable_unknown_fields();
3661
0
  }
3662
3663
  static const ::google::protobuf::Descriptor* descriptor();
3664
  static const RedisGetRangeRequestPB& default_instance();
3665
3666
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3667
34.2k
  static inline const RedisGetRangeRequestPB* internal_default_instance() {
3668
34.2k
    return reinterpret_cast<const RedisGetRangeRequestPB*>(
3669
34.2k
               &_RedisGetRangeRequestPB_default_instance_);
3670
34.2k
  }
3671
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3672
    23;
3673
3674
  void Swap(RedisGetRangeRequestPB* other);
3675
0
  friend void swap(RedisGetRangeRequestPB& a, RedisGetRangeRequestPB& b) {
3676
0
    a.Swap(&b);
3677
0
  }
3678
3679
  // implements Message ----------------------------------------------
3680
3681
0
  inline RedisGetRangeRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3682
3683
  RedisGetRangeRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3684
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3685
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3686
  void CopyFrom(const RedisGetRangeRequestPB& from);
3687
  void MergeFrom(const RedisGetRangeRequestPB& from);
3688
  void Clear() PROTOBUF_FINAL;
3689
  bool IsInitialized() const PROTOBUF_FINAL;
3690
3691
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3692
  bool MergePartialFromCodedStream(
3693
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3694
  void SerializeWithCachedSizes(
3695
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3696
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3697
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3698
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3699
  private:
3700
  void SharedCtor();
3701
  void SharedDtor();
3702
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3703
  void InternalSwap(RedisGetRangeRequestPB* other);
3704
  private:
3705
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3706
0
    return NULL;
3707
0
  }
3708
0
  inline void* MaybeArenaPtr() const {
3709
0
    return NULL;
3710
0
  }
3711
  public:
3712
3713
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3714
3715
  // nested types ----------------------------------------------------
3716
3717
  // accessors -------------------------------------------------------
3718
3719
  // optional int32 start = 2;
3720
  bool has_start() const;
3721
  void clear_start();
3722
  static const int kStartFieldNumber = 2;
3723
  ::google::protobuf::int32 start() const;
3724
  void set_start(::google::protobuf::int32 value);
3725
3726
  // optional int32 end = 3;
3727
  bool has_end() const;
3728
  void clear_end();
3729
  static const int kEndFieldNumber = 3;
3730
  ::google::protobuf::int32 end() const;
3731
  void set_end(::google::protobuf::int32 value);
3732
3733
  // @@protoc_insertion_point(class_scope:yb.RedisGetRangeRequestPB)
3734
 private:
3735
  void set_has_start();
3736
  void clear_has_start();
3737
  void set_has_end();
3738
  void clear_has_end();
3739
3740
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3741
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3742
  mutable int _cached_size_;
3743
  ::google::protobuf::int32 start_;
3744
  ::google::protobuf::int32 end_;
3745
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3746
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisGetRangeRequestPBImpl();
3747
};
3748
// -------------------------------------------------------------------
3749
3750
class RedisIncrRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisIncrRequestPB) */ {
3751
 public:
3752
  RedisIncrRequestPB();
3753
  virtual ~RedisIncrRequestPB();
3754
3755
  RedisIncrRequestPB(const RedisIncrRequestPB& from);
3756
3757
0
  inline RedisIncrRequestPB& operator=(const RedisIncrRequestPB& from) {
3758
0
    CopyFrom(from);
3759
0
    return *this;
3760
0
  }
3761
  #if LANG_CXX11
3762
  RedisIncrRequestPB(RedisIncrRequestPB&& from) noexcept
3763
0
    : RedisIncrRequestPB() {
3764
0
    *this = ::std::move(from);
3765
0
  }
3766
3767
0
  inline RedisIncrRequestPB& operator=(RedisIncrRequestPB&& from) noexcept {
3768
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3769
0
      if (this != &from) InternalSwap(&from);
3770
0
    } else {
3771
0
      CopyFrom(from);
3772
0
    }
3773
0
    return *this;
3774
0
  }
3775
  #endif
3776
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3777
0
    return _internal_metadata_.unknown_fields();
3778
0
  }
3779
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3780
0
    return _internal_metadata_.mutable_unknown_fields();
3781
0
  }
3782
3783
  static const ::google::protobuf::Descriptor* descriptor();
3784
  static const RedisIncrRequestPB& default_instance();
3785
3786
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3787
34.2k
  static inline const RedisIncrRequestPB* internal_default_instance() {
3788
34.2k
    return reinterpret_cast<const RedisIncrRequestPB*>(
3789
34.2k
               &_RedisIncrRequestPB_default_instance_);
3790
34.2k
  }
3791
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3792
    24;
3793
3794
  void Swap(RedisIncrRequestPB* other);
3795
0
  friend void swap(RedisIncrRequestPB& a, RedisIncrRequestPB& b) {
3796
0
    a.Swap(&b);
3797
0
  }
3798
3799
  // implements Message ----------------------------------------------
3800
3801
0
  inline RedisIncrRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3802
3803
  RedisIncrRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3804
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3805
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3806
  void CopyFrom(const RedisIncrRequestPB& from);
3807
  void MergeFrom(const RedisIncrRequestPB& from);
3808
  void Clear() PROTOBUF_FINAL;
3809
  bool IsInitialized() const PROTOBUF_FINAL;
3810
3811
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3812
  bool MergePartialFromCodedStream(
3813
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3814
  void SerializeWithCachedSizes(
3815
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3816
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3817
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3818
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3819
  private:
3820
  void SharedCtor();
3821
  void SharedDtor();
3822
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3823
  void InternalSwap(RedisIncrRequestPB* other);
3824
  private:
3825
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3826
0
    return NULL;
3827
0
  }
3828
0
  inline void* MaybeArenaPtr() const {
3829
0
    return NULL;
3830
0
  }
3831
  public:
3832
3833
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3834
3835
  // nested types ----------------------------------------------------
3836
3837
  // accessors -------------------------------------------------------
3838
3839
  // optional double increment_float = 3;
3840
  bool has_increment_float() const;
3841
  void clear_increment_float();
3842
  static const int kIncrementFloatFieldNumber = 3;
3843
  double increment_float() const;
3844
  void set_increment_float(double value);
3845
3846
  // optional int64 increment_int = 2 [default = 1];
3847
  bool has_increment_int() const;
3848
  void clear_increment_int();
3849
  static const int kIncrementIntFieldNumber = 2;
3850
  ::google::protobuf::int64 increment_int() const;
3851
  void set_increment_int(::google::protobuf::int64 value);
3852
3853
  // @@protoc_insertion_point(class_scope:yb.RedisIncrRequestPB)
3854
 private:
3855
  void set_has_increment_int();
3856
  void clear_has_increment_int();
3857
  void set_has_increment_float();
3858
  void clear_has_increment_float();
3859
3860
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3861
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3862
  mutable int _cached_size_;
3863
  double increment_float_;
3864
  ::google::protobuf::int64 increment_int_;
3865
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3866
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisIncrRequestPBImpl();
3867
};
3868
// -------------------------------------------------------------------
3869
3870
class RedisPushRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisPushRequestPB) */ {
3871
 public:
3872
  RedisPushRequestPB();
3873
  virtual ~RedisPushRequestPB();
3874
3875
  RedisPushRequestPB(const RedisPushRequestPB& from);
3876
3877
0
  inline RedisPushRequestPB& operator=(const RedisPushRequestPB& from) {
3878
0
    CopyFrom(from);
3879
0
    return *this;
3880
0
  }
3881
  #if LANG_CXX11
3882
  RedisPushRequestPB(RedisPushRequestPB&& from) noexcept
3883
0
    : RedisPushRequestPB() {
3884
0
    *this = ::std::move(from);
3885
0
  }
3886
3887
0
  inline RedisPushRequestPB& operator=(RedisPushRequestPB&& from) noexcept {
3888
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3889
0
      if (this != &from) InternalSwap(&from);
3890
0
    } else {
3891
0
      CopyFrom(from);
3892
0
    }
3893
0
    return *this;
3894
0
  }
3895
  #endif
3896
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3897
0
    return _internal_metadata_.unknown_fields();
3898
0
  }
3899
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3900
0
    return _internal_metadata_.mutable_unknown_fields();
3901
0
  }
3902
3903
  static const ::google::protobuf::Descriptor* descriptor();
3904
  static const RedisPushRequestPB& default_instance();
3905
3906
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3907
34.2k
  static inline const RedisPushRequestPB* internal_default_instance() {
3908
34.2k
    return reinterpret_cast<const RedisPushRequestPB*>(
3909
34.2k
               &_RedisPushRequestPB_default_instance_);
3910
34.2k
  }
3911
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3912
    25;
3913
3914
  void Swap(RedisPushRequestPB* other);
3915
0
  friend void swap(RedisPushRequestPB& a, RedisPushRequestPB& b) {
3916
0
    a.Swap(&b);
3917
0
  }
3918
3919
  // implements Message ----------------------------------------------
3920
3921
0
  inline RedisPushRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3922
3923
  RedisPushRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3924
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3925
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3926
  void CopyFrom(const RedisPushRequestPB& from);
3927
  void MergeFrom(const RedisPushRequestPB& from);
3928
  void Clear() PROTOBUF_FINAL;
3929
  bool IsInitialized() const PROTOBUF_FINAL;
3930
3931
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3932
  bool MergePartialFromCodedStream(
3933
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3934
  void SerializeWithCachedSizes(
3935
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3936
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3937
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3938
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3939
  private:
3940
  void SharedCtor();
3941
  void SharedDtor();
3942
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3943
  void InternalSwap(RedisPushRequestPB* other);
3944
  private:
3945
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3946
0
    return NULL;
3947
0
  }
3948
0
  inline void* MaybeArenaPtr() const {
3949
0
    return NULL;
3950
0
  }
3951
  public:
3952
3953
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3954
3955
  // nested types ----------------------------------------------------
3956
3957
  // accessors -------------------------------------------------------
3958
3959
  // optional bool check_existence = 3 [default = false];
3960
  bool has_check_existence() const;
3961
  void clear_check_existence();
3962
  static const int kCheckExistenceFieldNumber = 3;
3963
  bool check_existence() const;
3964
  void set_check_existence(bool value);
3965
3966
  // optional .yb.RedisSide side = 2 [default = REDIS_SIDE_LEFT];
3967
  bool has_side() const;
3968
  void clear_side();
3969
  static const int kSideFieldNumber = 2;
3970
  ::yb::RedisSide side() const;
3971
  void set_side(::yb::RedisSide value);
3972
3973
  // @@protoc_insertion_point(class_scope:yb.RedisPushRequestPB)
3974
 private:
3975
  void set_has_side();
3976
  void clear_has_side();
3977
  void set_has_check_existence();
3978
  void clear_has_check_existence();
3979
3980
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3981
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3982
  mutable int _cached_size_;
3983
  bool check_existence_;
3984
  int side_;
3985
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
3986
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisPushRequestPBImpl();
3987
};
3988
// -------------------------------------------------------------------
3989
3990
class RedisInsertRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisInsertRequestPB) */ {
3991
 public:
3992
  RedisInsertRequestPB();
3993
  virtual ~RedisInsertRequestPB();
3994
3995
  RedisInsertRequestPB(const RedisInsertRequestPB& from);
3996
3997
0
  inline RedisInsertRequestPB& operator=(const RedisInsertRequestPB& from) {
3998
0
    CopyFrom(from);
3999
0
    return *this;
4000
0
  }
4001
  #if LANG_CXX11
4002
  RedisInsertRequestPB(RedisInsertRequestPB&& from) noexcept
4003
0
    : RedisInsertRequestPB() {
4004
0
    *this = ::std::move(from);
4005
0
  }
4006
4007
0
  inline RedisInsertRequestPB& operator=(RedisInsertRequestPB&& from) noexcept {
4008
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4009
0
      if (this != &from) InternalSwap(&from);
4010
0
    } else {
4011
0
      CopyFrom(from);
4012
0
    }
4013
0
    return *this;
4014
0
  }
4015
  #endif
4016
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4017
0
    return _internal_metadata_.unknown_fields();
4018
0
  }
4019
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4020
0
    return _internal_metadata_.mutable_unknown_fields();
4021
0
  }
4022
4023
  static const ::google::protobuf::Descriptor* descriptor();
4024
  static const RedisInsertRequestPB& default_instance();
4025
4026
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4027
34.2k
  static inline const RedisInsertRequestPB* internal_default_instance() {
4028
34.2k
    return reinterpret_cast<const RedisInsertRequestPB*>(
4029
34.2k
               &_RedisInsertRequestPB_default_instance_);
4030
34.2k
  }
4031
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4032
    26;
4033
4034
  void Swap(RedisInsertRequestPB* other);
4035
0
  friend void swap(RedisInsertRequestPB& a, RedisInsertRequestPB& b) {
4036
0
    a.Swap(&b);
4037
0
  }
4038
4039
  // implements Message ----------------------------------------------
4040
4041
0
  inline RedisInsertRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4042
4043
  RedisInsertRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4044
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4045
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4046
  void CopyFrom(const RedisInsertRequestPB& from);
4047
  void MergeFrom(const RedisInsertRequestPB& from);
4048
  void Clear() PROTOBUF_FINAL;
4049
  bool IsInitialized() const PROTOBUF_FINAL;
4050
4051
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4052
  bool MergePartialFromCodedStream(
4053
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4054
  void SerializeWithCachedSizes(
4055
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4056
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4057
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4058
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4059
  private:
4060
  void SharedCtor();
4061
  void SharedDtor();
4062
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4063
  void InternalSwap(RedisInsertRequestPB* other);
4064
  private:
4065
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4066
0
    return NULL;
4067
0
  }
4068
0
  inline void* MaybeArenaPtr() const {
4069
0
    return NULL;
4070
0
  }
4071
  public:
4072
4073
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4074
4075
  // nested types ----------------------------------------------------
4076
4077
  // accessors -------------------------------------------------------
4078
4079
  // optional .yb.RedisOrder order = 2;
4080
  bool has_order() const;
4081
  void clear_order();
4082
  static const int kOrderFieldNumber = 2;
4083
  ::yb::RedisOrder order() const;
4084
  void set_order(::yb::RedisOrder value);
4085
4086
  // @@protoc_insertion_point(class_scope:yb.RedisInsertRequestPB)
4087
 private:
4088
  void set_has_order();
4089
  void clear_has_order();
4090
4091
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4092
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4093
  mutable int _cached_size_;
4094
  int order_;
4095
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
4096
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisInsertRequestPBImpl();
4097
};
4098
// -------------------------------------------------------------------
4099
4100
class RedisPopRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisPopRequestPB) */ {
4101
 public:
4102
  RedisPopRequestPB();
4103
  virtual ~RedisPopRequestPB();
4104
4105
  RedisPopRequestPB(const RedisPopRequestPB& from);
4106
4107
0
  inline RedisPopRequestPB& operator=(const RedisPopRequestPB& from) {
4108
0
    CopyFrom(from);
4109
0
    return *this;
4110
0
  }
4111
  #if LANG_CXX11
4112
  RedisPopRequestPB(RedisPopRequestPB&& from) noexcept
4113
0
    : RedisPopRequestPB() {
4114
0
    *this = ::std::move(from);
4115
0
  }
4116
4117
0
  inline RedisPopRequestPB& operator=(RedisPopRequestPB&& from) noexcept {
4118
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4119
0
      if (this != &from) InternalSwap(&from);
4120
0
    } else {
4121
0
      CopyFrom(from);
4122
0
    }
4123
0
    return *this;
4124
0
  }
4125
  #endif
4126
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4127
0
    return _internal_metadata_.unknown_fields();
4128
0
  }
4129
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4130
0
    return _internal_metadata_.mutable_unknown_fields();
4131
0
  }
4132
4133
  static const ::google::protobuf::Descriptor* descriptor();
4134
  static const RedisPopRequestPB& default_instance();
4135
4136
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4137
34.2k
  static inline const RedisPopRequestPB* internal_default_instance() {
4138
34.2k
    return reinterpret_cast<const RedisPopRequestPB*>(
4139
34.2k
               &_RedisPopRequestPB_default_instance_);
4140
34.2k
  }
4141
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4142
    27;
4143
4144
  void Swap(RedisPopRequestPB* other);
4145
0
  friend void swap(RedisPopRequestPB& a, RedisPopRequestPB& b) {
4146
0
    a.Swap(&b);
4147
0
  }
4148
4149
  // implements Message ----------------------------------------------
4150
4151
0
  inline RedisPopRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4152
4153
  RedisPopRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4154
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4155
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4156
  void CopyFrom(const RedisPopRequestPB& from);
4157
  void MergeFrom(const RedisPopRequestPB& from);
4158
  void Clear() PROTOBUF_FINAL;
4159
  bool IsInitialized() const PROTOBUF_FINAL;
4160
4161
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4162
  bool MergePartialFromCodedStream(
4163
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4164
  void SerializeWithCachedSizes(
4165
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4166
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4167
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4168
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4169
  private:
4170
  void SharedCtor();
4171
  void SharedDtor();
4172
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4173
  void InternalSwap(RedisPopRequestPB* other);
4174
  private:
4175
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4176
0
    return NULL;
4177
0
  }
4178
0
  inline void* MaybeArenaPtr() const {
4179
0
    return NULL;
4180
0
  }
4181
  public:
4182
4183
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4184
4185
  // nested types ----------------------------------------------------
4186
4187
  // accessors -------------------------------------------------------
4188
4189
  // optional int32 count = 3;
4190
  bool has_count() const;
4191
  void clear_count();
4192
  static const int kCountFieldNumber = 3;
4193
  ::google::protobuf::int32 count() const;
4194
  void set_count(::google::protobuf::int32 value);
4195
4196
  // optional .yb.RedisSide side = 2 [default = REDIS_SIDE_LEFT];
4197
  bool has_side() const;
4198
  void clear_side();
4199
  static const int kSideFieldNumber = 2;
4200
  ::yb::RedisSide side() const;
4201
  void set_side(::yb::RedisSide value);
4202
4203
  // @@protoc_insertion_point(class_scope:yb.RedisPopRequestPB)
4204
 private:
4205
  void set_has_side();
4206
  void clear_has_side();
4207
  void set_has_count();
4208
  void clear_has_count();
4209
4210
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4211
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4212
  mutable int _cached_size_;
4213
  ::google::protobuf::int32 count_;
4214
  int side_;
4215
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
4216
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisPopRequestPBImpl();
4217
};
4218
// -------------------------------------------------------------------
4219
4220
class RedisAddRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisAddRequestPB) */ {
4221
 public:
4222
  RedisAddRequestPB();
4223
  virtual ~RedisAddRequestPB();
4224
4225
  RedisAddRequestPB(const RedisAddRequestPB& from);
4226
4227
0
  inline RedisAddRequestPB& operator=(const RedisAddRequestPB& from) {
4228
0
    CopyFrom(from);
4229
0
    return *this;
4230
0
  }
4231
  #if LANG_CXX11
4232
  RedisAddRequestPB(RedisAddRequestPB&& from) noexcept
4233
0
    : RedisAddRequestPB() {
4234
0
    *this = ::std::move(from);
4235
0
  }
4236
4237
0
  inline RedisAddRequestPB& operator=(RedisAddRequestPB&& from) noexcept {
4238
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4239
0
      if (this != &from) InternalSwap(&from);
4240
0
    } else {
4241
0
      CopyFrom(from);
4242
0
    }
4243
0
    return *this;
4244
0
  }
4245
  #endif
4246
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4247
0
    return _internal_metadata_.unknown_fields();
4248
0
  }
4249
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4250
0
    return _internal_metadata_.mutable_unknown_fields();
4251
0
  }
4252
4253
  static const ::google::protobuf::Descriptor* descriptor();
4254
  static const RedisAddRequestPB& default_instance();
4255
4256
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4257
34.2k
  static inline const RedisAddRequestPB* internal_default_instance() {
4258
34.2k
    return reinterpret_cast<const RedisAddRequestPB*>(
4259
34.2k
               &_RedisAddRequestPB_default_instance_);
4260
34.2k
  }
4261
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4262
    28;
4263
4264
  void Swap(RedisAddRequestPB* other);
4265
0
  friend void swap(RedisAddRequestPB& a, RedisAddRequestPB& b) {
4266
0
    a.Swap(&b);
4267
0
  }
4268
4269
  // implements Message ----------------------------------------------
4270
4271
0
  inline RedisAddRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4272
4273
  RedisAddRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4274
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4275
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4276
  void CopyFrom(const RedisAddRequestPB& from);
4277
  void MergeFrom(const RedisAddRequestPB& from);
4278
  void Clear() PROTOBUF_FINAL;
4279
  bool IsInitialized() const PROTOBUF_FINAL;
4280
4281
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4282
  bool MergePartialFromCodedStream(
4283
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4284
  void SerializeWithCachedSizes(
4285
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4286
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4287
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4288
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4289
  private:
4290
  void SharedCtor();
4291
  void SharedDtor();
4292
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4293
  void InternalSwap(RedisAddRequestPB* other);
4294
  private:
4295
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4296
0
    return NULL;
4297
0
  }
4298
0
  inline void* MaybeArenaPtr() const {
4299
0
    return NULL;
4300
0
  }
4301
  public:
4302
4303
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4304
4305
  // nested types ----------------------------------------------------
4306
4307
  // accessors -------------------------------------------------------
4308
4309
  // optional bool ch = 3;
4310
  bool has_ch() const;
4311
  void clear_ch();
4312
  static const int kChFieldNumber = 3;
4313
  bool ch() const;
4314
  void set_ch(bool value);
4315
4316
  // optional .yb.RedisWriteMode mode = 2 [default = REDIS_WRITEMODE_UPSERT];
4317
  bool has_mode() const;
4318
  void clear_mode();
4319
  static const int kModeFieldNumber = 2;
4320
  ::yb::RedisWriteMode mode() const;
4321
  void set_mode(::yb::RedisWriteMode value);
4322
4323
  // @@protoc_insertion_point(class_scope:yb.RedisAddRequestPB)
4324
 private:
4325
  void set_has_mode();
4326
  void clear_has_mode();
4327
  void set_has_ch();
4328
  void clear_has_ch();
4329
4330
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4331
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4332
  mutable int _cached_size_;
4333
  bool ch_;
4334
  int mode_;
4335
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
4336
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisAddRequestPBImpl();
4337
};
4338
// -------------------------------------------------------------------
4339
4340
class RedisResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisResponsePB) */ {
4341
 public:
4342
  RedisResponsePB();
4343
  virtual ~RedisResponsePB();
4344
4345
  RedisResponsePB(const RedisResponsePB& from);
4346
4347
42.9k
  inline RedisResponsePB& operator=(const RedisResponsePB& from) {
4348
42.9k
    CopyFrom(from);
4349
42.9k
    return *this;
4350
42.9k
  }
4351
  #if LANG_CXX11
4352
  RedisResponsePB(RedisResponsePB&& from) noexcept
4353
0
    : RedisResponsePB() {
4354
0
    *this = ::std::move(from);
4355
0
  }
Unexecuted instantiation: _ZN2yb15RedisResponsePBC2EOS0_
Unexecuted instantiation: _ZN2yb15RedisResponsePBC1EOS0_
4356
4357
0
  inline RedisResponsePB& operator=(RedisResponsePB&& from) noexcept {
4358
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4359
0
      if (this != &from) InternalSwap(&from);
4360
0
    } else {
4361
0
      CopyFrom(from);
4362
0
    }
4363
0
    return *this;
4364
0
  }
4365
  #endif
4366
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4367
0
    return _internal_metadata_.unknown_fields();
4368
0
  }
4369
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4370
0
    return _internal_metadata_.mutable_unknown_fields();
4371
0
  }
4372
4373
  static const ::google::protobuf::Descriptor* descriptor();
4374
  static const RedisResponsePB& default_instance();
4375
4376
  enum ResponseDataCase {
4377
    kIntResponse = 2,
4378
    kStringResponse = 3,
4379
    kArrayResponse = 4,
4380
    kStatusResponse = 5,
4381
    kEncodedResponse = 7,
4382
    RESPONSE_DATA_NOT_SET = 0,
4383
  };
4384
4385
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4386
467k
  static inline const RedisResponsePB* internal_default_instance() {
4387
467k
    return reinterpret_cast<const RedisResponsePB*>(
4388
467k
               &_RedisResponsePB_default_instance_);
4389
467k
  }
4390
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4391
    29;
4392
4393
  void Swap(RedisResponsePB* other);
4394
0
  friend void swap(RedisResponsePB& a, RedisResponsePB& b) {
4395
0
    a.Swap(&b);
4396
0
  }
4397
4398
  // implements Message ----------------------------------------------
4399
4400
0
  inline RedisResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4401
4402
  RedisResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4403
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4404
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4405
  void CopyFrom(const RedisResponsePB& from);
4406
  void MergeFrom(const RedisResponsePB& from);
4407
  void Clear() PROTOBUF_FINAL;
4408
  bool IsInitialized() const PROTOBUF_FINAL;
4409
4410
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4411
  bool MergePartialFromCodedStream(
4412
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4413
  void SerializeWithCachedSizes(
4414
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4415
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4416
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4417
31.6k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4418
  private:
4419
  void SharedCtor();
4420
  void SharedDtor();
4421
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4422
  void InternalSwap(RedisResponsePB* other);
4423
  private:
4424
10.9k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4425
10.9k
    return NULL;
4426
10.9k
  }
4427
0
  inline void* MaybeArenaPtr() const {
4428
0
    return NULL;
4429
0
  }
4430
  public:
4431
4432
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4433
4434
  // nested types ----------------------------------------------------
4435
4436
  typedef RedisResponsePB_RedisStatusCode RedisStatusCode;
4437
  static const RedisStatusCode OK =
4438
    RedisResponsePB_RedisStatusCode_OK;
4439
  static const RedisStatusCode NIL =
4440
    RedisResponsePB_RedisStatusCode_NIL;
4441
  static const RedisStatusCode NOT_FOUND =
4442
    RedisResponsePB_RedisStatusCode_NOT_FOUND;
4443
  static const RedisStatusCode UNKNOWN_COMMAND =
4444
    RedisResponsePB_RedisStatusCode_UNKNOWN_COMMAND;
4445
  static const RedisStatusCode WRONG_TYPE =
4446
    RedisResponsePB_RedisStatusCode_WRONG_TYPE;
4447
  static const RedisStatusCode SERVER_ERROR =
4448
    RedisResponsePB_RedisStatusCode_SERVER_ERROR;
4449
  static const RedisStatusCode INDEX_OUT_OF_BOUNDS =
4450
    RedisResponsePB_RedisStatusCode_INDEX_OUT_OF_BOUNDS;
4451
  static const RedisStatusCode PARSING_ERROR =
4452
    RedisResponsePB_RedisStatusCode_PARSING_ERROR;
4453
0
  static inline bool RedisStatusCode_IsValid(int value) {
4454
0
    return RedisResponsePB_RedisStatusCode_IsValid(value);
4455
0
  }
4456
  static const RedisStatusCode RedisStatusCode_MIN =
4457
    RedisResponsePB_RedisStatusCode_RedisStatusCode_MIN;
4458
  static const RedisStatusCode RedisStatusCode_MAX =
4459
    RedisResponsePB_RedisStatusCode_RedisStatusCode_MAX;
4460
  static const int RedisStatusCode_ARRAYSIZE =
4461
    RedisResponsePB_RedisStatusCode_RedisStatusCode_ARRAYSIZE;
4462
  static inline const ::google::protobuf::EnumDescriptor*
4463
0
  RedisStatusCode_descriptor() {
4464
0
    return RedisResponsePB_RedisStatusCode_descriptor();
4465
0
  }
4466
0
  static inline const ::std::string& RedisStatusCode_Name(RedisStatusCode value) {
4467
0
    return RedisResponsePB_RedisStatusCode_Name(value);
4468
0
  }
4469
  static inline bool RedisStatusCode_Parse(const ::std::string& name,
4470
0
      RedisStatusCode* value) {
4471
0
    return RedisResponsePB_RedisStatusCode_Parse(name, value);
4472
0
  }
4473
4474
  // accessors -------------------------------------------------------
4475
4476
  // optional bytes error_message = 6;
4477
  bool has_error_message() const;
4478
  void clear_error_message();
4479
  static const int kErrorMessageFieldNumber = 6;
4480
  const ::std::string& error_message() const;
4481
  void set_error_message(const ::std::string& value);
4482
  #if LANG_CXX11
4483
  void set_error_message(::std::string&& value);
4484
  #endif
4485
  void set_error_message(const char* value);
4486
  void set_error_message(const void* value, size_t size);
4487
  ::std::string* mutable_error_message();
4488
  ::std::string* release_error_message();
4489
  void set_allocated_error_message(::std::string* error_message);
4490
4491
  // optional .yb.RedisResponsePB.RedisStatusCode code = 1;
4492
  bool has_code() const;
4493
  void clear_code();
4494
  static const int kCodeFieldNumber = 1;
4495
  ::yb::RedisResponsePB_RedisStatusCode code() const;
4496
  void set_code(::yb::RedisResponsePB_RedisStatusCode value);
4497
4498
  // optional .yb.RedisDataType type = 8;
4499
  bool has_type() const;
4500
  void clear_type();
4501
  static const int kTypeFieldNumber = 8;
4502
  ::yb::RedisDataType type() const;
4503
  void set_type(::yb::RedisDataType value);
4504
4505
  // optional int64 int_response = 2;
4506
  bool has_int_response() const;
4507
  void clear_int_response();
4508
  static const int kIntResponseFieldNumber = 2;
4509
  ::google::protobuf::int64 int_response() const;
4510
  void set_int_response(::google::protobuf::int64 value);
4511
4512
  // optional bytes string_response = 3;
4513
  bool has_string_response() const;
4514
  void clear_string_response();
4515
  static const int kStringResponseFieldNumber = 3;
4516
  const ::std::string& string_response() const;
4517
  void set_string_response(const ::std::string& value);
4518
  #if LANG_CXX11
4519
  void set_string_response(::std::string&& value);
4520
  #endif
4521
  void set_string_response(const char* value);
4522
  void set_string_response(const void* value, size_t size);
4523
  ::std::string* mutable_string_response();
4524
  ::std::string* release_string_response();
4525
  void set_allocated_string_response(::std::string* string_response);
4526
4527
  // optional .yb.RedisArrayPB array_response = 4;
4528
  bool has_array_response() const;
4529
  void clear_array_response();
4530
  static const int kArrayResponseFieldNumber = 4;
4531
  const ::yb::RedisArrayPB& array_response() const;
4532
  ::yb::RedisArrayPB* release_array_response();
4533
  ::yb::RedisArrayPB* mutable_array_response();
4534
  void set_allocated_array_response(::yb::RedisArrayPB* array_response);
4535
4536
  // optional bytes status_response = 5;
4537
  bool has_status_response() const;
4538
  void clear_status_response();
4539
  static const int kStatusResponseFieldNumber = 5;
4540
  const ::std::string& status_response() const;
4541
  void set_status_response(const ::std::string& value);
4542
  #if LANG_CXX11
4543
  void set_status_response(::std::string&& value);
4544
  #endif
4545
  void set_status_response(const char* value);
4546
  void set_status_response(const void* value, size_t size);
4547
  ::std::string* mutable_status_response();
4548
  ::std::string* release_status_response();
4549
  void set_allocated_status_response(::std::string* status_response);
4550
4551
  // optional bytes encoded_response = 7;
4552
  bool has_encoded_response() const;
4553
  void clear_encoded_response();
4554
  static const int kEncodedResponseFieldNumber = 7;
4555
  const ::std::string& encoded_response() const;
4556
  void set_encoded_response(const ::std::string& value);
4557
  #if LANG_CXX11
4558
  void set_encoded_response(::std::string&& value);
4559
  #endif
4560
  void set_encoded_response(const char* value);
4561
  void set_encoded_response(const void* value, size_t size);
4562
  ::std::string* mutable_encoded_response();
4563
  ::std::string* release_encoded_response();
4564
  void set_allocated_encoded_response(::std::string* encoded_response);
4565
4566
  ResponseDataCase response_data_case() const;
4567
  // @@protoc_insertion_point(class_scope:yb.RedisResponsePB)
4568
 private:
4569
  void set_has_code();
4570
  void clear_has_code();
4571
  void set_has_int_response();
4572
  void set_has_string_response();
4573
  void set_has_array_response();
4574
  void set_has_status_response();
4575
  void set_has_encoded_response();
4576
  void set_has_error_message();
4577
  void clear_has_error_message();
4578
  void set_has_type();
4579
  void clear_has_type();
4580
4581
  inline bool has_response_data() const;
4582
  void clear_response_data();
4583
  inline void clear_has_response_data();
4584
4585
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4586
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4587
  mutable int _cached_size_;
4588
  ::google::protobuf::internal::ArenaStringPtr error_message_;
4589
  int code_;
4590
  int type_;
4591
  union ResponseDataUnion {
4592
467k
    ResponseDataUnion() {}
4593
    ::google::protobuf::int64 int_response_;
4594
    ::google::protobuf::internal::ArenaStringPtr string_response_;
4595
    ::yb::RedisArrayPB* array_response_;
4596
    ::google::protobuf::internal::ArenaStringPtr status_response_;
4597
    ::google::protobuf::internal::ArenaStringPtr encoded_response_;
4598
  } response_data_;
4599
  ::google::protobuf::uint32 _oneof_case_[1];
4600
4601
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
4602
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisResponsePBImpl();
4603
};
4604
// -------------------------------------------------------------------
4605
4606
class RedisArrayPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.RedisArrayPB) */ {
4607
 public:
4608
  RedisArrayPB();
4609
  virtual ~RedisArrayPB();
4610
4611
  RedisArrayPB(const RedisArrayPB& from);
4612
4613
0
  inline RedisArrayPB& operator=(const RedisArrayPB& from) {
4614
0
    CopyFrom(from);
4615
0
    return *this;
4616
0
  }
4617
  #if LANG_CXX11
4618
  RedisArrayPB(RedisArrayPB&& from) noexcept
4619
0
    : RedisArrayPB() {
4620
0
    *this = ::std::move(from);
4621
0
  }
4622
4623
0
  inline RedisArrayPB& operator=(RedisArrayPB&& from) noexcept {
4624
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4625
0
      if (this != &from) InternalSwap(&from);
4626
0
    } else {
4627
0
      CopyFrom(from);
4628
0
    }
4629
0
    return *this;
4630
0
  }
4631
  #endif
4632
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4633
0
    return _internal_metadata_.unknown_fields();
4634
0
  }
4635
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4636
0
    return _internal_metadata_.mutable_unknown_fields();
4637
0
  }
4638
4639
  static const ::google::protobuf::Descriptor* descriptor();
4640
  static const RedisArrayPB& default_instance();
4641
4642
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4643
53.8k
  static inline const RedisArrayPB* internal_default_instance() {
4644
53.8k
    return reinterpret_cast<const RedisArrayPB*>(
4645
53.8k
               &_RedisArrayPB_default_instance_);
4646
53.8k
  }
4647
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4648
    30;
4649
4650
  void Swap(RedisArrayPB* other);
4651
0
  friend void swap(RedisArrayPB& a, RedisArrayPB& b) {
4652
0
    a.Swap(&b);
4653
0
  }
4654
4655
  // implements Message ----------------------------------------------
4656
4657
0
  inline RedisArrayPB* New() const PROTOBUF_FINAL { return New(NULL); }
4658
4659
  RedisArrayPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4660
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4661
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4662
  void CopyFrom(const RedisArrayPB& from);
4663
  void MergeFrom(const RedisArrayPB& from);
4664
  void Clear() PROTOBUF_FINAL;
4665
  bool IsInitialized() const PROTOBUF_FINAL;
4666
4667
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4668
  bool MergePartialFromCodedStream(
4669
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4670
  void SerializeWithCachedSizes(
4671
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4672
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4673
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4674
2.56k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4675
  private:
4676
  void SharedCtor();
4677
  void SharedDtor();
4678
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4679
  void InternalSwap(RedisArrayPB* other);
4680
  private:
4681
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4682
0
    return NULL;
4683
0
  }
4684
0
  inline void* MaybeArenaPtr() const {
4685
0
    return NULL;
4686
0
  }
4687
  public:
4688
4689
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4690
4691
  // nested types ----------------------------------------------------
4692
4693
  // accessors -------------------------------------------------------
4694
4695
  // repeated bytes elements = 1;
4696
  int elements_size() const;
4697
  void clear_elements();
4698
  static const int kElementsFieldNumber = 1;
4699
  const ::std::string& elements(int index) const;
4700
  ::std::string* mutable_elements(int index);
4701
  void set_elements(int index, const ::std::string& value);
4702
  #if LANG_CXX11
4703
  void set_elements(int index, ::std::string&& value);
4704
  #endif
4705
  void set_elements(int index, const char* value);
4706
  void set_elements(int index, const void* value, size_t size);
4707
  ::std::string* add_elements();
4708
  void add_elements(const ::std::string& value);
4709
  #if LANG_CXX11
4710
  void add_elements(::std::string&& value);
4711
  #endif
4712
  void add_elements(const char* value);
4713
  void add_elements(const void* value, size_t size);
4714
  const ::google::protobuf::RepeatedPtrField< ::std::string>& elements() const;
4715
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_elements();
4716
4717
  // optional bool encoded = 2;
4718
  bool has_encoded() const;
4719
  void clear_encoded();
4720
  static const int kEncodedFieldNumber = 2;
4721
  bool encoded() const;
4722
  void set_encoded(bool value);
4723
4724
  // @@protoc_insertion_point(class_scope:yb.RedisArrayPB)
4725
 private:
4726
  void set_has_encoded();
4727
  void clear_has_encoded();
4728
4729
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4730
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4731
  mutable int _cached_size_;
4732
  ::google::protobuf::RepeatedPtrField< ::std::string> elements_;
4733
  bool encoded_;
4734
  friend struct ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::TableStruct;
4735
  friend void ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisArrayPBImpl();
4736
};
4737
// ===================================================================
4738
4739
4740
// ===================================================================
4741
4742
#ifdef __GNUC__
4743
  #pragma GCC diagnostic push
4744
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4745
#endif  // __GNUC__
4746
// RedisWriteRequestPB
4747
4748
// optional .yb.RedisSetRequestPB set_request = 2;
4749
308k
inline bool RedisWriteRequestPB::has_set_request() const {
4750
308k
  return request_case() == kSetRequest;
4751
308k
}
4752
82.9k
inline void RedisWriteRequestPB::set_has_set_request() {
4753
82.9k
  _oneof_case_[0] = kSetRequest;
4754
82.9k
}
4755
0
inline void RedisWriteRequestPB::clear_set_request() {
4756
0
  if (has_set_request()) {
4757
0
    delete request_.set_request_;
4758
0
    clear_has_request();
4759
0
  }
4760
0
}
4761
0
inline ::yb::RedisSetRequestPB* RedisWriteRequestPB::release_set_request() {
4762
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.set_request)
4763
0
  if (has_set_request()) {
4764
0
    clear_has_request();
4765
0
      ::yb::RedisSetRequestPB* temp = request_.set_request_;
4766
0
    request_.set_request_ = NULL;
4767
0
    return temp;
4768
0
  } else {
4769
0
    return NULL;
4770
0
  }
4771
0
}
4772
205k
inline const ::yb::RedisSetRequestPB& RedisWriteRequestPB::set_request() const {
4773
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.set_request)
4774
205k
  return has_set_request()
4775
205k
      ? *request_.set_request_
4776
0
      : *reinterpret_cast< ::yb::RedisSetRequestPB*>(&::yb::_RedisSetRequestPB_default_instance_);
4777
205k
}
4778
103k
inline ::yb::RedisSetRequestPB* RedisWriteRequestPB::mutable_set_request() {
4779
103k
  if (!has_set_request()) {
4780
82.9k
    clear_request();
4781
82.9k
    set_has_set_request();
4782
82.9k
    request_.set_request_ = new ::yb::RedisSetRequestPB;
4783
82.9k
  }
4784
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.set_request)
4785
103k
  return request_.set_request_;
4786
103k
}
4787
4788
// optional .yb.RedisGetSetRequestPB getset_request = 3;
4789
0
inline bool RedisWriteRequestPB::has_getset_request() const {
4790
0
  return request_case() == kGetsetRequest;
4791
0
}
4792
0
inline void RedisWriteRequestPB::set_has_getset_request() {
4793
0
  _oneof_case_[0] = kGetsetRequest;
4794
0
}
4795
0
inline void RedisWriteRequestPB::clear_getset_request() {
4796
0
  if (has_getset_request()) {
4797
0
    delete request_.getset_request_;
4798
0
    clear_has_request();
4799
0
  }
4800
0
}
4801
0
inline ::yb::RedisGetSetRequestPB* RedisWriteRequestPB::release_getset_request() {
4802
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.getset_request)
4803
0
  if (has_getset_request()) {
4804
0
    clear_has_request();
4805
0
      ::yb::RedisGetSetRequestPB* temp = request_.getset_request_;
4806
0
    request_.getset_request_ = NULL;
4807
0
    return temp;
4808
0
  } else {
4809
0
    return NULL;
4810
0
  }
4811
0
}
4812
0
inline const ::yb::RedisGetSetRequestPB& RedisWriteRequestPB::getset_request() const {
4813
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.getset_request)
4814
0
  return has_getset_request()
4815
0
      ? *request_.getset_request_
4816
0
      : *reinterpret_cast< ::yb::RedisGetSetRequestPB*>(&::yb::_RedisGetSetRequestPB_default_instance_);
4817
0
}
4818
0
inline ::yb::RedisGetSetRequestPB* RedisWriteRequestPB::mutable_getset_request() {
4819
0
  if (!has_getset_request()) {
4820
0
    clear_request();
4821
0
    set_has_getset_request();
4822
0
    request_.getset_request_ = new ::yb::RedisGetSetRequestPB;
4823
0
  }
4824
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.getset_request)
4825
0
  return request_.getset_request_;
4826
0
}
4827
4828
// optional .yb.RedisAppendRequestPB append_request = 4;
4829
0
inline bool RedisWriteRequestPB::has_append_request() const {
4830
0
  return request_case() == kAppendRequest;
4831
0
}
4832
0
inline void RedisWriteRequestPB::set_has_append_request() {
4833
0
  _oneof_case_[0] = kAppendRequest;
4834
0
}
4835
0
inline void RedisWriteRequestPB::clear_append_request() {
4836
0
  if (has_append_request()) {
4837
0
    delete request_.append_request_;
4838
0
    clear_has_request();
4839
0
  }
4840
0
}
4841
0
inline ::yb::RedisAppendRequestPB* RedisWriteRequestPB::release_append_request() {
4842
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.append_request)
4843
0
  if (has_append_request()) {
4844
0
    clear_has_request();
4845
0
      ::yb::RedisAppendRequestPB* temp = request_.append_request_;
4846
0
    request_.append_request_ = NULL;
4847
0
    return temp;
4848
0
  } else {
4849
0
    return NULL;
4850
0
  }
4851
0
}
4852
0
inline const ::yb::RedisAppendRequestPB& RedisWriteRequestPB::append_request() const {
4853
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.append_request)
4854
0
  return has_append_request()
4855
0
      ? *request_.append_request_
4856
0
      : *reinterpret_cast< ::yb::RedisAppendRequestPB*>(&::yb::_RedisAppendRequestPB_default_instance_);
4857
0
}
4858
0
inline ::yb::RedisAppendRequestPB* RedisWriteRequestPB::mutable_append_request() {
4859
0
  if (!has_append_request()) {
4860
0
    clear_request();
4861
0
    set_has_append_request();
4862
0
    request_.append_request_ = new ::yb::RedisAppendRequestPB;
4863
0
  }
4864
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.append_request)
4865
0
  return request_.append_request_;
4866
0
}
4867
4868
// optional .yb.RedisDelRequestPB del_request = 5;
4869
28
inline bool RedisWriteRequestPB::has_del_request() const {
4870
28
  return request_case() == kDelRequest;
4871
28
}
4872
28
inline void RedisWriteRequestPB::set_has_del_request() {
4873
28
  _oneof_case_[0] = kDelRequest;
4874
28
}
4875
0
inline void RedisWriteRequestPB::clear_del_request() {
4876
0
  if (has_del_request()) {
4877
0
    delete request_.del_request_;
4878
0
    clear_has_request();
4879
0
  }
4880
0
}
4881
0
inline ::yb::RedisDelRequestPB* RedisWriteRequestPB::release_del_request() {
4882
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.del_request)
4883
0
  if (has_del_request()) {
4884
0
    clear_has_request();
4885
0
      ::yb::RedisDelRequestPB* temp = request_.del_request_;
4886
0
    request_.del_request_ = NULL;
4887
0
    return temp;
4888
0
  } else {
4889
0
    return NULL;
4890
0
  }
4891
0
}
4892
0
inline const ::yb::RedisDelRequestPB& RedisWriteRequestPB::del_request() const {
4893
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.del_request)
4894
0
  return has_del_request()
4895
0
      ? *request_.del_request_
4896
0
      : *reinterpret_cast< ::yb::RedisDelRequestPB*>(&::yb::_RedisDelRequestPB_default_instance_);
4897
0
}
4898
28
inline ::yb::RedisDelRequestPB* RedisWriteRequestPB::mutable_del_request() {
4899
28
  if (!has_del_request()) {
4900
28
    clear_request();
4901
28
    set_has_del_request();
4902
28
    request_.del_request_ = new ::yb::RedisDelRequestPB;
4903
28
  }
4904
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.del_request)
4905
28
  return request_.del_request_;
4906
28
}
4907
4908
// optional .yb.RedisSetRangeRequestPB set_range_request = 6;
4909
0
inline bool RedisWriteRequestPB::has_set_range_request() const {
4910
0
  return request_case() == kSetRangeRequest;
4911
0
}
4912
0
inline void RedisWriteRequestPB::set_has_set_range_request() {
4913
0
  _oneof_case_[0] = kSetRangeRequest;
4914
0
}
4915
0
inline void RedisWriteRequestPB::clear_set_range_request() {
4916
0
  if (has_set_range_request()) {
4917
0
    delete request_.set_range_request_;
4918
0
    clear_has_request();
4919
0
  }
4920
0
}
4921
0
inline ::yb::RedisSetRangeRequestPB* RedisWriteRequestPB::release_set_range_request() {
4922
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.set_range_request)
4923
0
  if (has_set_range_request()) {
4924
0
    clear_has_request();
4925
0
      ::yb::RedisSetRangeRequestPB* temp = request_.set_range_request_;
4926
0
    request_.set_range_request_ = NULL;
4927
0
    return temp;
4928
0
  } else {
4929
0
    return NULL;
4930
0
  }
4931
0
}
4932
0
inline const ::yb::RedisSetRangeRequestPB& RedisWriteRequestPB::set_range_request() const {
4933
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.set_range_request)
4934
0
  return has_set_range_request()
4935
0
      ? *request_.set_range_request_
4936
0
      : *reinterpret_cast< ::yb::RedisSetRangeRequestPB*>(&::yb::_RedisSetRangeRequestPB_default_instance_);
4937
0
}
4938
0
inline ::yb::RedisSetRangeRequestPB* RedisWriteRequestPB::mutable_set_range_request() {
4939
0
  if (!has_set_range_request()) {
4940
0
    clear_request();
4941
0
    set_has_set_range_request();
4942
0
    request_.set_range_request_ = new ::yb::RedisSetRangeRequestPB;
4943
0
  }
4944
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.set_range_request)
4945
0
  return request_.set_range_request_;
4946
0
}
4947
4948
// optional .yb.RedisIncrRequestPB incr_request = 7;
4949
0
inline bool RedisWriteRequestPB::has_incr_request() const {
4950
0
  return request_case() == kIncrRequest;
4951
0
}
4952
0
inline void RedisWriteRequestPB::set_has_incr_request() {
4953
0
  _oneof_case_[0] = kIncrRequest;
4954
0
}
4955
0
inline void RedisWriteRequestPB::clear_incr_request() {
4956
0
  if (has_incr_request()) {
4957
0
    delete request_.incr_request_;
4958
0
    clear_has_request();
4959
0
  }
4960
0
}
4961
0
inline ::yb::RedisIncrRequestPB* RedisWriteRequestPB::release_incr_request() {
4962
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.incr_request)
4963
0
  if (has_incr_request()) {
4964
0
    clear_has_request();
4965
0
      ::yb::RedisIncrRequestPB* temp = request_.incr_request_;
4966
0
    request_.incr_request_ = NULL;
4967
0
    return temp;
4968
0
  } else {
4969
0
    return NULL;
4970
0
  }
4971
0
}
4972
0
inline const ::yb::RedisIncrRequestPB& RedisWriteRequestPB::incr_request() const {
4973
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.incr_request)
4974
0
  return has_incr_request()
4975
0
      ? *request_.incr_request_
4976
0
      : *reinterpret_cast< ::yb::RedisIncrRequestPB*>(&::yb::_RedisIncrRequestPB_default_instance_);
4977
0
}
4978
0
inline ::yb::RedisIncrRequestPB* RedisWriteRequestPB::mutable_incr_request() {
4979
0
  if (!has_incr_request()) {
4980
0
    clear_request();
4981
0
    set_has_incr_request();
4982
0
    request_.incr_request_ = new ::yb::RedisIncrRequestPB;
4983
0
  }
4984
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.incr_request)
4985
0
  return request_.incr_request_;
4986
0
}
4987
4988
// optional .yb.RedisPushRequestPB push_request = 8;
4989
0
inline bool RedisWriteRequestPB::has_push_request() const {
4990
0
  return request_case() == kPushRequest;
4991
0
}
4992
0
inline void RedisWriteRequestPB::set_has_push_request() {
4993
0
  _oneof_case_[0] = kPushRequest;
4994
0
}
4995
0
inline void RedisWriteRequestPB::clear_push_request() {
4996
0
  if (has_push_request()) {
4997
0
    delete request_.push_request_;
4998
0
    clear_has_request();
4999
0
  }
5000
0
}
5001
0
inline ::yb::RedisPushRequestPB* RedisWriteRequestPB::release_push_request() {
5002
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.push_request)
5003
0
  if (has_push_request()) {
5004
0
    clear_has_request();
5005
0
      ::yb::RedisPushRequestPB* temp = request_.push_request_;
5006
0
    request_.push_request_ = NULL;
5007
0
    return temp;
5008
0
  } else {
5009
0
    return NULL;
5010
0
  }
5011
0
}
5012
0
inline const ::yb::RedisPushRequestPB& RedisWriteRequestPB::push_request() const {
5013
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.push_request)
5014
0
  return has_push_request()
5015
0
      ? *request_.push_request_
5016
0
      : *reinterpret_cast< ::yb::RedisPushRequestPB*>(&::yb::_RedisPushRequestPB_default_instance_);
5017
0
}
5018
0
inline ::yb::RedisPushRequestPB* RedisWriteRequestPB::mutable_push_request() {
5019
0
  if (!has_push_request()) {
5020
0
    clear_request();
5021
0
    set_has_push_request();
5022
0
    request_.push_request_ = new ::yb::RedisPushRequestPB;
5023
0
  }
5024
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.push_request)
5025
0
  return request_.push_request_;
5026
0
}
5027
5028
// optional .yb.RedisInsertRequestPB insert_request = 9;
5029
0
inline bool RedisWriteRequestPB::has_insert_request() const {
5030
0
  return request_case() == kInsertRequest;
5031
0
}
5032
0
inline void RedisWriteRequestPB::set_has_insert_request() {
5033
0
  _oneof_case_[0] = kInsertRequest;
5034
0
}
5035
0
inline void RedisWriteRequestPB::clear_insert_request() {
5036
0
  if (has_insert_request()) {
5037
0
    delete request_.insert_request_;
5038
0
    clear_has_request();
5039
0
  }
5040
0
}
5041
0
inline ::yb::RedisInsertRequestPB* RedisWriteRequestPB::release_insert_request() {
5042
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.insert_request)
5043
0
  if (has_insert_request()) {
5044
0
    clear_has_request();
5045
0
      ::yb::RedisInsertRequestPB* temp = request_.insert_request_;
5046
0
    request_.insert_request_ = NULL;
5047
0
    return temp;
5048
0
  } else {
5049
0
    return NULL;
5050
0
  }
5051
0
}
5052
0
inline const ::yb::RedisInsertRequestPB& RedisWriteRequestPB::insert_request() const {
5053
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.insert_request)
5054
0
  return has_insert_request()
5055
0
      ? *request_.insert_request_
5056
0
      : *reinterpret_cast< ::yb::RedisInsertRequestPB*>(&::yb::_RedisInsertRequestPB_default_instance_);
5057
0
}
5058
0
inline ::yb::RedisInsertRequestPB* RedisWriteRequestPB::mutable_insert_request() {
5059
0
  if (!has_insert_request()) {
5060
0
    clear_request();
5061
0
    set_has_insert_request();
5062
0
    request_.insert_request_ = new ::yb::RedisInsertRequestPB;
5063
0
  }
5064
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.insert_request)
5065
0
  return request_.insert_request_;
5066
0
}
5067
5068
// optional .yb.RedisPopRequestPB pop_request = 10;
5069
0
inline bool RedisWriteRequestPB::has_pop_request() const {
5070
0
  return request_case() == kPopRequest;
5071
0
}
5072
0
inline void RedisWriteRequestPB::set_has_pop_request() {
5073
0
  _oneof_case_[0] = kPopRequest;
5074
0
}
5075
0
inline void RedisWriteRequestPB::clear_pop_request() {
5076
0
  if (has_pop_request()) {
5077
0
    delete request_.pop_request_;
5078
0
    clear_has_request();
5079
0
  }
5080
0
}
5081
0
inline ::yb::RedisPopRequestPB* RedisWriteRequestPB::release_pop_request() {
5082
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.pop_request)
5083
0
  if (has_pop_request()) {
5084
0
    clear_has_request();
5085
0
      ::yb::RedisPopRequestPB* temp = request_.pop_request_;
5086
0
    request_.pop_request_ = NULL;
5087
0
    return temp;
5088
0
  } else {
5089
0
    return NULL;
5090
0
  }
5091
0
}
5092
0
inline const ::yb::RedisPopRequestPB& RedisWriteRequestPB::pop_request() const {
5093
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.pop_request)
5094
0
  return has_pop_request()
5095
0
      ? *request_.pop_request_
5096
0
      : *reinterpret_cast< ::yb::RedisPopRequestPB*>(&::yb::_RedisPopRequestPB_default_instance_);
5097
0
}
5098
0
inline ::yb::RedisPopRequestPB* RedisWriteRequestPB::mutable_pop_request() {
5099
0
  if (!has_pop_request()) {
5100
0
    clear_request();
5101
0
    set_has_pop_request();
5102
0
    request_.pop_request_ = new ::yb::RedisPopRequestPB;
5103
0
  }
5104
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.pop_request)
5105
0
  return request_.pop_request_;
5106
0
}
5107
5108
// optional .yb.RedisAddRequestPB add_request = 11;
5109
0
inline bool RedisWriteRequestPB::has_add_request() const {
5110
0
  return request_case() == kAddRequest;
5111
0
}
5112
0
inline void RedisWriteRequestPB::set_has_add_request() {
5113
0
  _oneof_case_[0] = kAddRequest;
5114
0
}
5115
0
inline void RedisWriteRequestPB::clear_add_request() {
5116
0
  if (has_add_request()) {
5117
0
    delete request_.add_request_;
5118
0
    clear_has_request();
5119
0
  }
5120
0
}
5121
0
inline ::yb::RedisAddRequestPB* RedisWriteRequestPB::release_add_request() {
5122
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.add_request)
5123
0
  if (has_add_request()) {
5124
0
    clear_has_request();
5125
0
      ::yb::RedisAddRequestPB* temp = request_.add_request_;
5126
0
    request_.add_request_ = NULL;
5127
0
    return temp;
5128
0
  } else {
5129
0
    return NULL;
5130
0
  }
5131
0
}
5132
0
inline const ::yb::RedisAddRequestPB& RedisWriteRequestPB::add_request() const {
5133
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.add_request)
5134
0
  return has_add_request()
5135
0
      ? *request_.add_request_
5136
0
      : *reinterpret_cast< ::yb::RedisAddRequestPB*>(&::yb::_RedisAddRequestPB_default_instance_);
5137
0
}
5138
0
inline ::yb::RedisAddRequestPB* RedisWriteRequestPB::mutable_add_request() {
5139
0
  if (!has_add_request()) {
5140
0
    clear_request();
5141
0
    set_has_add_request();
5142
0
    request_.add_request_ = new ::yb::RedisAddRequestPB;
5143
0
  }
5144
0
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.add_request)
5145
0
  return request_.add_request_;
5146
0
}
5147
5148
// optional .yb.RedisSetTtlRequestPB set_ttl_request = 12;
5149
178
inline bool RedisWriteRequestPB::has_set_ttl_request() const {
5150
178
  return request_case() == kSetTtlRequest;
5151
178
}
5152
73
inline void RedisWriteRequestPB::set_has_set_ttl_request() {
5153
73
  _oneof_case_[0] = kSetTtlRequest;
5154
73
}
5155
0
inline void RedisWriteRequestPB::clear_set_ttl_request() {
5156
0
  if (has_set_ttl_request()) {
5157
0
    delete request_.set_ttl_request_;
5158
0
    clear_has_request();
5159
0
  }
5160
0
}
5161
0
inline ::yb::RedisSetTtlRequestPB* RedisWriteRequestPB::release_set_ttl_request() {
5162
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.set_ttl_request)
5163
0
  if (has_set_ttl_request()) {
5164
0
    clear_has_request();
5165
0
      ::yb::RedisSetTtlRequestPB* temp = request_.set_ttl_request_;
5166
0
    request_.set_ttl_request_ = NULL;
5167
0
    return temp;
5168
0
  } else {
5169
0
    return NULL;
5170
0
  }
5171
0
}
5172
105
inline const ::yb::RedisSetTtlRequestPB& RedisWriteRequestPB::set_ttl_request() const {
5173
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.set_ttl_request)
5174
105
  return has_set_ttl_request()
5175
105
      ? *request_.set_ttl_request_
5176
0
      : *reinterpret_cast< ::yb::RedisSetTtlRequestPB*>(&::yb::_RedisSetTtlRequestPB_default_instance_);
5177
105
}
5178
73
inline ::yb::RedisSetTtlRequestPB* RedisWriteRequestPB::mutable_set_ttl_request() {
5179
73
  if (!has_set_ttl_request()) {
5180
73
    clear_request();
5181
73
    set_has_set_ttl_request();
5182
73
    request_.set_ttl_request_ = new ::yb::RedisSetTtlRequestPB;
5183
73
  }
5184
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.set_ttl_request)
5185
73
  return request_.set_ttl_request_;
5186
73
}
5187
5188
// optional .yb.RedisNoOpRequestPB no_op_request = 14;
5189
21.5k
inline bool RedisWriteRequestPB::has_no_op_request() const {
5190
21.5k
  return request_case() == kNoOpRequest;
5191
21.5k
}
5192
5
inline void RedisWriteRequestPB::set_has_no_op_request() {
5193
5
  _oneof_case_[0] = kNoOpRequest;
5194
5
}
5195
0
inline void RedisWriteRequestPB::clear_no_op_request() {
5196
0
  if (has_no_op_request()) {
5197
0
    delete request_.no_op_request_;
5198
0
    clear_has_request();
5199
0
  }
5200
0
}
5201
0
inline ::yb::RedisNoOpRequestPB* RedisWriteRequestPB::release_no_op_request() {
5202
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.no_op_request)
5203
0
  if (has_no_op_request()) {
5204
0
    clear_has_request();
5205
0
      ::yb::RedisNoOpRequestPB* temp = request_.no_op_request_;
5206
0
    request_.no_op_request_ = NULL;
5207
0
    return temp;
5208
0
  } else {
5209
0
    return NULL;
5210
0
  }
5211
0
}
5212
0
inline const ::yb::RedisNoOpRequestPB& RedisWriteRequestPB::no_op_request() const {
5213
0
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.no_op_request)
5214
0
  return has_no_op_request()
5215
0
      ? *request_.no_op_request_
5216
0
      : *reinterpret_cast< ::yb::RedisNoOpRequestPB*>(&::yb::_RedisNoOpRequestPB_default_instance_);
5217
0
}
5218
5
inline ::yb::RedisNoOpRequestPB* RedisWriteRequestPB::mutable_no_op_request() {
5219
5
  if (!has_no_op_request()) {
5220
5
    clear_request();
5221
5
    set_has_no_op_request();
5222
5
    request_.no_op_request_ = new ::yb::RedisNoOpRequestPB;
5223
5
  }
5224
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.no_op_request)
5225
5
  return request_.no_op_request_;
5226
5
}
5227
5228
// optional .yb.RedisKeyValuePB key_value = 13;
5229
104k
inline bool RedisWriteRequestPB::has_key_value() const {
5230
104k
  return (_has_bits_[0] & 0x00000001u) != 0;
5231
104k
}
5232
302k
inline void RedisWriteRequestPB::set_has_key_value() {
5233
302k
  _has_bits_[0] |= 0x00000001u;
5234
302k
}
5235
0
inline void RedisWriteRequestPB::clear_has_key_value() {
5236
0
  _has_bits_[0] &= ~0x00000001u;
5237
0
}
5238
0
inline void RedisWriteRequestPB::clear_key_value() {
5239
0
  if (key_value_ != NULL) key_value_->Clear();
5240
0
  clear_has_key_value();
5241
0
}
5242
430k
inline const ::yb::RedisKeyValuePB& RedisWriteRequestPB::key_value() const {
5243
430k
  const ::yb::RedisKeyValuePB* p = key_value_;
5244
  // @@protoc_insertion_point(field_get:yb.RedisWriteRequestPB.key_value)
5245
430k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisKeyValuePB*>(
5246
9
      &::yb::_RedisKeyValuePB_default_instance_);
5247
430k
}
5248
0
inline ::yb::RedisKeyValuePB* RedisWriteRequestPB::release_key_value() {
5249
0
  // @@protoc_insertion_point(field_release:yb.RedisWriteRequestPB.key_value)
5250
0
  clear_has_key_value();
5251
0
  ::yb::RedisKeyValuePB* temp = key_value_;
5252
0
  key_value_ = NULL;
5253
0
  return temp;
5254
0
}
5255
302k
inline ::yb::RedisKeyValuePB* RedisWriteRequestPB::mutable_key_value() {
5256
302k
  set_has_key_value();
5257
302k
  if (key_value_ == NULL) {
5258
83.0k
    key_value_ = new ::yb::RedisKeyValuePB;
5259
83.0k
  }
5260
  // @@protoc_insertion_point(field_mutable:yb.RedisWriteRequestPB.key_value)
5261
302k
  return key_value_;
5262
302k
}
5263
0
inline void RedisWriteRequestPB::set_allocated_key_value(::yb::RedisKeyValuePB* key_value) {
5264
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5265
0
  if (message_arena == NULL) {
5266
0
    delete key_value_;
5267
0
  }
5268
0
  if (key_value) {
5269
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5270
0
    if (message_arena != submessage_arena) {
5271
0
      key_value = ::google::protobuf::internal::GetOwnedMessage(
5272
0
          message_arena, key_value, submessage_arena);
5273
0
    }
5274
0
    set_has_key_value();
5275
0
  } else {
5276
0
    clear_has_key_value();
5277
0
  }
5278
0
  key_value_ = key_value;
5279
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisWriteRequestPB.key_value)
5280
0
}
5281
5282
83.0k
inline bool RedisWriteRequestPB::has_request() const {
5283
83.0k
  return request_case() != REQUEST_NOT_SET;
5284
83.0k
}
5285
100k
inline void RedisWriteRequestPB::clear_has_request() {
5286
100k
  _oneof_case_[0] = REQUEST_NOT_SET;
5287
100k
}
5288
767k
inline RedisWriteRequestPB::RequestCase RedisWriteRequestPB::request_case() const {
5289
767k
  return RedisWriteRequestPB::RequestCase(_oneof_case_[0]);
5290
767k
}
5291
// -------------------------------------------------------------------
5292
5293
// RedisReadRequestPB
5294
5295
// optional .yb.RedisGetRequestPB get_request = 2;
5296
155k
inline bool RedisReadRequestPB::has_get_request() const {
5297
155k
  return request_case() == kGetRequest;
5298
155k
}
5299
81.7k
inline void RedisReadRequestPB::set_has_get_request() {
5300
81.7k
  _oneof_case_[0] = kGetRequest;
5301
81.7k
}
5302
0
inline void RedisReadRequestPB::clear_get_request() {
5303
0
  if (has_get_request()) {
5304
0
    delete request_.get_request_;
5305
0
    clear_has_request();
5306
0
  }
5307
0
}
5308
0
inline ::yb::RedisGetRequestPB* RedisReadRequestPB::release_get_request() {
5309
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.get_request)
5310
0
  if (has_get_request()) {
5311
0
    clear_has_request();
5312
0
      ::yb::RedisGetRequestPB* temp = request_.get_request_;
5313
0
    request_.get_request_ = NULL;
5314
0
    return temp;
5315
0
  } else {
5316
0
    return NULL;
5317
0
  }
5318
0
}
5319
74.0k
inline const ::yb::RedisGetRequestPB& RedisReadRequestPB::get_request() const {
5320
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.get_request)
5321
74.0k
  return has_get_request()
5322
74.0k
      ? *request_.get_request_
5323
0
      : *reinterpret_cast< ::yb::RedisGetRequestPB*>(&::yb::_RedisGetRequestPB_default_instance_);
5324
74.0k
}
5325
81.7k
inline ::yb::RedisGetRequestPB* RedisReadRequestPB::mutable_get_request() {
5326
81.7k
  if (!has_get_request()) {
5327
81.7k
    clear_request();
5328
81.7k
    set_has_get_request();
5329
81.7k
    request_.get_request_ = new ::yb::RedisGetRequestPB;
5330
81.7k
  }
5331
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.get_request)
5332
81.7k
  return request_.get_request_;
5333
81.7k
}
5334
5335
// optional .yb.RedisStrLenRequestPB strlen_request = 3;
5336
0
inline bool RedisReadRequestPB::has_strlen_request() const {
5337
0
  return request_case() == kStrlenRequest;
5338
0
}
5339
0
inline void RedisReadRequestPB::set_has_strlen_request() {
5340
0
  _oneof_case_[0] = kStrlenRequest;
5341
0
}
5342
0
inline void RedisReadRequestPB::clear_strlen_request() {
5343
0
  if (has_strlen_request()) {
5344
0
    delete request_.strlen_request_;
5345
0
    clear_has_request();
5346
0
  }
5347
0
}
5348
0
inline ::yb::RedisStrLenRequestPB* RedisReadRequestPB::release_strlen_request() {
5349
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.strlen_request)
5350
0
  if (has_strlen_request()) {
5351
0
    clear_has_request();
5352
0
      ::yb::RedisStrLenRequestPB* temp = request_.strlen_request_;
5353
0
    request_.strlen_request_ = NULL;
5354
0
    return temp;
5355
0
  } else {
5356
0
    return NULL;
5357
0
  }
5358
0
}
5359
0
inline const ::yb::RedisStrLenRequestPB& RedisReadRequestPB::strlen_request() const {
5360
0
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.strlen_request)
5361
0
  return has_strlen_request()
5362
0
      ? *request_.strlen_request_
5363
0
      : *reinterpret_cast< ::yb::RedisStrLenRequestPB*>(&::yb::_RedisStrLenRequestPB_default_instance_);
5364
0
}
5365
0
inline ::yb::RedisStrLenRequestPB* RedisReadRequestPB::mutable_strlen_request() {
5366
0
  if (!has_strlen_request()) {
5367
0
    clear_request();
5368
0
    set_has_strlen_request();
5369
0
    request_.strlen_request_ = new ::yb::RedisStrLenRequestPB;
5370
0
  }
5371
0
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.strlen_request)
5372
0
  return request_.strlen_request_;
5373
0
}
5374
5375
// optional .yb.RedisExistsRequestPB exists_request = 4;
5376
0
inline bool RedisReadRequestPB::has_exists_request() const {
5377
0
  return request_case() == kExistsRequest;
5378
0
}
5379
0
inline void RedisReadRequestPB::set_has_exists_request() {
5380
0
  _oneof_case_[0] = kExistsRequest;
5381
0
}
5382
0
inline void RedisReadRequestPB::clear_exists_request() {
5383
0
  if (has_exists_request()) {
5384
0
    delete request_.exists_request_;
5385
0
    clear_has_request();
5386
0
  }
5387
0
}
5388
0
inline ::yb::RedisExistsRequestPB* RedisReadRequestPB::release_exists_request() {
5389
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.exists_request)
5390
0
  if (has_exists_request()) {
5391
0
    clear_has_request();
5392
0
      ::yb::RedisExistsRequestPB* temp = request_.exists_request_;
5393
0
    request_.exists_request_ = NULL;
5394
0
    return temp;
5395
0
  } else {
5396
0
    return NULL;
5397
0
  }
5398
0
}
5399
0
inline const ::yb::RedisExistsRequestPB& RedisReadRequestPB::exists_request() const {
5400
0
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.exists_request)
5401
0
  return has_exists_request()
5402
0
      ? *request_.exists_request_
5403
0
      : *reinterpret_cast< ::yb::RedisExistsRequestPB*>(&::yb::_RedisExistsRequestPB_default_instance_);
5404
0
}
5405
0
inline ::yb::RedisExistsRequestPB* RedisReadRequestPB::mutable_exists_request() {
5406
0
  if (!has_exists_request()) {
5407
0
    clear_request();
5408
0
    set_has_exists_request();
5409
0
    request_.exists_request_ = new ::yb::RedisExistsRequestPB;
5410
0
  }
5411
0
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.exists_request)
5412
0
  return request_.exists_request_;
5413
0
}
5414
5415
// optional .yb.RedisGetRangeRequestPB get_range_request = 5;
5416
0
inline bool RedisReadRequestPB::has_get_range_request() const {
5417
0
  return request_case() == kGetRangeRequest;
5418
0
}
5419
0
inline void RedisReadRequestPB::set_has_get_range_request() {
5420
0
  _oneof_case_[0] = kGetRangeRequest;
5421
0
}
5422
0
inline void RedisReadRequestPB::clear_get_range_request() {
5423
0
  if (has_get_range_request()) {
5424
0
    delete request_.get_range_request_;
5425
0
    clear_has_request();
5426
0
  }
5427
0
}
5428
0
inline ::yb::RedisGetRangeRequestPB* RedisReadRequestPB::release_get_range_request() {
5429
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.get_range_request)
5430
0
  if (has_get_range_request()) {
5431
0
    clear_has_request();
5432
0
      ::yb::RedisGetRangeRequestPB* temp = request_.get_range_request_;
5433
0
    request_.get_range_request_ = NULL;
5434
0
    return temp;
5435
0
  } else {
5436
0
    return NULL;
5437
0
  }
5438
0
}
5439
0
inline const ::yb::RedisGetRangeRequestPB& RedisReadRequestPB::get_range_request() const {
5440
0
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.get_range_request)
5441
0
  return has_get_range_request()
5442
0
      ? *request_.get_range_request_
5443
0
      : *reinterpret_cast< ::yb::RedisGetRangeRequestPB*>(&::yb::_RedisGetRangeRequestPB_default_instance_);
5444
0
}
5445
0
inline ::yb::RedisGetRangeRequestPB* RedisReadRequestPB::mutable_get_range_request() {
5446
0
  if (!has_get_range_request()) {
5447
0
    clear_request();
5448
0
    set_has_get_range_request();
5449
0
    request_.get_range_request_ = new ::yb::RedisGetRangeRequestPB;
5450
0
  }
5451
0
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.get_range_request)
5452
0
  return request_.get_range_request_;
5453
0
}
5454
5455
// optional .yb.RedisCollectionGetRangeRequestPB get_collection_range_request = 9;
5456
40.1k
inline bool RedisReadRequestPB::has_get_collection_range_request() const {
5457
40.1k
  return request_case() == kGetCollectionRangeRequest;
5458
40.1k
}
5459
13.3k
inline void RedisReadRequestPB::set_has_get_collection_range_request() {
5460
13.3k
  _oneof_case_[0] = kGetCollectionRangeRequest;
5461
13.3k
}
5462
0
inline void RedisReadRequestPB::clear_get_collection_range_request() {
5463
0
  if (has_get_collection_range_request()) {
5464
0
    delete request_.get_collection_range_request_;
5465
0
    clear_has_request();
5466
0
  }
5467
0
}
5468
0
inline ::yb::RedisCollectionGetRangeRequestPB* RedisReadRequestPB::release_get_collection_range_request() {
5469
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.get_collection_range_request)
5470
0
  if (has_get_collection_range_request()) {
5471
0
    clear_has_request();
5472
0
      ::yb::RedisCollectionGetRangeRequestPB* temp = request_.get_collection_range_request_;
5473
0
    request_.get_collection_range_request_ = NULL;
5474
0
    return temp;
5475
0
  } else {
5476
0
    return NULL;
5477
0
  }
5478
0
}
5479
16.4k
inline const ::yb::RedisCollectionGetRangeRequestPB& RedisReadRequestPB::get_collection_range_request() const {
5480
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.get_collection_range_request)
5481
16.4k
  return has_get_collection_range_request()
5482
16.4k
      ? *request_.get_collection_range_request_
5483
0
      : *reinterpret_cast< ::yb::RedisCollectionGetRangeRequestPB*>(&::yb::_RedisCollectionGetRangeRequestPB_default_instance_);
5484
16.4k
}
5485
13.3k
inline ::yb::RedisCollectionGetRangeRequestPB* RedisReadRequestPB::mutable_get_collection_range_request() {
5486
13.3k
  if (!has_get_collection_range_request()) {
5487
13.3k
    clear_request();
5488
13.3k
    set_has_get_collection_range_request();
5489
13.3k
    request_.get_collection_range_request_ = new ::yb::RedisCollectionGetRangeRequestPB;
5490
13.3k
  }
5491
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.get_collection_range_request)
5492
13.3k
  return request_.get_collection_range_request_;
5493
13.3k
}
5494
5495
// optional .yb.RedisGetTtlRequestPB get_ttl_request = 11;
5496
530
inline bool RedisReadRequestPB::has_get_ttl_request() const {
5497
530
  return request_case() == kGetTtlRequest;
5498
530
}
5499
338
inline void RedisReadRequestPB::set_has_get_ttl_request() {
5500
338
  _oneof_case_[0] = kGetTtlRequest;
5501
338
}
5502
0
inline void RedisReadRequestPB::clear_get_ttl_request() {
5503
0
  if (has_get_ttl_request()) {
5504
0
    delete request_.get_ttl_request_;
5505
0
    clear_has_request();
5506
0
  }
5507
0
}
5508
0
inline ::yb::RedisGetTtlRequestPB* RedisReadRequestPB::release_get_ttl_request() {
5509
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.get_ttl_request)
5510
0
  if (has_get_ttl_request()) {
5511
0
    clear_has_request();
5512
0
      ::yb::RedisGetTtlRequestPB* temp = request_.get_ttl_request_;
5513
0
    request_.get_ttl_request_ = NULL;
5514
0
    return temp;
5515
0
  } else {
5516
0
    return NULL;
5517
0
  }
5518
0
}
5519
192
inline const ::yb::RedisGetTtlRequestPB& RedisReadRequestPB::get_ttl_request() const {
5520
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.get_ttl_request)
5521
192
  return has_get_ttl_request()
5522
192
      ? *request_.get_ttl_request_
5523
0
      : *reinterpret_cast< ::yb::RedisGetTtlRequestPB*>(&::yb::_RedisGetTtlRequestPB_default_instance_);
5524
192
}
5525
338
inline ::yb::RedisGetTtlRequestPB* RedisReadRequestPB::mutable_get_ttl_request() {
5526
338
  if (!has_get_ttl_request()) {
5527
338
    clear_request();
5528
338
    set_has_get_ttl_request();
5529
338
    request_.get_ttl_request_ = new ::yb::RedisGetTtlRequestPB;
5530
338
  }
5531
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.get_ttl_request)
5532
338
  return request_.get_ttl_request_;
5533
338
}
5534
5535
// optional .yb.RedisKeysRequestPB keys_request = 12;
5536
284k
inline bool RedisReadRequestPB::has_keys_request() const {
5537
284k
  return request_case() == kKeysRequest;
5538
284k
}
5539
792
inline void RedisReadRequestPB::set_has_keys_request() {
5540
792
  _oneof_case_[0] = kKeysRequest;
5541
792
}
5542
0
inline void RedisReadRequestPB::clear_keys_request() {
5543
0
  if (has_keys_request()) {
5544
0
    delete request_.keys_request_;
5545
0
    clear_has_request();
5546
0
  }
5547
0
}
5548
0
inline ::yb::RedisKeysRequestPB* RedisReadRequestPB::release_keys_request() {
5549
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.keys_request)
5550
0
  if (has_keys_request()) {
5551
0
    clear_has_request();
5552
0
      ::yb::RedisKeysRequestPB* temp = request_.keys_request_;
5553
0
    request_.keys_request_ = NULL;
5554
0
    return temp;
5555
0
  } else {
5556
0
    return NULL;
5557
0
  }
5558
0
}
5559
240k
inline const ::yb::RedisKeysRequestPB& RedisReadRequestPB::keys_request() const {
5560
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.keys_request)
5561
240k
  return has_keys_request()
5562
240k
      ? *request_.keys_request_
5563
0
      : *reinterpret_cast< ::yb::RedisKeysRequestPB*>(&::yb::_RedisKeysRequestPB_default_instance_);
5564
240k
}
5565
1.08k
inline ::yb::RedisKeysRequestPB* RedisReadRequestPB::mutable_keys_request() {
5566
1.08k
  if (!has_keys_request()) {
5567
792
    clear_request();
5568
792
    set_has_keys_request();
5569
792
    request_.keys_request_ = new ::yb::RedisKeysRequestPB;
5570
792
  }
5571
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.keys_request)
5572
1.08k
  return request_.keys_request_;
5573
1.08k
}
5574
5575
// optional .yb.RedisGetForRenameRequestPB get_for_rename_request = 13;
5576
0
inline bool RedisReadRequestPB::has_get_for_rename_request() const {
5577
0
  return request_case() == kGetForRenameRequest;
5578
0
}
5579
0
inline void RedisReadRequestPB::set_has_get_for_rename_request() {
5580
0
  _oneof_case_[0] = kGetForRenameRequest;
5581
0
}
5582
0
inline void RedisReadRequestPB::clear_get_for_rename_request() {
5583
0
  if (has_get_for_rename_request()) {
5584
0
    delete request_.get_for_rename_request_;
5585
0
    clear_has_request();
5586
0
  }
5587
0
}
5588
0
inline ::yb::RedisGetForRenameRequestPB* RedisReadRequestPB::release_get_for_rename_request() {
5589
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.get_for_rename_request)
5590
0
  if (has_get_for_rename_request()) {
5591
0
    clear_has_request();
5592
0
      ::yb::RedisGetForRenameRequestPB* temp = request_.get_for_rename_request_;
5593
0
    request_.get_for_rename_request_ = NULL;
5594
0
    return temp;
5595
0
  } else {
5596
0
    return NULL;
5597
0
  }
5598
0
}
5599
0
inline const ::yb::RedisGetForRenameRequestPB& RedisReadRequestPB::get_for_rename_request() const {
5600
0
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.get_for_rename_request)
5601
0
  return has_get_for_rename_request()
5602
0
      ? *request_.get_for_rename_request_
5603
0
      : *reinterpret_cast< ::yb::RedisGetForRenameRequestPB*>(&::yb::_RedisGetForRenameRequestPB_default_instance_);
5604
0
}
5605
0
inline ::yb::RedisGetForRenameRequestPB* RedisReadRequestPB::mutable_get_for_rename_request() {
5606
0
  if (!has_get_for_rename_request()) {
5607
0
    clear_request();
5608
0
    set_has_get_for_rename_request();
5609
0
    request_.get_for_rename_request_ = new ::yb::RedisGetForRenameRequestPB;
5610
0
  }
5611
0
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.get_for_rename_request)
5612
0
  return request_.get_for_rename_request_;
5613
0
}
5614
5615
// optional .yb.RedisKeyValuePB key_value = 6;
5616
69.0k
inline bool RedisReadRequestPB::has_key_value() const {
5617
69.0k
  return (_has_bits_[0] & 0x00000001u) != 0;
5618
69.0k
}
5619
96.9k
inline void RedisReadRequestPB::set_has_key_value() {
5620
96.9k
  _has_bits_[0] |= 0x00000001u;
5621
96.9k
}
5622
0
inline void RedisReadRequestPB::clear_has_key_value() {
5623
0
  _has_bits_[0] &= ~0x00000001u;
5624
0
}
5625
0
inline void RedisReadRequestPB::clear_key_value() {
5626
0
  if (key_value_ != NULL) key_value_->Clear();
5627
0
  clear_has_key_value();
5628
0
}
5629
390k
inline const ::yb::RedisKeyValuePB& RedisReadRequestPB::key_value() const {
5630
390k
  const ::yb::RedisKeyValuePB* p = key_value_;
5631
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.key_value)
5632
390k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisKeyValuePB*>(
5633
0
      &::yb::_RedisKeyValuePB_default_instance_);
5634
390k
}
5635
0
inline ::yb::RedisKeyValuePB* RedisReadRequestPB::release_key_value() {
5636
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.key_value)
5637
0
  clear_has_key_value();
5638
0
  ::yb::RedisKeyValuePB* temp = key_value_;
5639
0
  key_value_ = NULL;
5640
0
  return temp;
5641
0
}
5642
96.9k
inline ::yb::RedisKeyValuePB* RedisReadRequestPB::mutable_key_value() {
5643
96.9k
  set_has_key_value();
5644
96.9k
  if (key_value_ == NULL) {
5645
53.3k
    key_value_ = new ::yb::RedisKeyValuePB;
5646
53.3k
  }
5647
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.key_value)
5648
96.9k
  return key_value_;
5649
96.9k
}
5650
0
inline void RedisReadRequestPB::set_allocated_key_value(::yb::RedisKeyValuePB* key_value) {
5651
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5652
0
  if (message_arena == NULL) {
5653
0
    delete key_value_;
5654
0
  }
5655
0
  if (key_value) {
5656
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5657
0
    if (message_arena != submessage_arena) {
5658
0
      key_value = ::google::protobuf::internal::GetOwnedMessage(
5659
0
          message_arena, key_value, submessage_arena);
5660
0
    }
5661
0
    set_has_key_value();
5662
0
  } else {
5663
0
    clear_has_key_value();
5664
0
  }
5665
0
  key_value_ = key_value;
5666
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisReadRequestPB.key_value)
5667
0
}
5668
5669
// optional .yb.RedisSubKeyRangePB subkey_range = 7;
5670
69.0k
inline bool RedisReadRequestPB::has_subkey_range() const {
5671
69.0k
  return (_has_bits_[0] & 0x00000002u) != 0;
5672
69.0k
}
5673
13.3k
inline void RedisReadRequestPB::set_has_subkey_range() {
5674
13.3k
  _has_bits_[0] |= 0x00000002u;
5675
13.3k
}
5676
0
inline void RedisReadRequestPB::clear_has_subkey_range() {
5677
0
  _has_bits_[0] &= ~0x00000002u;
5678
0
}
5679
0
inline void RedisReadRequestPB::clear_subkey_range() {
5680
0
  if (subkey_range_ != NULL) subkey_range_->Clear();
5681
0
  clear_has_subkey_range();
5682
0
}
5683
21.9k
inline const ::yb::RedisSubKeyRangePB& RedisReadRequestPB::subkey_range() const {
5684
21.9k
  const ::yb::RedisSubKeyRangePB* p = subkey_range_;
5685
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.subkey_range)
5686
21.9k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisSubKeyRangePB*>(
5687
0
      &::yb::_RedisSubKeyRangePB_default_instance_);
5688
21.9k
}
5689
0
inline ::yb::RedisSubKeyRangePB* RedisReadRequestPB::release_subkey_range() {
5690
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.subkey_range)
5691
0
  clear_has_subkey_range();
5692
0
  ::yb::RedisSubKeyRangePB* temp = subkey_range_;
5693
0
  subkey_range_ = NULL;
5694
0
  return temp;
5695
0
}
5696
13.3k
inline ::yb::RedisSubKeyRangePB* RedisReadRequestPB::mutable_subkey_range() {
5697
13.3k
  set_has_subkey_range();
5698
13.3k
  if (subkey_range_ == NULL) {
5699
7.90k
    subkey_range_ = new ::yb::RedisSubKeyRangePB;
5700
7.90k
  }
5701
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.subkey_range)
5702
13.3k
  return subkey_range_;
5703
13.3k
}
5704
0
inline void RedisReadRequestPB::set_allocated_subkey_range(::yb::RedisSubKeyRangePB* subkey_range) {
5705
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5706
0
  if (message_arena == NULL) {
5707
0
    delete subkey_range_;
5708
0
  }
5709
0
  if (subkey_range) {
5710
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5711
0
    if (message_arena != submessage_arena) {
5712
0
      subkey_range = ::google::protobuf::internal::GetOwnedMessage(
5713
0
          message_arena, subkey_range, submessage_arena);
5714
0
    }
5715
0
    set_has_subkey_range();
5716
0
  } else {
5717
0
    clear_has_subkey_range();
5718
0
  }
5719
0
  subkey_range_ = subkey_range;
5720
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisReadRequestPB.subkey_range)
5721
0
}
5722
5723
// optional .yb.RedisIndexRangePB index_range = 8;
5724
84.1k
inline bool RedisReadRequestPB::has_index_range() const {
5725
84.1k
  return (_has_bits_[0] & 0x00000004u) != 0;
5726
84.1k
}
5727
32
inline void RedisReadRequestPB::set_has_index_range() {
5728
32
  _has_bits_[0] |= 0x00000004u;
5729
32
}
5730
0
inline void RedisReadRequestPB::clear_has_index_range() {
5731
0
  _has_bits_[0] &= ~0x00000004u;
5732
0
}
5733
0
inline void RedisReadRequestPB::clear_index_range() {
5734
0
  if (index_range_ != NULL) index_range_->Clear();
5735
0
  clear_has_index_range();
5736
0
}
5737
21
inline const ::yb::RedisIndexRangePB& RedisReadRequestPB::index_range() const {
5738
21
  const ::yb::RedisIndexRangePB* p = index_range_;
5739
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.index_range)
5740
21
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisIndexRangePB*>(
5741
0
      &::yb::_RedisIndexRangePB_default_instance_);
5742
21
}
5743
0
inline ::yb::RedisIndexRangePB* RedisReadRequestPB::release_index_range() {
5744
0
  // @@protoc_insertion_point(field_release:yb.RedisReadRequestPB.index_range)
5745
0
  clear_has_index_range();
5746
0
  ::yb::RedisIndexRangePB* temp = index_range_;
5747
0
  index_range_ = NULL;
5748
0
  return temp;
5749
0
}
5750
32
inline ::yb::RedisIndexRangePB* RedisReadRequestPB::mutable_index_range() {
5751
32
  set_has_index_range();
5752
32
  if (index_range_ == NULL) {
5753
32
    index_range_ = new ::yb::RedisIndexRangePB;
5754
32
  }
5755
  // @@protoc_insertion_point(field_mutable:yb.RedisReadRequestPB.index_range)
5756
32
  return index_range_;
5757
32
}
5758
0
inline void RedisReadRequestPB::set_allocated_index_range(::yb::RedisIndexRangePB* index_range) {
5759
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5760
0
  if (message_arena == NULL) {
5761
0
    delete index_range_;
5762
0
  }
5763
0
  if (index_range) {
5764
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5765
0
    if (message_arena != submessage_arena) {
5766
0
      index_range = ::google::protobuf::internal::GetOwnedMessage(
5767
0
          message_arena, index_range, submessage_arena);
5768
0
    }
5769
0
    set_has_index_range();
5770
0
  } else {
5771
0
    clear_has_index_range();
5772
0
  }
5773
0
  index_range_ = index_range;
5774
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisReadRequestPB.index_range)
5775
0
}
5776
5777
// optional int32 range_request_limit = 10 [default = 0];
5778
20.6k
inline bool RedisReadRequestPB::has_range_request_limit() const {
5779
20.6k
  return (_has_bits_[0] & 0x00000008u) != 0;
5780
20.6k
}
5781
3.93k
inline void RedisReadRequestPB::set_has_range_request_limit() {
5782
3.93k
  _has_bits_[0] |= 0x00000008u;
5783
3.93k
}
5784
0
inline void RedisReadRequestPB::clear_has_range_request_limit() {
5785
0
  _has_bits_[0] &= ~0x00000008u;
5786
0
}
5787
0
inline void RedisReadRequestPB::clear_range_request_limit() {
5788
0
  range_request_limit_ = 0;
5789
0
  clear_has_range_request_limit();
5790
0
}
5791
9.05k
inline ::google::protobuf::int32 RedisReadRequestPB::range_request_limit() const {
5792
  // @@protoc_insertion_point(field_get:yb.RedisReadRequestPB.range_request_limit)
5793
9.05k
  return range_request_limit_;
5794
9.05k
}
5795
2.73k
inline void RedisReadRequestPB::set_range_request_limit(::google::protobuf::int32 value) {
5796
2.73k
  set_has_range_request_limit();
5797
2.73k
  range_request_limit_ = value;
5798
  // @@protoc_insertion_point(field_set:yb.RedisReadRequestPB.range_request_limit)
5799
2.73k
}
5800
5801
96.2k
inline bool RedisReadRequestPB::has_request() const {
5802
96.2k
  return request_case() != REQUEST_NOT_SET;
5803
96.2k
}
5804
113k
inline void RedisReadRequestPB::clear_has_request() {
5805
113k
  _oneof_case_[0] = REQUEST_NOT_SET;
5806
113k
}
5807
896k
inline RedisReadRequestPB::RequestCase RedisReadRequestPB::request_case() const {
5808
896k
  return RedisReadRequestPB::RequestCase(_oneof_case_[0]);
5809
896k
}
5810
// -------------------------------------------------------------------
5811
5812
// RedisSubKeyRangePB
5813
5814
// optional .yb.RedisSubKeyBoundPB lower_bound = 1;
5815
15.8k
inline bool RedisSubKeyRangePB::has_lower_bound() const {
5816
15.8k
  return (_has_bits_[0] & 0x00000001u) != 0;
5817
15.8k
}
5818
7.90k
inline void RedisSubKeyRangePB::set_has_lower_bound() {
5819
7.90k
  _has_bits_[0] |= 0x00000001u;
5820
7.90k
}
5821
0
inline void RedisSubKeyRangePB::clear_has_lower_bound() {
5822
0
  _has_bits_[0] &= ~0x00000001u;
5823
0
}
5824
0
inline void RedisSubKeyRangePB::clear_lower_bound() {
5825
0
  if (lower_bound_ != NULL) lower_bound_->Clear();
5826
0
  clear_has_lower_bound();
5827
0
}
5828
5.47k
inline const ::yb::RedisSubKeyBoundPB& RedisSubKeyRangePB::lower_bound() const {
5829
5.47k
  const ::yb::RedisSubKeyBoundPB* p = lower_bound_;
5830
  // @@protoc_insertion_point(field_get:yb.RedisSubKeyRangePB.lower_bound)
5831
5.47k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisSubKeyBoundPB*>(
5832
0
      &::yb::_RedisSubKeyBoundPB_default_instance_);
5833
5.47k
}
5834
0
inline ::yb::RedisSubKeyBoundPB* RedisSubKeyRangePB::release_lower_bound() {
5835
0
  // @@protoc_insertion_point(field_release:yb.RedisSubKeyRangePB.lower_bound)
5836
0
  clear_has_lower_bound();
5837
0
  ::yb::RedisSubKeyBoundPB* temp = lower_bound_;
5838
0
  lower_bound_ = NULL;
5839
0
  return temp;
5840
0
}
5841
7.90k
inline ::yb::RedisSubKeyBoundPB* RedisSubKeyRangePB::mutable_lower_bound() {
5842
7.90k
  set_has_lower_bound();
5843
7.90k
  if (lower_bound_ == NULL) {
5844
7.90k
    lower_bound_ = new ::yb::RedisSubKeyBoundPB;
5845
7.90k
  }
5846
  // @@protoc_insertion_point(field_mutable:yb.RedisSubKeyRangePB.lower_bound)
5847
7.90k
  return lower_bound_;
5848
7.90k
}
5849
0
inline void RedisSubKeyRangePB::set_allocated_lower_bound(::yb::RedisSubKeyBoundPB* lower_bound) {
5850
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5851
0
  if (message_arena == NULL) {
5852
0
    delete lower_bound_;
5853
0
  }
5854
0
  if (lower_bound) {
5855
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5856
0
    if (message_arena != submessage_arena) {
5857
0
      lower_bound = ::google::protobuf::internal::GetOwnedMessage(
5858
0
          message_arena, lower_bound, submessage_arena);
5859
0
    }
5860
0
    set_has_lower_bound();
5861
0
  } else {
5862
0
    clear_has_lower_bound();
5863
0
  }
5864
0
  lower_bound_ = lower_bound;
5865
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisSubKeyRangePB.lower_bound)
5866
0
}
5867
5868
// optional .yb.RedisSubKeyBoundPB upper_bound = 2;
5869
15.8k
inline bool RedisSubKeyRangePB::has_upper_bound() const {
5870
15.8k
  return (_has_bits_[0] & 0x00000002u) != 0;
5871
15.8k
}
5872
7.90k
inline void RedisSubKeyRangePB::set_has_upper_bound() {
5873
7.90k
  _has_bits_[0] |= 0x00000002u;
5874
7.90k
}
5875
0
inline void RedisSubKeyRangePB::clear_has_upper_bound() {
5876
0
  _has_bits_[0] &= ~0x00000002u;
5877
0
}
5878
0
inline void RedisSubKeyRangePB::clear_upper_bound() {
5879
0
  if (upper_bound_ != NULL) upper_bound_->Clear();
5880
0
  clear_has_upper_bound();
5881
0
}
5882
5.47k
inline const ::yb::RedisSubKeyBoundPB& RedisSubKeyRangePB::upper_bound() const {
5883
5.47k
  const ::yb::RedisSubKeyBoundPB* p = upper_bound_;
5884
  // @@protoc_insertion_point(field_get:yb.RedisSubKeyRangePB.upper_bound)
5885
5.47k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisSubKeyBoundPB*>(
5886
0
      &::yb::_RedisSubKeyBoundPB_default_instance_);
5887
5.47k
}
5888
0
inline ::yb::RedisSubKeyBoundPB* RedisSubKeyRangePB::release_upper_bound() {
5889
0
  // @@protoc_insertion_point(field_release:yb.RedisSubKeyRangePB.upper_bound)
5890
0
  clear_has_upper_bound();
5891
0
  ::yb::RedisSubKeyBoundPB* temp = upper_bound_;
5892
0
  upper_bound_ = NULL;
5893
0
  return temp;
5894
0
}
5895
7.90k
inline ::yb::RedisSubKeyBoundPB* RedisSubKeyRangePB::mutable_upper_bound() {
5896
7.90k
  set_has_upper_bound();
5897
7.90k
  if (upper_bound_ == NULL) {
5898
7.90k
    upper_bound_ = new ::yb::RedisSubKeyBoundPB;
5899
7.90k
  }
5900
  // @@protoc_insertion_point(field_mutable:yb.RedisSubKeyRangePB.upper_bound)
5901
7.90k
  return upper_bound_;
5902
7.90k
}
5903
0
inline void RedisSubKeyRangePB::set_allocated_upper_bound(::yb::RedisSubKeyBoundPB* upper_bound) {
5904
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5905
0
  if (message_arena == NULL) {
5906
0
    delete upper_bound_;
5907
0
  }
5908
0
  if (upper_bound) {
5909
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5910
0
    if (message_arena != submessage_arena) {
5911
0
      upper_bound = ::google::protobuf::internal::GetOwnedMessage(
5912
0
          message_arena, upper_bound, submessage_arena);
5913
0
    }
5914
0
    set_has_upper_bound();
5915
0
  } else {
5916
0
    clear_has_upper_bound();
5917
0
  }
5918
0
  upper_bound_ = upper_bound;
5919
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisSubKeyRangePB.upper_bound)
5920
0
}
5921
5922
// -------------------------------------------------------------------
5923
5924
// RedisIndexRangePB
5925
5926
// optional .yb.RedisIndexBoundPB lower_bound = 1;
5927
65
inline bool RedisIndexRangePB::has_lower_bound() const {
5928
65
  return (_has_bits_[0] & 0x00000001u) != 0;
5929
65
}
5930
32
inline void RedisIndexRangePB::set_has_lower_bound() {
5931
32
  _has_bits_[0] |= 0x00000001u;
5932
32
}
5933
0
inline void RedisIndexRangePB::clear_has_lower_bound() {
5934
0
  _has_bits_[0] &= ~0x00000001u;
5935
0
}
5936
0
inline void RedisIndexRangePB::clear_lower_bound() {
5937
0
  if (lower_bound_ != NULL) lower_bound_->Clear();
5938
0
  clear_has_lower_bound();
5939
0
}
5940
21
inline const ::yb::RedisIndexBoundPB& RedisIndexRangePB::lower_bound() const {
5941
21
  const ::yb::RedisIndexBoundPB* p = lower_bound_;
5942
  // @@protoc_insertion_point(field_get:yb.RedisIndexRangePB.lower_bound)
5943
21
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisIndexBoundPB*>(
5944
0
      &::yb::_RedisIndexBoundPB_default_instance_);
5945
21
}
5946
0
inline ::yb::RedisIndexBoundPB* RedisIndexRangePB::release_lower_bound() {
5947
0
  // @@protoc_insertion_point(field_release:yb.RedisIndexRangePB.lower_bound)
5948
0
  clear_has_lower_bound();
5949
0
  ::yb::RedisIndexBoundPB* temp = lower_bound_;
5950
0
  lower_bound_ = NULL;
5951
0
  return temp;
5952
0
}
5953
32
inline ::yb::RedisIndexBoundPB* RedisIndexRangePB::mutable_lower_bound() {
5954
32
  set_has_lower_bound();
5955
32
  if (lower_bound_ == NULL) {
5956
32
    lower_bound_ = new ::yb::RedisIndexBoundPB;
5957
32
  }
5958
  // @@protoc_insertion_point(field_mutable:yb.RedisIndexRangePB.lower_bound)
5959
32
  return lower_bound_;
5960
32
}
5961
0
inline void RedisIndexRangePB::set_allocated_lower_bound(::yb::RedisIndexBoundPB* lower_bound) {
5962
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5963
0
  if (message_arena == NULL) {
5964
0
    delete lower_bound_;
5965
0
  }
5966
0
  if (lower_bound) {
5967
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5968
0
    if (message_arena != submessage_arena) {
5969
0
      lower_bound = ::google::protobuf::internal::GetOwnedMessage(
5970
0
          message_arena, lower_bound, submessage_arena);
5971
0
    }
5972
0
    set_has_lower_bound();
5973
0
  } else {
5974
0
    clear_has_lower_bound();
5975
0
  }
5976
0
  lower_bound_ = lower_bound;
5977
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisIndexRangePB.lower_bound)
5978
0
}
5979
5980
// optional .yb.RedisIndexBoundPB upper_bound = 2;
5981
65
inline bool RedisIndexRangePB::has_upper_bound() const {
5982
65
  return (_has_bits_[0] & 0x00000002u) != 0;
5983
65
}
5984
0
inline void RedisIndexRangePB::set_has_upper_bound() {
5985
0
  _has_bits_[0] |= 0x00000002u;
5986
0
}
5987
0
inline void RedisIndexRangePB::clear_has_upper_bound() {
5988
0
  _has_bits_[0] &= ~0x00000002u;
5989
0
}
5990
0
inline void RedisIndexRangePB::clear_upper_bound() {
5991
0
  if (upper_bound_ != NULL) upper_bound_->Clear();
5992
0
  clear_has_upper_bound();
5993
0
}
5994
0
inline const ::yb::RedisIndexBoundPB& RedisIndexRangePB::upper_bound() const {
5995
0
  const ::yb::RedisIndexBoundPB* p = upper_bound_;
5996
0
  // @@protoc_insertion_point(field_get:yb.RedisIndexRangePB.upper_bound)
5997
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisIndexBoundPB*>(
5998
0
      &::yb::_RedisIndexBoundPB_default_instance_);
5999
0
}
6000
0
inline ::yb::RedisIndexBoundPB* RedisIndexRangePB::release_upper_bound() {
6001
0
  // @@protoc_insertion_point(field_release:yb.RedisIndexRangePB.upper_bound)
6002
0
  clear_has_upper_bound();
6003
0
  ::yb::RedisIndexBoundPB* temp = upper_bound_;
6004
0
  upper_bound_ = NULL;
6005
0
  return temp;
6006
0
}
6007
0
inline ::yb::RedisIndexBoundPB* RedisIndexRangePB::mutable_upper_bound() {
6008
0
  set_has_upper_bound();
6009
0
  if (upper_bound_ == NULL) {
6010
0
    upper_bound_ = new ::yb::RedisIndexBoundPB;
6011
0
  }
6012
0
  // @@protoc_insertion_point(field_mutable:yb.RedisIndexRangePB.upper_bound)
6013
0
  return upper_bound_;
6014
0
}
6015
0
inline void RedisIndexRangePB::set_allocated_upper_bound(::yb::RedisIndexBoundPB* upper_bound) {
6016
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6017
0
  if (message_arena == NULL) {
6018
0
    delete upper_bound_;
6019
0
  }
6020
0
  if (upper_bound) {
6021
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6022
0
    if (message_arena != submessage_arena) {
6023
0
      upper_bound = ::google::protobuf::internal::GetOwnedMessage(
6024
0
          message_arena, upper_bound, submessage_arena);
6025
0
    }
6026
0
    set_has_upper_bound();
6027
0
  } else {
6028
0
    clear_has_upper_bound();
6029
0
  }
6030
0
  upper_bound_ = upper_bound;
6031
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisIndexRangePB.upper_bound)
6032
0
}
6033
6034
// -------------------------------------------------------------------
6035
6036
// RedisIndexBoundPB
6037
6038
// required int64 index = 1;
6039
22
inline bool RedisIndexBoundPB::has_index() const {
6040
22
  return (_has_bits_[0] & 0x00000001u) != 0;
6041
22
}
6042
32
inline void RedisIndexBoundPB::set_has_index() {
6043
32
  _has_bits_[0] |= 0x00000001u;
6044
32
}
6045
0
inline void RedisIndexBoundPB::clear_has_index() {
6046
0
  _has_bits_[0] &= ~0x00000001u;
6047
0
}
6048
0
inline void RedisIndexBoundPB::clear_index() {
6049
0
  index_ = GOOGLE_LONGLONG(0);
6050
0
  clear_has_index();
6051
0
}
6052
54
inline ::google::protobuf::int64 RedisIndexBoundPB::index() const {
6053
  // @@protoc_insertion_point(field_get:yb.RedisIndexBoundPB.index)
6054
54
  return index_;
6055
54
}
6056
21
inline void RedisIndexBoundPB::set_index(::google::protobuf::int64 value) {
6057
21
  set_has_index();
6058
21
  index_ = value;
6059
  // @@protoc_insertion_point(field_set:yb.RedisIndexBoundPB.index)
6060
21
}
6061
6062
// -------------------------------------------------------------------
6063
6064
// RedisSubKeyBoundPB
6065
6066
// optional .yb.RedisKeyValueSubKeyPB subkey_bound = 3;
6067
20.6k
inline bool RedisSubKeyBoundPB::has_subkey_bound() const {
6068
20.6k
  return (_has_bits_[0] & 0x00000001u) != 0;
6069
20.6k
}
6070
15.6k
inline void RedisSubKeyBoundPB::set_has_subkey_bound() {
6071
15.6k
  _has_bits_[0] |= 0x00000001u;
6072
15.6k
}
6073
0
inline void RedisSubKeyBoundPB::clear_has_subkey_bound() {
6074
0
  _has_bits_[0] &= ~0x00000001u;
6075
0
}
6076
0
inline void RedisSubKeyBoundPB::clear_subkey_bound() {
6077
0
  if (subkey_bound_ != NULL) subkey_bound_->Clear();
6078
0
  clear_has_subkey_bound();
6079
0
}
6080
10.9k
inline const ::yb::RedisKeyValueSubKeyPB& RedisSubKeyBoundPB::subkey_bound() const {
6081
10.9k
  const ::yb::RedisKeyValueSubKeyPB* p = subkey_bound_;
6082
  // @@protoc_insertion_point(field_get:yb.RedisSubKeyBoundPB.subkey_bound)
6083
10.8k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::RedisKeyValueSubKeyPB*>(
6084
108
      &::yb::_RedisKeyValueSubKeyPB_default_instance_);
6085
10.9k
}
6086
0
inline ::yb::RedisKeyValueSubKeyPB* RedisSubKeyBoundPB::release_subkey_bound() {
6087
0
  // @@protoc_insertion_point(field_release:yb.RedisSubKeyBoundPB.subkey_bound)
6088
0
  clear_has_subkey_bound();
6089
0
  ::yb::RedisKeyValueSubKeyPB* temp = subkey_bound_;
6090
0
  subkey_bound_ = NULL;
6091
0
  return temp;
6092
0
}
6093
15.6k
inline ::yb::RedisKeyValueSubKeyPB* RedisSubKeyBoundPB::mutable_subkey_bound() {
6094
15.6k
  set_has_subkey_bound();
6095
15.6k
  if (subkey_bound_ == NULL) {
6096
15.6k
    subkey_bound_ = new ::yb::RedisKeyValueSubKeyPB;
6097
15.6k
  }
6098
  // @@protoc_insertion_point(field_mutable:yb.RedisSubKeyBoundPB.subkey_bound)
6099
15.6k
  return subkey_bound_;
6100
15.6k
}
6101
0
inline void RedisSubKeyBoundPB::set_allocated_subkey_bound(::yb::RedisKeyValueSubKeyPB* subkey_bound) {
6102
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6103
0
  if (message_arena == NULL) {
6104
0
    delete subkey_bound_;
6105
0
  }
6106
0
  if (subkey_bound) {
6107
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6108
0
    if (message_arena != submessage_arena) {
6109
0
      subkey_bound = ::google::protobuf::internal::GetOwnedMessage(
6110
0
          message_arena, subkey_bound, submessage_arena);
6111
0
    }
6112
0
    set_has_subkey_bound();
6113
0
  } else {
6114
0
    clear_has_subkey_bound();
6115
0
  }
6116
0
  subkey_bound_ = subkey_bound;
6117
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisSubKeyBoundPB.subkey_bound)
6118
0
}
6119
6120
// optional .yb.RedisSubKeyBoundPB.InfinityType infinity_type = 4;
6121
31.5k
inline bool RedisSubKeyBoundPB::has_infinity_type() const {
6122
31.5k
  return (_has_bits_[0] & 0x00000004u) != 0;
6123
31.5k
}
6124
174
inline void RedisSubKeyBoundPB::set_has_infinity_type() {
6125
174
  _has_bits_[0] |= 0x00000004u;
6126
174
}
6127
0
inline void RedisSubKeyBoundPB::clear_has_infinity_type() {
6128
0
  _has_bits_[0] &= ~0x00000004u;
6129
0
}
6130
0
inline void RedisSubKeyBoundPB::clear_infinity_type() {
6131
0
  infinity_type_ = 1;
6132
0
  clear_has_infinity_type();
6133
0
}
6134
294
inline ::yb::RedisSubKeyBoundPB_InfinityType RedisSubKeyBoundPB::infinity_type() const {
6135
  // @@protoc_insertion_point(field_get:yb.RedisSubKeyBoundPB.infinity_type)
6136
294
  return static_cast< ::yb::RedisSubKeyBoundPB_InfinityType >(infinity_type_);
6137
294
}
6138
174
inline void RedisSubKeyBoundPB::set_infinity_type(::yb::RedisSubKeyBoundPB_InfinityType value) {
6139
174
  assert(::yb::RedisSubKeyBoundPB_InfinityType_IsValid(value));
6140
174
  set_has_infinity_type();
6141
174
  infinity_type_ = value;
6142
  // @@protoc_insertion_point(field_set:yb.RedisSubKeyBoundPB.infinity_type)
6143
174
}
6144
6145
// optional bool is_exclusive = 6 [default = false];
6146
9.69k
inline bool RedisSubKeyBoundPB::has_is_exclusive() const {
6147
9.69k
  return (_has_bits_[0] & 0x00000002u) != 0;
6148
9.69k
}
6149
15.6k
inline void RedisSubKeyBoundPB::set_has_is_exclusive() {
6150
15.6k
  _has_bits_[0] |= 0x00000002u;
6151
15.6k
}
6152
0
inline void RedisSubKeyBoundPB::clear_has_is_exclusive() {
6153
0
  _has_bits_[0] &= ~0x00000002u;
6154
0
}
6155
0
inline void RedisSubKeyBoundPB::clear_is_exclusive() {
6156
0
  is_exclusive_ = false;
6157
0
  clear_has_is_exclusive();
6158
0
}
6159
15.6k
inline bool RedisSubKeyBoundPB::is_exclusive() const {
6160
  // @@protoc_insertion_point(field_get:yb.RedisSubKeyBoundPB.is_exclusive)
6161
15.6k
  return is_exclusive_;
6162
15.6k
}
6163
10.8k
inline void RedisSubKeyBoundPB::set_is_exclusive(bool value) {
6164
10.8k
  set_has_is_exclusive();
6165
10.8k
  is_exclusive_ = value;
6166
  // @@protoc_insertion_point(field_set:yb.RedisSubKeyBoundPB.is_exclusive)
6167
10.8k
}
6168
6169
// -------------------------------------------------------------------
6170
6171
// RedisKeyValueSubKeyPB
6172
6173
// optional bytes string_subkey = 1;
6174
172k
inline bool RedisKeyValueSubKeyPB::has_string_subkey() const {
6175
172k
  return subkey_case() == kStringSubkey;
6176
172k
}
6177
43.0k
inline void RedisKeyValueSubKeyPB::set_has_string_subkey() {
6178
43.0k
  _oneof_case_[0] = kStringSubkey;
6179
43.0k
}
6180
0
inline void RedisKeyValueSubKeyPB::clear_string_subkey() {
6181
0
  if (has_string_subkey()) {
6182
0
    subkey_.string_subkey_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6183
0
    clear_has_subkey();
6184
0
  }
6185
0
}
6186
99.4k
inline const ::std::string& RedisKeyValueSubKeyPB::string_subkey() const {
6187
  // @@protoc_insertion_point(field_get:yb.RedisKeyValueSubKeyPB.string_subkey)
6188
99.4k
  if (has_string_subkey()) {
6189
99.4k
    return subkey_.string_subkey_.GetNoArena();
6190
99.4k
  }
6191
0
  return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
6192
0
}
6193
42
inline void RedisKeyValueSubKeyPB::set_string_subkey(const ::std::string& value) {
6194
  // @@protoc_insertion_point(field_set:yb.RedisKeyValueSubKeyPB.string_subkey)
6195
42
  if (!has_string_subkey()) {
6196
42
    clear_subkey();
6197
42
    set_has_string_subkey();
6198
42
    subkey_.string_subkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6199
42
  }
6200
42
  subkey_.string_subkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6201
  // @@protoc_insertion_point(field_set:yb.RedisKeyValueSubKeyPB.string_subkey)
6202
42
}
6203
#if LANG_CXX11
6204
29.7k
inline void RedisKeyValueSubKeyPB::set_string_subkey(::std::string&& value) {
6205
  // @@protoc_insertion_point(field_set:yb.RedisKeyValueSubKeyPB.string_subkey)
6206
29.7k
  if (!has_string_subkey()) {
6207
29.7k
    clear_subkey();
6208
29.7k
    set_has_string_subkey();
6209
29.7k
    subkey_.string_subkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6210
29.7k
  }
6211
29.7k
  subkey_.string_subkey_.SetNoArena(
6212
29.7k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6213
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisKeyValueSubKeyPB.string_subkey)
6214
29.7k
}
6215
#endif
6216
0
inline void RedisKeyValueSubKeyPB::set_string_subkey(const char* value) {
6217
0
  GOOGLE_DCHECK(value != NULL);
6218
0
  if (!has_string_subkey()) {
6219
0
    clear_subkey();
6220
0
    set_has_string_subkey();
6221
0
    subkey_.string_subkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6222
0
  }
6223
0
  subkey_.string_subkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6224
0
      ::std::string(value));
6225
0
  // @@protoc_insertion_point(field_set_char:yb.RedisKeyValueSubKeyPB.string_subkey)
6226
0
}
6227
0
inline void RedisKeyValueSubKeyPB::set_string_subkey(const void* value, size_t size) {
6228
0
  if (!has_string_subkey()) {
6229
0
    clear_subkey();
6230
0
    set_has_string_subkey();
6231
0
    subkey_.string_subkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6232
0
  }
6233
0
  subkey_.string_subkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
6234
0
      reinterpret_cast<const char*>(value), size));
6235
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisKeyValueSubKeyPB.string_subkey)
6236
0
}
6237
13.3k
inline ::std::string* RedisKeyValueSubKeyPB::mutable_string_subkey() {
6238
13.3k
  if (!has_string_subkey()) {
6239
13.3k
    clear_subkey();
6240
13.3k
    set_has_string_subkey();
6241
13.3k
    subkey_.string_subkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6242
13.3k
  }
6243
  // @@protoc_insertion_point(field_mutable:yb.RedisKeyValueSubKeyPB.string_subkey)
6244
13.3k
  return subkey_.string_subkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6245
13.3k
}
6246
0
inline ::std::string* RedisKeyValueSubKeyPB::release_string_subkey() {
6247
0
  // @@protoc_insertion_point(field_release:yb.RedisKeyValueSubKeyPB.string_subkey)
6248
0
  if (has_string_subkey()) {
6249
0
    clear_has_subkey();
6250
0
    return subkey_.string_subkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6251
0
  } else {
6252
0
    return NULL;
6253
0
  }
6254
0
}
6255
0
inline void RedisKeyValueSubKeyPB::set_allocated_string_subkey(::std::string* string_subkey) {
6256
0
  if (!has_string_subkey()) {
6257
0
    subkey_.string_subkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6258
0
  }
6259
0
  clear_subkey();
6260
0
  if (string_subkey != NULL) {
6261
0
    set_has_string_subkey();
6262
0
    subkey_.string_subkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6263
0
        string_subkey);
6264
0
  }
6265
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisKeyValueSubKeyPB.string_subkey)
6266
0
}
6267
6268
// optional int64 timestamp_subkey = 2;
6269
138k
inline bool RedisKeyValueSubKeyPB::has_timestamp_subkey() const {
6270
138k
  return subkey_case() == kTimestampSubkey;
6271
138k
}
6272
48.7k
inline void RedisKeyValueSubKeyPB::set_has_timestamp_subkey() {
6273
48.7k
  _oneof_case_[0] = kTimestampSubkey;
6274
48.7k
}
6275
0
inline void RedisKeyValueSubKeyPB::clear_timestamp_subkey() {
6276
0
  if (has_timestamp_subkey()) {
6277
0
    subkey_.timestamp_subkey_ = GOOGLE_LONGLONG(0);
6278
0
    clear_has_subkey();
6279
0
  }
6280
0
}
6281
85.2k
inline ::google::protobuf::int64 RedisKeyValueSubKeyPB::timestamp_subkey() const {
6282
  // @@protoc_insertion_point(field_get:yb.RedisKeyValueSubKeyPB.timestamp_subkey)
6283
85.2k
  if (has_timestamp_subkey()) {
6284
85.2k
    return subkey_.timestamp_subkey_;
6285
85.2k
  }
6286
42
  return GOOGLE_LONGLONG(0);
6287
42
}
6288
38.0k
inline void RedisKeyValueSubKeyPB::set_timestamp_subkey(::google::protobuf::int64 value) {
6289
38.0k
  if (!has_timestamp_subkey()) {
6290
38.0k
    clear_subkey();
6291
38.0k
    set_has_timestamp_subkey();
6292
38.0k
  }
6293
38.0k
  subkey_.timestamp_subkey_ = value;
6294
  // @@protoc_insertion_point(field_set:yb.RedisKeyValueSubKeyPB.timestamp_subkey)
6295
38.0k
}
6296
6297
// optional double double_subkey = 3;
6298
25.8k
inline bool RedisKeyValueSubKeyPB::has_double_subkey() const {
6299
25.8k
  return subkey_case() == kDoubleSubkey;
6300
25.8k
}
6301
15.2k
inline void RedisKeyValueSubKeyPB::set_has_double_subkey() {
6302
15.2k
  _oneof_case_[0] = kDoubleSubkey;
6303
15.2k
}
6304
0
inline void RedisKeyValueSubKeyPB::clear_double_subkey() {
6305
0
  if (has_double_subkey()) {
6306
0
    subkey_.double_subkey_ = 0;
6307
0
    clear_has_subkey();
6308
0
  }
6309
0
}
6310
15.2k
inline double RedisKeyValueSubKeyPB::double_subkey() const {
6311
  // @@protoc_insertion_point(field_get:yb.RedisKeyValueSubKeyPB.double_subkey)
6312
15.2k
  if (has_double_subkey()) {
6313
15.2k
    return subkey_.double_subkey_;
6314
15.2k
  }
6315
66
  return 0;
6316
66
}
6317
10.5k
inline void RedisKeyValueSubKeyPB::set_double_subkey(double value) {
6318
10.5k
  if (!has_double_subkey()) {
6319
10.5k
    clear_subkey();
6320
10.5k
    set_has_double_subkey();
6321
10.5k
  }
6322
10.5k
  subkey_.double_subkey_ = value;
6323
  // @@protoc_insertion_point(field_set:yb.RedisKeyValueSubKeyPB.double_subkey)
6324
10.5k
}
6325
6326
106k
inline bool RedisKeyValueSubKeyPB::has_subkey() const {
6327
106k
  return subkey_case() != SUBKEY_NOT_SET;
6328
106k
}
6329
124k
inline void RedisKeyValueSubKeyPB::clear_has_subkey() {
6330
124k
  _oneof_case_[0] = SUBKEY_NOT_SET;
6331
124k
}
6332
855k
inline RedisKeyValueSubKeyPB::SubkeyCase RedisKeyValueSubKeyPB::subkey_case() const {
6333
855k
  return RedisKeyValueSubKeyPB::SubkeyCase(_oneof_case_[0]);
6334
855k
}
6335
// -------------------------------------------------------------------
6336
6337
// RedisKeyValuePB
6338
6339
// optional uint32 hash_code = 1;
6340
125k
inline bool RedisKeyValuePB::has_hash_code() const {
6341
125k
  return (_has_bits_[0] & 0x00000002u) != 0;
6342
125k
}
6343
136k
inline void RedisKeyValuePB::set_has_hash_code() {
6344
136k
  _has_bits_[0] |= 0x00000002u;
6345
136k
}
6346
0
inline void RedisKeyValuePB::clear_has_hash_code() {
6347
0
  _has_bits_[0] &= ~0x00000002u;
6348
0
}
6349
0
inline void RedisKeyValuePB::clear_hash_code() {
6350
0
  hash_code_ = 0u;
6351
0
  clear_has_hash_code();
6352
0
}
6353
403k
inline ::google::protobuf::uint32 RedisKeyValuePB::hash_code() const {
6354
  // @@protoc_insertion_point(field_get:yb.RedisKeyValuePB.hash_code)
6355
403k
  return hash_code_;
6356
403k
}
6357
104k
inline void RedisKeyValuePB::set_hash_code(::google::protobuf::uint32 value) {
6358
104k
  set_has_hash_code();
6359
104k
  hash_code_ = value;
6360
  // @@protoc_insertion_point(field_set:yb.RedisKeyValuePB.hash_code)
6361
104k
}
6362
6363
// optional bytes key = 2;
6364
354k
inline bool RedisKeyValuePB::has_key() const {
6365
354k
  return (_has_bits_[0] & 0x00000001u) != 0;
6366
354k
}
6367
135k
inline void RedisKeyValuePB::set_has_key() {
6368
135k
  _has_bits_[0] |= 0x00000001u;
6369
135k
}
6370
0
inline void RedisKeyValuePB::clear_has_key() {
6371
0
  _has_bits_[0] &= ~0x00000001u;
6372
0
}
6373
0
inline void RedisKeyValuePB::clear_key() {
6374
0
  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6375
0
  clear_has_key();
6376
0
}
6377
776k
inline const ::std::string& RedisKeyValuePB::key() const {
6378
  // @@protoc_insertion_point(field_get:yb.RedisKeyValuePB.key)
6379
776k
  return key_.GetNoArena();
6380
776k
}
6381
0
inline void RedisKeyValuePB::set_key(const ::std::string& value) {
6382
0
  set_has_key();
6383
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6384
0
  // @@protoc_insertion_point(field_set:yb.RedisKeyValuePB.key)
6385
0
}
6386
#if LANG_CXX11
6387
5.47k
inline void RedisKeyValuePB::set_key(::std::string&& value) {
6388
5.47k
  set_has_key();
6389
5.47k
  key_.SetNoArena(
6390
5.47k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6391
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisKeyValuePB.key)
6392
5.47k
}
6393
#endif
6394
0
inline void RedisKeyValuePB::set_key(const char* value) {
6395
0
  GOOGLE_DCHECK(value != NULL);
6396
0
  set_has_key();
6397
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6398
0
  // @@protoc_insertion_point(field_set_char:yb.RedisKeyValuePB.key)
6399
0
}
6400
98.7k
inline void RedisKeyValuePB::set_key(const void* value, size_t size) {
6401
98.7k
  set_has_key();
6402
98.7k
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6403
98.7k
      ::std::string(reinterpret_cast<const char*>(value), size));
6404
  // @@protoc_insertion_point(field_set_pointer:yb.RedisKeyValuePB.key)
6405
98.7k
}
6406
31.5k
inline ::std::string* RedisKeyValuePB::mutable_key() {
6407
31.5k
  set_has_key();
6408
  // @@protoc_insertion_point(field_mutable:yb.RedisKeyValuePB.key)
6409
31.5k
  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6410
31.5k
}
6411
0
inline ::std::string* RedisKeyValuePB::release_key() {
6412
0
  // @@protoc_insertion_point(field_release:yb.RedisKeyValuePB.key)
6413
0
  clear_has_key();
6414
0
  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6415
0
}
6416
0
inline void RedisKeyValuePB::set_allocated_key(::std::string* key) {
6417
0
  if (key != NULL) {
6418
0
    set_has_key();
6419
0
  } else {
6420
0
    clear_has_key();
6421
0
  }
6422
0
  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
6423
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisKeyValuePB.key)
6424
0
}
6425
6426
// optional .yb.RedisDataType type = 3 [default = REDIS_TYPE_NONE];
6427
125k
inline bool RedisKeyValuePB::has_type() const {
6428
125k
  return (_has_bits_[0] & 0x00000008u) != 0;
6429
125k
}
6430
82.9k
inline void RedisKeyValuePB::set_has_type() {
6431
82.9k
  _has_bits_[0] |= 0x00000008u;
6432
82.9k
}
6433
0
inline void RedisKeyValuePB::clear_has_type() {
6434
0
  _has_bits_[0] &= ~0x00000008u;
6435
0
}
6436
0
inline void RedisKeyValuePB::clear_type() {
6437
0
  type_ = 1;
6438
0
  clear_has_type();
6439
0
}
6440
272k
inline ::yb::RedisDataType RedisKeyValuePB::type() const {
6441
  // @@protoc_insertion_point(field_get:yb.RedisKeyValuePB.type)
6442
272k
  return static_cast< ::yb::RedisDataType >(type_);
6443
272k
}
6444
82.9k
inline void RedisKeyValuePB::set_type(::yb::RedisDataType value) {
6445
82.9k
  assert(::yb::RedisDataType_IsValid(value));
6446
82.9k
  set_has_type();
6447
82.9k
  type_ = value;
6448
  // @@protoc_insertion_point(field_set:yb.RedisKeyValuePB.type)
6449
82.9k
}
6450
6451
// repeated .yb.RedisKeyValueSubKeyPB subkey = 4;
6452
304k
inline int RedisKeyValuePB::subkey_size() const {
6453
304k
  return subkey_.size();
6454
304k
}
6455
0
inline void RedisKeyValuePB::clear_subkey() {
6456
0
  subkey_.Clear();
6457
0
}
6458
183k
inline const ::yb::RedisKeyValueSubKeyPB& RedisKeyValuePB::subkey(int index) const {
6459
  // @@protoc_insertion_point(field_get:yb.RedisKeyValuePB.subkey)
6460
183k
  return subkey_.Get(index);
6461
183k
}
6462
0
inline ::yb::RedisKeyValueSubKeyPB* RedisKeyValuePB::mutable_subkey(int index) {
6463
0
  // @@protoc_insertion_point(field_mutable:yb.RedisKeyValuePB.subkey)
6464
0
  return subkey_.Mutable(index);
6465
0
}
6466
79.8k
inline ::yb::RedisKeyValueSubKeyPB* RedisKeyValuePB::add_subkey() {
6467
  // @@protoc_insertion_point(field_add:yb.RedisKeyValuePB.subkey)
6468
79.8k
  return subkey_.Add();
6469
79.8k
}
6470
inline ::google::protobuf::RepeatedPtrField< ::yb::RedisKeyValueSubKeyPB >*
6471
27
RedisKeyValuePB::mutable_subkey() {
6472
  // @@protoc_insertion_point(field_mutable_list:yb.RedisKeyValuePB.subkey)
6473
27
  return &subkey_;
6474
27
}
6475
inline const ::google::protobuf::RepeatedPtrField< ::yb::RedisKeyValueSubKeyPB >&
6476
37.8k
RedisKeyValuePB::subkey() const {
6477
  // @@protoc_insertion_point(field_list:yb.RedisKeyValuePB.subkey)
6478
37.8k
  return subkey_;
6479
37.8k
}
6480
6481
// optional int32 index = 5;
6482
125k
inline bool RedisKeyValuePB::has_index() const {
6483
125k
  return (_has_bits_[0] & 0x00000004u) != 0;
6484
125k
}
6485
0
inline void RedisKeyValuePB::set_has_index() {
6486
0
  _has_bits_[0] |= 0x00000004u;
6487
0
}
6488
0
inline void RedisKeyValuePB::clear_has_index() {
6489
0
  _has_bits_[0] &= ~0x00000004u;
6490
0
}
6491
0
inline void RedisKeyValuePB::clear_index() {
6492
0
  index_ = 0;
6493
0
  clear_has_index();
6494
0
}
6495
0
inline ::google::protobuf::int32 RedisKeyValuePB::index() const {
6496
0
  // @@protoc_insertion_point(field_get:yb.RedisKeyValuePB.index)
6497
0
  return index_;
6498
0
}
6499
0
inline void RedisKeyValuePB::set_index(::google::protobuf::int32 value) {
6500
0
  set_has_index();
6501
0
  index_ = value;
6502
0
  // @@protoc_insertion_point(field_set:yb.RedisKeyValuePB.index)
6503
0
}
6504
6505
// repeated bytes value = 6;
6506
323k
inline int RedisKeyValuePB::value_size() const {
6507
323k
  return value_.size();
6508
323k
}
6509
0
inline void RedisKeyValuePB::clear_value() {
6510
0
  value_.Clear();
6511
0
}
6512
320k
inline const ::std::string& RedisKeyValuePB::value(int index) const {
6513
  // @@protoc_insertion_point(field_get:yb.RedisKeyValuePB.value)
6514
320k
  return value_.Get(index);
6515
320k
}
6516
0
inline ::std::string* RedisKeyValuePB::mutable_value(int index) {
6517
0
  // @@protoc_insertion_point(field_mutable:yb.RedisKeyValuePB.value)
6518
0
  return value_.Mutable(index);
6519
0
}
6520
0
inline void RedisKeyValuePB::set_value(int index, const ::std::string& value) {
6521
0
  // @@protoc_insertion_point(field_set:yb.RedisKeyValuePB.value)
6522
0
  value_.Mutable(index)->assign(value);
6523
0
}
6524
#if LANG_CXX11
6525
0
inline void RedisKeyValuePB::set_value(int index, ::std::string&& value) {
6526
0
  // @@protoc_insertion_point(field_set:yb.RedisKeyValuePB.value)
6527
0
  value_.Mutable(index)->assign(std::move(value));
6528
0
}
6529
#endif
6530
0
inline void RedisKeyValuePB::set_value(int index, const char* value) {
6531
0
  GOOGLE_DCHECK(value != NULL);
6532
0
  value_.Mutable(index)->assign(value);
6533
0
  // @@protoc_insertion_point(field_set_char:yb.RedisKeyValuePB.value)
6534
0
}
6535
0
inline void RedisKeyValuePB::set_value(int index, const void* value, size_t size) {
6536
0
  value_.Mutable(index)->assign(
6537
0
    reinterpret_cast<const char*>(value), size);
6538
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisKeyValuePB.value)
6539
0
}
6540
35.7k
inline ::std::string* RedisKeyValuePB::add_value() {
6541
  // @@protoc_insertion_point(field_add_mutable:yb.RedisKeyValuePB.value)
6542
35.7k
  return value_.Add();
6543
35.7k
}
6544
55.0k
inline void RedisKeyValuePB::add_value(const ::std::string& value) {
6545
55.0k
  value_.Add()->assign(value);
6546
  // @@protoc_insertion_point(field_add:yb.RedisKeyValuePB.value)
6547
55.0k
}
6548
#if LANG_CXX11
6549
0
inline void RedisKeyValuePB::add_value(::std::string&& value) {
6550
0
  value_.Add(std::move(value));
6551
0
  // @@protoc_insertion_point(field_add:yb.RedisKeyValuePB.value)
6552
0
}
6553
#endif
6554
0
inline void RedisKeyValuePB::add_value(const char* value) {
6555
0
  GOOGLE_DCHECK(value != NULL);
6556
0
  value_.Add()->assign(value);
6557
0
  // @@protoc_insertion_point(field_add_char:yb.RedisKeyValuePB.value)
6558
0
}
6559
40.9k
inline void RedisKeyValuePB::add_value(const void* value, size_t size) {
6560
40.9k
  value_.Add()->assign(reinterpret_cast<const char*>(value), size);
6561
  // @@protoc_insertion_point(field_add_pointer:yb.RedisKeyValuePB.value)
6562
40.9k
}
6563
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
6564
0
RedisKeyValuePB::value() const {
6565
0
  // @@protoc_insertion_point(field_list:yb.RedisKeyValuePB.value)
6566
0
  return value_;
6567
0
}
6568
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
6569
0
RedisKeyValuePB::mutable_value() {
6570
0
  // @@protoc_insertion_point(field_mutable_list:yb.RedisKeyValuePB.value)
6571
0
  return &value_;
6572
0
}
6573
6574
// -------------------------------------------------------------------
6575
6576
// SortedSetOptionsPB
6577
6578
// optional .yb.SortedSetOptionsPB.UpdateOptions update_options = 4 [default = NONE];
6579
0
inline bool SortedSetOptionsPB::has_update_options() const {
6580
0
  return (_has_bits_[0] & 0x00000004u) != 0;
6581
0
}
6582
0
inline void SortedSetOptionsPB::set_has_update_options() {
6583
0
  _has_bits_[0] |= 0x00000004u;
6584
0
}
6585
0
inline void SortedSetOptionsPB::clear_has_update_options() {
6586
0
  _has_bits_[0] &= ~0x00000004u;
6587
0
}
6588
0
inline void SortedSetOptionsPB::clear_update_options() {
6589
0
  update_options_ = 3;
6590
0
  clear_has_update_options();
6591
0
}
6592
10.5k
inline ::yb::SortedSetOptionsPB_UpdateOptions SortedSetOptionsPB::update_options() const {
6593
  // @@protoc_insertion_point(field_get:yb.SortedSetOptionsPB.update_options)
6594
10.5k
  return static_cast< ::yb::SortedSetOptionsPB_UpdateOptions >(update_options_);
6595
10.5k
}
6596
0
inline void SortedSetOptionsPB::set_update_options(::yb::SortedSetOptionsPB_UpdateOptions value) {
6597
0
  assert(::yb::SortedSetOptionsPB_UpdateOptions_IsValid(value));
6598
0
  set_has_update_options();
6599
0
  update_options_ = value;
6600
0
  // @@protoc_insertion_point(field_set:yb.SortedSetOptionsPB.update_options)
6601
0
}
6602
6603
// optional bool ch = 5 [default = false];
6604
0
inline bool SortedSetOptionsPB::has_ch() const {
6605
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6606
0
}
6607
0
inline void SortedSetOptionsPB::set_has_ch() {
6608
0
  _has_bits_[0] |= 0x00000001u;
6609
0
}
6610
0
inline void SortedSetOptionsPB::clear_has_ch() {
6611
0
  _has_bits_[0] &= ~0x00000001u;
6612
0
}
6613
0
inline void SortedSetOptionsPB::clear_ch() {
6614
0
  ch_ = false;
6615
0
  clear_has_ch();
6616
0
}
6617
0
inline bool SortedSetOptionsPB::ch() const {
6618
0
  // @@protoc_insertion_point(field_get:yb.SortedSetOptionsPB.ch)
6619
0
  return ch_;
6620
0
}
6621
0
inline void SortedSetOptionsPB::set_ch(bool value) {
6622
0
  set_has_ch();
6623
0
  ch_ = value;
6624
0
  // @@protoc_insertion_point(field_set:yb.SortedSetOptionsPB.ch)
6625
0
}
6626
6627
// optional bool incr = 6 [default = false];
6628
0
inline bool SortedSetOptionsPB::has_incr() const {
6629
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6630
0
}
6631
0
inline void SortedSetOptionsPB::set_has_incr() {
6632
0
  _has_bits_[0] |= 0x00000002u;
6633
0
}
6634
0
inline void SortedSetOptionsPB::clear_has_incr() {
6635
0
  _has_bits_[0] &= ~0x00000002u;
6636
0
}
6637
0
inline void SortedSetOptionsPB::clear_incr() {
6638
0
  incr_ = false;
6639
0
  clear_has_incr();
6640
0
}
6641
21.0k
inline bool SortedSetOptionsPB::incr() const {
6642
  // @@protoc_insertion_point(field_get:yb.SortedSetOptionsPB.incr)
6643
21.0k
  return incr_;
6644
21.0k
}
6645
0
inline void SortedSetOptionsPB::set_incr(bool value) {
6646
0
  set_has_incr();
6647
0
  incr_ = value;
6648
0
  // @@protoc_insertion_point(field_set:yb.SortedSetOptionsPB.incr)
6649
0
}
6650
6651
// -------------------------------------------------------------------
6652
6653
// RedisSetRequestPB
6654
6655
// optional bool expect_ok_response = 1 [default = false];
6656
100k
inline bool RedisSetRequestPB::has_expect_ok_response() const {
6657
100k
  return (_has_bits_[0] & 0x00000002u) != 0;
6658
100k
}
6659
14.3k
inline void RedisSetRequestPB::set_has_expect_ok_response() {
6660
14.3k
  _has_bits_[0] |= 0x00000002u;
6661
14.3k
}
6662
0
inline void RedisSetRequestPB::clear_has_expect_ok_response() {
6663
0
  _has_bits_[0] &= ~0x00000002u;
6664
0
}
6665
0
inline void RedisSetRequestPB::clear_expect_ok_response() {
6666
0
  expect_ok_response_ = false;
6667
0
  clear_has_expect_ok_response();
6668
0
}
6669
14.3k
inline bool RedisSetRequestPB::expect_ok_response() const {
6670
  // @@protoc_insertion_point(field_get:yb.RedisSetRequestPB.expect_ok_response)
6671
14.3k
  return expect_ok_response_;
6672
14.3k
}
6673
9.90k
inline void RedisSetRequestPB::set_expect_ok_response(bool value) {
6674
9.90k
  set_has_expect_ok_response();
6675
9.90k
  expect_ok_response_ = value;
6676
  // @@protoc_insertion_point(field_set:yb.RedisSetRequestPB.expect_ok_response)
6677
9.90k
}
6678
6679
// optional int64 ttl = 2 [default = -1];
6680
100k
inline bool RedisSetRequestPB::has_ttl() const {
6681
100k
  return (_has_bits_[0] & 0x00000008u) != 0;
6682
100k
}
6683
52
inline void RedisSetRequestPB::set_has_ttl() {
6684
52
  _has_bits_[0] |= 0x00000008u;
6685
52
}
6686
0
inline void RedisSetRequestPB::clear_has_ttl() {
6687
0
  _has_bits_[0] &= ~0x00000008u;
6688
0
}
6689
0
inline void RedisSetRequestPB::clear_ttl() {
6690
0
  ttl_ = GOOGLE_LONGLONG(-1);
6691
0
  clear_has_ttl();
6692
0
}
6693
120
inline ::google::protobuf::int64 RedisSetRequestPB::ttl() const {
6694
  // @@protoc_insertion_point(field_get:yb.RedisSetRequestPB.ttl)
6695
120
  return ttl_;
6696
120
}
6697
36
inline void RedisSetRequestPB::set_ttl(::google::protobuf::int64 value) {
6698
36
  set_has_ttl();
6699
36
  ttl_ = value;
6700
  // @@protoc_insertion_point(field_set:yb.RedisSetRequestPB.ttl)
6701
36
}
6702
6703
// optional .yb.RedisWriteMode mode = 3 [default = REDIS_WRITEMODE_UPSERT];
6704
38.6k
inline bool RedisSetRequestPB::has_mode() const {
6705
38.6k
  return (_has_bits_[0] & 0x00000004u) != 0;
6706
38.6k
}
6707
48
inline void RedisSetRequestPB::set_has_mode() {
6708
48
  _has_bits_[0] |= 0x00000004u;
6709
48
}
6710
0
inline void RedisSetRequestPB::clear_has_mode() {
6711
0
  _has_bits_[0] &= ~0x00000004u;
6712
0
}
6713
0
inline void RedisSetRequestPB::clear_mode() {
6714
0
  mode_ = 1;
6715
0
  clear_has_mode();
6716
0
}
6717
41.0k
inline ::yb::RedisWriteMode RedisSetRequestPB::mode() const {
6718
  // @@protoc_insertion_point(field_get:yb.RedisSetRequestPB.mode)
6719
41.0k
  return static_cast< ::yb::RedisWriteMode >(mode_);
6720
41.0k
}
6721
48
inline void RedisSetRequestPB::set_mode(::yb::RedisWriteMode value) {
6722
48
  assert(::yb::RedisWriteMode_IsValid(value));
6723
48
  set_has_mode();
6724
48
  mode_ = value;
6725
  // @@protoc_insertion_point(field_set:yb.RedisSetRequestPB.mode)
6726
48
}
6727
6728
// optional .yb.SortedSetOptionsPB sorted_set_options = 14;
6729
38.6k
inline bool RedisSetRequestPB::has_sorted_set_options() const {
6730
38.6k
  return (_has_bits_[0] & 0x00000001u) != 0;
6731
38.6k
}
6732
15.1k
inline void RedisSetRequestPB::set_has_sorted_set_options() {
6733
15.1k
  _has_bits_[0] |= 0x00000001u;
6734
15.1k
}
6735
0
inline void RedisSetRequestPB::clear_has_sorted_set_options() {
6736
0
  _has_bits_[0] &= ~0x00000001u;
6737
0
}
6738
0
inline void RedisSetRequestPB::clear_sorted_set_options() {
6739
0
  if (sorted_set_options_ != NULL) sorted_set_options_->Clear();
6740
0
  clear_has_sorted_set_options();
6741
0
}
6742
31.5k
inline const ::yb::SortedSetOptionsPB& RedisSetRequestPB::sorted_set_options() const {
6743
31.5k
  const ::yb::SortedSetOptionsPB* p = sorted_set_options_;
6744
  // @@protoc_insertion_point(field_get:yb.RedisSetRequestPB.sorted_set_options)
6745
31.5k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::SortedSetOptionsPB*>(
6746
0
      &::yb::_SortedSetOptionsPB_default_instance_);
6747
31.5k
}
6748
0
inline ::yb::SortedSetOptionsPB* RedisSetRequestPB::release_sorted_set_options() {
6749
0
  // @@protoc_insertion_point(field_release:yb.RedisSetRequestPB.sorted_set_options)
6750
0
  clear_has_sorted_set_options();
6751
0
  ::yb::SortedSetOptionsPB* temp = sorted_set_options_;
6752
0
  sorted_set_options_ = NULL;
6753
0
  return temp;
6754
0
}
6755
15.1k
inline ::yb::SortedSetOptionsPB* RedisSetRequestPB::mutable_sorted_set_options() {
6756
15.1k
  set_has_sorted_set_options();
6757
15.1k
  if (sorted_set_options_ == NULL) {
6758
15.1k
    sorted_set_options_ = new ::yb::SortedSetOptionsPB;
6759
15.1k
  }
6760
  // @@protoc_insertion_point(field_mutable:yb.RedisSetRequestPB.sorted_set_options)
6761
15.1k
  return sorted_set_options_;
6762
15.1k
}
6763
0
inline void RedisSetRequestPB::set_allocated_sorted_set_options(::yb::SortedSetOptionsPB* sorted_set_options) {
6764
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6765
0
  if (message_arena == NULL) {
6766
0
    delete sorted_set_options_;
6767
0
  }
6768
0
  if (sorted_set_options) {
6769
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6770
0
    if (message_arena != submessage_arena) {
6771
0
      sorted_set_options = ::google::protobuf::internal::GetOwnedMessage(
6772
0
          message_arena, sorted_set_options, submessage_arena);
6773
0
    }
6774
0
    set_has_sorted_set_options();
6775
0
  } else {
6776
0
    clear_has_sorted_set_options();
6777
0
  }
6778
0
  sorted_set_options_ = sorted_set_options;
6779
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisSetRequestPB.sorted_set_options)
6780
0
}
6781
6782
// -------------------------------------------------------------------
6783
6784
// RedisGetRequestPB
6785
6786
// optional .yb.RedisGetRequestPB.GetRequestType request_type = 1 [default = GET];
6787
52.2k
inline bool RedisGetRequestPB::has_request_type() const {
6788
52.2k
  return (_has_bits_[0] & 0x00000001u) != 0;
6789
52.2k
}
6790
81.7k
inline void RedisGetRequestPB::set_has_request_type() {
6791
81.7k
  _has_bits_[0] |= 0x00000001u;
6792
81.7k
}
6793
0
inline void RedisGetRequestPB::clear_has_request_type() {
6794
0
  _has_bits_[0] &= ~0x00000001u;
6795
0
}
6796
0
inline void RedisGetRequestPB::clear_request_type() {
6797
0
  request_type_ = 1;
6798
0
  clear_has_request_type();
6799
0
}
6800
96.8k
inline ::yb::RedisGetRequestPB_GetRequestType RedisGetRequestPB::request_type() const {
6801
  // @@protoc_insertion_point(field_get:yb.RedisGetRequestPB.request_type)
6802
96.8k
  return static_cast< ::yb::RedisGetRequestPB_GetRequestType >(request_type_);
6803
96.8k
}
6804
81.7k
inline void RedisGetRequestPB::set_request_type(::yb::RedisGetRequestPB_GetRequestType value) {
6805
81.7k
  assert(::yb::RedisGetRequestPB_GetRequestType_IsValid(value));
6806
81.7k
  set_has_request_type();
6807
81.7k
  request_type_ = value;
6808
  // @@protoc_insertion_point(field_set:yb.RedisGetRequestPB.request_type)
6809
81.7k
}
6810
6811
// -------------------------------------------------------------------
6812
6813
// RedisCollectionGetRangeRequestPB
6814
6815
// optional .yb.RedisCollectionGetRangeRequestPB.GetRangeRequestType request_type = 1 [default = TSRANGEBYTIME];
6816
4.84k
inline bool RedisCollectionGetRangeRequestPB::has_request_type() const {
6817
4.84k
  return (_has_bits_[0] & 0x00000002u) != 0;
6818
4.84k
}
6819
7.90k
inline void RedisCollectionGetRangeRequestPB::set_has_request_type() {
6820
7.90k
  _has_bits_[0] |= 0x00000002u;
6821
7.90k
}
6822
0
inline void RedisCollectionGetRangeRequestPB::clear_has_request_type() {
6823
0
  _has_bits_[0] &= ~0x00000002u;
6824
0
}
6825
0
inline void RedisCollectionGetRangeRequestPB::clear_request_type() {
6826
0
  request_type_ = 1;
6827
0
  clear_has_request_type();
6828
0
}
6829
12.7k
inline ::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType RedisCollectionGetRangeRequestPB::request_type() const {
6830
  // @@protoc_insertion_point(field_get:yb.RedisCollectionGetRangeRequestPB.request_type)
6831
12.7k
  return static_cast< ::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType >(request_type_);
6832
12.7k
}
6833
7.90k
inline void RedisCollectionGetRangeRequestPB::set_request_type(::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType value) {
6834
7.90k
  assert(::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType_IsValid(value));
6835
7.90k
  set_has_request_type();
6836
7.90k
  request_type_ = value;
6837
  // @@protoc_insertion_point(field_set:yb.RedisCollectionGetRangeRequestPB.request_type)
6838
7.90k
}
6839
6840
// optional bool with_scores = 2 [default = false];
6841
4.84k
inline bool RedisCollectionGetRangeRequestPB::has_with_scores() const {
6842
4.84k
  return (_has_bits_[0] & 0x00000001u) != 0;
6843
4.84k
}
6844
15
inline void RedisCollectionGetRangeRequestPB::set_has_with_scores() {
6845
15
  _has_bits_[0] |= 0x00000001u;
6846
15
}
6847
0
inline void RedisCollectionGetRangeRequestPB::clear_has_with_scores() {
6848
0
  _has_bits_[0] &= ~0x00000001u;
6849
0
}
6850
0
inline void RedisCollectionGetRangeRequestPB::clear_with_scores() {
6851
0
  with_scores_ = false;
6852
0
  clear_has_with_scores();
6853
0
}
6854
5.48k
inline bool RedisCollectionGetRangeRequestPB::with_scores() const {
6855
  // @@protoc_insertion_point(field_get:yb.RedisCollectionGetRangeRequestPB.with_scores)
6856
5.48k
  return with_scores_;
6857
5.48k
}
6858
9
inline void RedisCollectionGetRangeRequestPB::set_with_scores(bool value) {
6859
9
  set_has_with_scores();
6860
9
  with_scores_ = value;
6861
  // @@protoc_insertion_point(field_set:yb.RedisCollectionGetRangeRequestPB.with_scores)
6862
9
}
6863
6864
// -------------------------------------------------------------------
6865
6866
// RedisNoOpRequestPB
6867
6868
// -------------------------------------------------------------------
6869
6870
// RedisSetTtlRequestPB
6871
6872
// optional int64 ttl = 1 [default = -1];
6873
228
inline bool RedisSetTtlRequestPB::has_ttl() const {
6874
228
  return expiration_case() == kTtl;
6875
228
}
6876
73
inline void RedisSetTtlRequestPB::set_has_ttl() {
6877
73
  _oneof_case_[0] = kTtl;
6878
73
}
6879
0
inline void RedisSetTtlRequestPB::clear_ttl() {
6880
0
  if (has_ttl()) {
6881
0
    expiration_.ttl_ = GOOGLE_LONGLONG(-1);
6882
0
    clear_has_expiration();
6883
0
  }
6884
0
}
6885
180
inline ::google::protobuf::int64 RedisSetTtlRequestPB::ttl() const {
6886
  // @@protoc_insertion_point(field_get:yb.RedisSetTtlRequestPB.ttl)
6887
180
  if (has_ttl()) {
6888
180
    return expiration_.ttl_;
6889
180
  }
6890
0
  return GOOGLE_LONGLONG(-1);
6891
0
}
6892
48
inline void RedisSetTtlRequestPB::set_ttl(::google::protobuf::int64 value) {
6893
48
  if (!has_ttl()) {
6894
48
    clear_expiration();
6895
48
    set_has_ttl();
6896
48
  }
6897
48
  expiration_.ttl_ = value;
6898
  // @@protoc_insertion_point(field_set:yb.RedisSetTtlRequestPB.ttl)
6899
48
}
6900
6901
// optional int64 absolute_time = 2;
6902
48
inline bool RedisSetTtlRequestPB::has_absolute_time() const {
6903
48
  return expiration_case() == kAbsoluteTime;
6904
48
}
6905
0
inline void RedisSetTtlRequestPB::set_has_absolute_time() {
6906
0
  _oneof_case_[0] = kAbsoluteTime;
6907
0
}
6908
0
inline void RedisSetTtlRequestPB::clear_absolute_time() {
6909
0
  if (has_absolute_time()) {
6910
0
    expiration_.absolute_time_ = GOOGLE_LONGLONG(0);
6911
0
    clear_has_expiration();
6912
0
  }
6913
0
}
6914
0
inline ::google::protobuf::int64 RedisSetTtlRequestPB::absolute_time() const {
6915
0
  // @@protoc_insertion_point(field_get:yb.RedisSetTtlRequestPB.absolute_time)
6916
0
  if (has_absolute_time()) {
6917
0
    return expiration_.absolute_time_;
6918
0
  }
6919
0
  return GOOGLE_LONGLONG(0);
6920
0
}
6921
0
inline void RedisSetTtlRequestPB::set_absolute_time(::google::protobuf::int64 value) {
6922
0
  if (!has_absolute_time()) {
6923
0
    clear_expiration();
6924
0
    set_has_absolute_time();
6925
0
  }
6926
0
  expiration_.absolute_time_ = value;
6927
0
  // @@protoc_insertion_point(field_set:yb.RedisSetTtlRequestPB.absolute_time)
6928
0
}
6929
6930
73
inline bool RedisSetTtlRequestPB::has_expiration() const {
6931
73
  return expiration_case() != EXPIRATION_NOT_SET;
6932
73
}
6933
17.2k
inline void RedisSetTtlRequestPB::clear_has_expiration() {
6934
17.2k
  _oneof_case_[0] = EXPIRATION_NOT_SET;
6935
17.2k
}
6936
618
inline RedisSetTtlRequestPB::ExpirationCase RedisSetTtlRequestPB::expiration_case() const {
6937
618
  return RedisSetTtlRequestPB::ExpirationCase(_oneof_case_[0]);
6938
618
}
6939
// -------------------------------------------------------------------
6940
6941
// RedisGetTtlRequestPB
6942
6943
// optional bool return_seconds = 1 [default = false];
6944
280
inline bool RedisGetTtlRequestPB::has_return_seconds() const {
6945
280
  return (_has_bits_[0] & 0x00000001u) != 0;
6946
280
}
6947
338
inline void RedisGetTtlRequestPB::set_has_return_seconds() {
6948
338
  _has_bits_[0] |= 0x00000001u;
6949
338
}
6950
0
inline void RedisGetTtlRequestPB::clear_has_return_seconds() {
6951
0
  _has_bits_[0] &= ~0x00000001u;
6952
0
}
6953
0
inline void RedisGetTtlRequestPB::clear_return_seconds() {
6954
0
  return_seconds_ = false;
6955
0
  clear_has_return_seconds();
6956
0
}
6957
266
inline bool RedisGetTtlRequestPB::return_seconds() const {
6958
  // @@protoc_insertion_point(field_get:yb.RedisGetTtlRequestPB.return_seconds)
6959
266
  return return_seconds_;
6960
266
}
6961
264
inline void RedisGetTtlRequestPB::set_return_seconds(bool value) {
6962
264
  set_has_return_seconds();
6963
264
  return_seconds_ = value;
6964
  // @@protoc_insertion_point(field_set:yb.RedisGetTtlRequestPB.return_seconds)
6965
264
}
6966
6967
// -------------------------------------------------------------------
6968
6969
// RedisKeysRequestPB
6970
6971
// optional string pattern = 1;
6972
396
inline bool RedisKeysRequestPB::has_pattern() const {
6973
396
  return (_has_bits_[0] & 0x00000001u) != 0;
6974
396
}
6975
792
inline void RedisKeysRequestPB::set_has_pattern() {
6976
792
  _has_bits_[0] |= 0x00000001u;
6977
792
}
6978
0
inline void RedisKeysRequestPB::clear_has_pattern() {
6979
0
  _has_bits_[0] &= ~0x00000001u;
6980
0
}
6981
0
inline void RedisKeysRequestPB::clear_pattern() {
6982
0
  pattern_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6983
0
  clear_has_pattern();
6984
0
}
6985
241k
inline const ::std::string& RedisKeysRequestPB::pattern() const {
6986
  // @@protoc_insertion_point(field_get:yb.RedisKeysRequestPB.pattern)
6987
241k
  return pattern_.GetNoArena();
6988
241k
}
6989
0
inline void RedisKeysRequestPB::set_pattern(const ::std::string& value) {
6990
0
  set_has_pattern();
6991
0
  pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6992
0
  // @@protoc_insertion_point(field_set:yb.RedisKeysRequestPB.pattern)
6993
0
}
6994
#if LANG_CXX11
6995
297
inline void RedisKeysRequestPB::set_pattern(::std::string&& value) {
6996
297
  set_has_pattern();
6997
297
  pattern_.SetNoArena(
6998
297
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6999
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisKeysRequestPB.pattern)
7000
297
}
7001
#endif
7002
0
inline void RedisKeysRequestPB::set_pattern(const char* value) {
7003
0
  GOOGLE_DCHECK(value != NULL);
7004
0
  set_has_pattern();
7005
0
  pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7006
0
  // @@protoc_insertion_point(field_set_char:yb.RedisKeysRequestPB.pattern)
7007
0
}
7008
0
inline void RedisKeysRequestPB::set_pattern(const char* value, size_t size) {
7009
0
  set_has_pattern();
7010
0
  pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7011
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7012
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisKeysRequestPB.pattern)
7013
0
}
7014
198
inline ::std::string* RedisKeysRequestPB::mutable_pattern() {
7015
198
  set_has_pattern();
7016
  // @@protoc_insertion_point(field_mutable:yb.RedisKeysRequestPB.pattern)
7017
198
  return pattern_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7018
198
}
7019
0
inline ::std::string* RedisKeysRequestPB::release_pattern() {
7020
0
  // @@protoc_insertion_point(field_release:yb.RedisKeysRequestPB.pattern)
7021
0
  clear_has_pattern();
7022
0
  return pattern_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7023
0
}
7024
0
inline void RedisKeysRequestPB::set_allocated_pattern(::std::string* pattern) {
7025
0
  if (pattern != NULL) {
7026
0
    set_has_pattern();
7027
0
  } else {
7028
0
    clear_has_pattern();
7029
0
  }
7030
0
  pattern_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pattern);
7031
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisKeysRequestPB.pattern)
7032
0
}
7033
7034
// optional int32 threshold = 2;
7035
396
inline bool RedisKeysRequestPB::has_threshold() const {
7036
396
  return (_has_bits_[0] & 0x00000002u) != 0;
7037
396
}
7038
495
inline void RedisKeysRequestPB::set_has_threshold() {
7039
495
  _has_bits_[0] |= 0x00000002u;
7040
495
}
7041
0
inline void RedisKeysRequestPB::clear_has_threshold() {
7042
0
  _has_bits_[0] &= ~0x00000002u;
7043
0
}
7044
0
inline void RedisKeysRequestPB::clear_threshold() {
7045
0
  threshold_ = 0;
7046
0
  clear_has_threshold();
7047
0
}
7048
891
inline ::google::protobuf::int32 RedisKeysRequestPB::threshold() const {
7049
  // @@protoc_insertion_point(field_get:yb.RedisKeysRequestPB.threshold)
7050
891
  return threshold_;
7051
891
}
7052
297
inline void RedisKeysRequestPB::set_threshold(::google::protobuf::int32 value) {
7053
297
  set_has_threshold();
7054
297
  threshold_ = value;
7055
  // @@protoc_insertion_point(field_set:yb.RedisKeysRequestPB.threshold)
7056
297
}
7057
7058
// -------------------------------------------------------------------
7059
7060
// RedisGetForRenameRequestPB
7061
7062
// -------------------------------------------------------------------
7063
7064
// RedisGetSetRequestPB
7065
7066
// -------------------------------------------------------------------
7067
7068
// RedisAppendRequestPB
7069
7070
// -------------------------------------------------------------------
7071
7072
// RedisStrLenRequestPB
7073
7074
// -------------------------------------------------------------------
7075
7076
// RedisDelRequestPB
7077
7078
// -------------------------------------------------------------------
7079
7080
// RedisExistsRequestPB
7081
7082
// -------------------------------------------------------------------
7083
7084
// RedisSetRangeRequestPB
7085
7086
// optional int32 offset = 2;
7087
0
inline bool RedisSetRangeRequestPB::has_offset() const {
7088
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7089
0
}
7090
0
inline void RedisSetRangeRequestPB::set_has_offset() {
7091
0
  _has_bits_[0] |= 0x00000001u;
7092
0
}
7093
0
inline void RedisSetRangeRequestPB::clear_has_offset() {
7094
0
  _has_bits_[0] &= ~0x00000001u;
7095
0
}
7096
0
inline void RedisSetRangeRequestPB::clear_offset() {
7097
0
  offset_ = 0;
7098
0
  clear_has_offset();
7099
0
}
7100
0
inline ::google::protobuf::int32 RedisSetRangeRequestPB::offset() const {
7101
0
  // @@protoc_insertion_point(field_get:yb.RedisSetRangeRequestPB.offset)
7102
0
  return offset_;
7103
0
}
7104
0
inline void RedisSetRangeRequestPB::set_offset(::google::protobuf::int32 value) {
7105
0
  set_has_offset();
7106
0
  offset_ = value;
7107
0
  // @@protoc_insertion_point(field_set:yb.RedisSetRangeRequestPB.offset)
7108
0
}
7109
7110
// -------------------------------------------------------------------
7111
7112
// RedisGetRangeRequestPB
7113
7114
// optional int32 start = 2;
7115
0
inline bool RedisGetRangeRequestPB::has_start() const {
7116
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7117
0
}
7118
0
inline void RedisGetRangeRequestPB::set_has_start() {
7119
0
  _has_bits_[0] |= 0x00000001u;
7120
0
}
7121
0
inline void RedisGetRangeRequestPB::clear_has_start() {
7122
0
  _has_bits_[0] &= ~0x00000001u;
7123
0
}
7124
0
inline void RedisGetRangeRequestPB::clear_start() {
7125
0
  start_ = 0;
7126
0
  clear_has_start();
7127
0
}
7128
0
inline ::google::protobuf::int32 RedisGetRangeRequestPB::start() const {
7129
0
  // @@protoc_insertion_point(field_get:yb.RedisGetRangeRequestPB.start)
7130
0
  return start_;
7131
0
}
7132
0
inline void RedisGetRangeRequestPB::set_start(::google::protobuf::int32 value) {
7133
0
  set_has_start();
7134
0
  start_ = value;
7135
0
  // @@protoc_insertion_point(field_set:yb.RedisGetRangeRequestPB.start)
7136
0
}
7137
7138
// optional int32 end = 3;
7139
0
inline bool RedisGetRangeRequestPB::has_end() const {
7140
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7141
0
}
7142
0
inline void RedisGetRangeRequestPB::set_has_end() {
7143
0
  _has_bits_[0] |= 0x00000002u;
7144
0
}
7145
0
inline void RedisGetRangeRequestPB::clear_has_end() {
7146
0
  _has_bits_[0] &= ~0x00000002u;
7147
0
}
7148
0
inline void RedisGetRangeRequestPB::clear_end() {
7149
0
  end_ = 0;
7150
0
  clear_has_end();
7151
0
}
7152
0
inline ::google::protobuf::int32 RedisGetRangeRequestPB::end() const {
7153
0
  // @@protoc_insertion_point(field_get:yb.RedisGetRangeRequestPB.end)
7154
0
  return end_;
7155
0
}
7156
0
inline void RedisGetRangeRequestPB::set_end(::google::protobuf::int32 value) {
7157
0
  set_has_end();
7158
0
  end_ = value;
7159
0
  // @@protoc_insertion_point(field_set:yb.RedisGetRangeRequestPB.end)
7160
0
}
7161
7162
// -------------------------------------------------------------------
7163
7164
// RedisIncrRequestPB
7165
7166
// optional int64 increment_int = 2 [default = 1];
7167
0
inline bool RedisIncrRequestPB::has_increment_int() const {
7168
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7169
0
}
7170
0
inline void RedisIncrRequestPB::set_has_increment_int() {
7171
0
  _has_bits_[0] |= 0x00000002u;
7172
0
}
7173
0
inline void RedisIncrRequestPB::clear_has_increment_int() {
7174
0
  _has_bits_[0] &= ~0x00000002u;
7175
0
}
7176
0
inline void RedisIncrRequestPB::clear_increment_int() {
7177
0
  increment_int_ = GOOGLE_LONGLONG(1);
7178
0
  clear_has_increment_int();
7179
0
}
7180
0
inline ::google::protobuf::int64 RedisIncrRequestPB::increment_int() const {
7181
0
  // @@protoc_insertion_point(field_get:yb.RedisIncrRequestPB.increment_int)
7182
0
  return increment_int_;
7183
0
}
7184
0
inline void RedisIncrRequestPB::set_increment_int(::google::protobuf::int64 value) {
7185
0
  set_has_increment_int();
7186
0
  increment_int_ = value;
7187
0
  // @@protoc_insertion_point(field_set:yb.RedisIncrRequestPB.increment_int)
7188
0
}
7189
7190
// optional double increment_float = 3;
7191
0
inline bool RedisIncrRequestPB::has_increment_float() const {
7192
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7193
0
}
7194
0
inline void RedisIncrRequestPB::set_has_increment_float() {
7195
0
  _has_bits_[0] |= 0x00000001u;
7196
0
}
7197
0
inline void RedisIncrRequestPB::clear_has_increment_float() {
7198
0
  _has_bits_[0] &= ~0x00000001u;
7199
0
}
7200
0
inline void RedisIncrRequestPB::clear_increment_float() {
7201
0
  increment_float_ = 0;
7202
0
  clear_has_increment_float();
7203
0
}
7204
0
inline double RedisIncrRequestPB::increment_float() const {
7205
0
  // @@protoc_insertion_point(field_get:yb.RedisIncrRequestPB.increment_float)
7206
0
  return increment_float_;
7207
0
}
7208
0
inline void RedisIncrRequestPB::set_increment_float(double value) {
7209
0
  set_has_increment_float();
7210
0
  increment_float_ = value;
7211
0
  // @@protoc_insertion_point(field_set:yb.RedisIncrRequestPB.increment_float)
7212
0
}
7213
7214
// -------------------------------------------------------------------
7215
7216
// RedisPushRequestPB
7217
7218
// optional .yb.RedisSide side = 2 [default = REDIS_SIDE_LEFT];
7219
0
inline bool RedisPushRequestPB::has_side() const {
7220
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7221
0
}
7222
0
inline void RedisPushRequestPB::set_has_side() {
7223
0
  _has_bits_[0] |= 0x00000002u;
7224
0
}
7225
0
inline void RedisPushRequestPB::clear_has_side() {
7226
0
  _has_bits_[0] &= ~0x00000002u;
7227
0
}
7228
0
inline void RedisPushRequestPB::clear_side() {
7229
0
  side_ = 1;
7230
0
  clear_has_side();
7231
0
}
7232
0
inline ::yb::RedisSide RedisPushRequestPB::side() const {
7233
0
  // @@protoc_insertion_point(field_get:yb.RedisPushRequestPB.side)
7234
0
  return static_cast< ::yb::RedisSide >(side_);
7235
0
}
7236
0
inline void RedisPushRequestPB::set_side(::yb::RedisSide value) {
7237
0
  assert(::yb::RedisSide_IsValid(value));
7238
0
  set_has_side();
7239
0
  side_ = value;
7240
0
  // @@protoc_insertion_point(field_set:yb.RedisPushRequestPB.side)
7241
0
}
7242
7243
// optional bool check_existence = 3 [default = false];
7244
0
inline bool RedisPushRequestPB::has_check_existence() const {
7245
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7246
0
}
7247
0
inline void RedisPushRequestPB::set_has_check_existence() {
7248
0
  _has_bits_[0] |= 0x00000001u;
7249
0
}
7250
0
inline void RedisPushRequestPB::clear_has_check_existence() {
7251
0
  _has_bits_[0] &= ~0x00000001u;
7252
0
}
7253
0
inline void RedisPushRequestPB::clear_check_existence() {
7254
0
  check_existence_ = false;
7255
0
  clear_has_check_existence();
7256
0
}
7257
0
inline bool RedisPushRequestPB::check_existence() const {
7258
0
  // @@protoc_insertion_point(field_get:yb.RedisPushRequestPB.check_existence)
7259
0
  return check_existence_;
7260
0
}
7261
0
inline void RedisPushRequestPB::set_check_existence(bool value) {
7262
0
  set_has_check_existence();
7263
0
  check_existence_ = value;
7264
0
  // @@protoc_insertion_point(field_set:yb.RedisPushRequestPB.check_existence)
7265
0
}
7266
7267
// -------------------------------------------------------------------
7268
7269
// RedisInsertRequestPB
7270
7271
// optional .yb.RedisOrder order = 2;
7272
0
inline bool RedisInsertRequestPB::has_order() const {
7273
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7274
0
}
7275
0
inline void RedisInsertRequestPB::set_has_order() {
7276
0
  _has_bits_[0] |= 0x00000001u;
7277
0
}
7278
0
inline void RedisInsertRequestPB::clear_has_order() {
7279
0
  _has_bits_[0] &= ~0x00000001u;
7280
0
}
7281
0
inline void RedisInsertRequestPB::clear_order() {
7282
0
  order_ = 1;
7283
0
  clear_has_order();
7284
0
}
7285
0
inline ::yb::RedisOrder RedisInsertRequestPB::order() const {
7286
0
  // @@protoc_insertion_point(field_get:yb.RedisInsertRequestPB.order)
7287
0
  return static_cast< ::yb::RedisOrder >(order_);
7288
0
}
7289
0
inline void RedisInsertRequestPB::set_order(::yb::RedisOrder value) {
7290
0
  assert(::yb::RedisOrder_IsValid(value));
7291
0
  set_has_order();
7292
0
  order_ = value;
7293
0
  // @@protoc_insertion_point(field_set:yb.RedisInsertRequestPB.order)
7294
0
}
7295
7296
// -------------------------------------------------------------------
7297
7298
// RedisPopRequestPB
7299
7300
// optional .yb.RedisSide side = 2 [default = REDIS_SIDE_LEFT];
7301
0
inline bool RedisPopRequestPB::has_side() const {
7302
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7303
0
}
7304
0
inline void RedisPopRequestPB::set_has_side() {
7305
0
  _has_bits_[0] |= 0x00000002u;
7306
0
}
7307
0
inline void RedisPopRequestPB::clear_has_side() {
7308
0
  _has_bits_[0] &= ~0x00000002u;
7309
0
}
7310
0
inline void RedisPopRequestPB::clear_side() {
7311
0
  side_ = 1;
7312
0
  clear_has_side();
7313
0
}
7314
0
inline ::yb::RedisSide RedisPopRequestPB::side() const {
7315
0
  // @@protoc_insertion_point(field_get:yb.RedisPopRequestPB.side)
7316
0
  return static_cast< ::yb::RedisSide >(side_);
7317
0
}
7318
0
inline void RedisPopRequestPB::set_side(::yb::RedisSide value) {
7319
0
  assert(::yb::RedisSide_IsValid(value));
7320
0
  set_has_side();
7321
0
  side_ = value;
7322
0
  // @@protoc_insertion_point(field_set:yb.RedisPopRequestPB.side)
7323
0
}
7324
7325
// optional int32 count = 3;
7326
0
inline bool RedisPopRequestPB::has_count() const {
7327
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7328
0
}
7329
0
inline void RedisPopRequestPB::set_has_count() {
7330
0
  _has_bits_[0] |= 0x00000001u;
7331
0
}
7332
0
inline void RedisPopRequestPB::clear_has_count() {
7333
0
  _has_bits_[0] &= ~0x00000001u;
7334
0
}
7335
0
inline void RedisPopRequestPB::clear_count() {
7336
0
  count_ = 0;
7337
0
  clear_has_count();
7338
0
}
7339
0
inline ::google::protobuf::int32 RedisPopRequestPB::count() const {
7340
0
  // @@protoc_insertion_point(field_get:yb.RedisPopRequestPB.count)
7341
0
  return count_;
7342
0
}
7343
0
inline void RedisPopRequestPB::set_count(::google::protobuf::int32 value) {
7344
0
  set_has_count();
7345
0
  count_ = value;
7346
0
  // @@protoc_insertion_point(field_set:yb.RedisPopRequestPB.count)
7347
0
}
7348
7349
// -------------------------------------------------------------------
7350
7351
// RedisAddRequestPB
7352
7353
// optional .yb.RedisWriteMode mode = 2 [default = REDIS_WRITEMODE_UPSERT];
7354
0
inline bool RedisAddRequestPB::has_mode() const {
7355
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7356
0
}
7357
0
inline void RedisAddRequestPB::set_has_mode() {
7358
0
  _has_bits_[0] |= 0x00000002u;
7359
0
}
7360
0
inline void RedisAddRequestPB::clear_has_mode() {
7361
0
  _has_bits_[0] &= ~0x00000002u;
7362
0
}
7363
0
inline void RedisAddRequestPB::clear_mode() {
7364
0
  mode_ = 1;
7365
0
  clear_has_mode();
7366
0
}
7367
0
inline ::yb::RedisWriteMode RedisAddRequestPB::mode() const {
7368
0
  // @@protoc_insertion_point(field_get:yb.RedisAddRequestPB.mode)
7369
0
  return static_cast< ::yb::RedisWriteMode >(mode_);
7370
0
}
7371
0
inline void RedisAddRequestPB::set_mode(::yb::RedisWriteMode value) {
7372
0
  assert(::yb::RedisWriteMode_IsValid(value));
7373
0
  set_has_mode();
7374
0
  mode_ = value;
7375
0
  // @@protoc_insertion_point(field_set:yb.RedisAddRequestPB.mode)
7376
0
}
7377
7378
// optional bool ch = 3;
7379
0
inline bool RedisAddRequestPB::has_ch() const {
7380
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7381
0
}
7382
0
inline void RedisAddRequestPB::set_has_ch() {
7383
0
  _has_bits_[0] |= 0x00000001u;
7384
0
}
7385
0
inline void RedisAddRequestPB::clear_has_ch() {
7386
0
  _has_bits_[0] &= ~0x00000001u;
7387
0
}
7388
0
inline void RedisAddRequestPB::clear_ch() {
7389
0
  ch_ = false;
7390
0
  clear_has_ch();
7391
0
}
7392
0
inline bool RedisAddRequestPB::ch() const {
7393
0
  // @@protoc_insertion_point(field_get:yb.RedisAddRequestPB.ch)
7394
0
  return ch_;
7395
0
}
7396
0
inline void RedisAddRequestPB::set_ch(bool value) {
7397
0
  set_has_ch();
7398
0
  ch_ = value;
7399
0
  // @@protoc_insertion_point(field_set:yb.RedisAddRequestPB.ch)
7400
0
}
7401
7402
// -------------------------------------------------------------------
7403
7404
// RedisResponsePB
7405
7406
// optional .yb.RedisResponsePB.RedisStatusCode code = 1;
7407
63.1k
inline bool RedisResponsePB::has_code() const {
7408
63.1k
  return (_has_bits_[0] & 0x00000002u) != 0;
7409
63.1k
}
7410
183k
inline void RedisResponsePB::set_has_code() {
7411
183k
  _has_bits_[0] |= 0x00000002u;
7412
183k
}
7413
0
inline void RedisResponsePB::clear_has_code() {
7414
0
  _has_bits_[0] &= ~0x00000002u;
7415
0
}
7416
0
inline void RedisResponsePB::clear_code() {
7417
0
  code_ = 1;
7418
0
  clear_has_code();
7419
0
}
7420
927k
inline ::yb::RedisResponsePB_RedisStatusCode RedisResponsePB::code() const {
7421
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.code)
7422
927k
  return static_cast< ::yb::RedisResponsePB_RedisStatusCode >(code_);
7423
927k
}
7424
183k
inline void RedisResponsePB::set_code(::yb::RedisResponsePB_RedisStatusCode value) {
7425
183k
  assert(::yb::RedisResponsePB_RedisStatusCode_IsValid(value));
7426
183k
  set_has_code();
7427
183k
  code_ = value;
7428
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.code)
7429
183k
}
7430
7431
// optional int64 int_response = 2;
7432
181k
inline bool RedisResponsePB::has_int_response() const {
7433
181k
  return response_data_case() == kIntResponse;
7434
181k
}
7435
15.5k
inline void RedisResponsePB::set_has_int_response() {
7436
15.5k
  _oneof_case_[0] = kIntResponse;
7437
15.5k
}
7438
0
inline void RedisResponsePB::clear_int_response() {
7439
0
  if (has_int_response()) {
7440
0
    response_data_.int_response_ = GOOGLE_LONGLONG(0);
7441
0
    clear_has_response_data();
7442
0
  }
7443
0
}
7444
35.7k
inline ::google::protobuf::int64 RedisResponsePB::int_response() const {
7445
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.int_response)
7446
35.7k
  if (has_int_response()) {
7447
35.7k
    return response_data_.int_response_;
7448
35.7k
  }
7449
0
  return GOOGLE_LONGLONG(0);
7450
0
}
7451
10.8k
inline void RedisResponsePB::set_int_response(::google::protobuf::int64 value) {
7452
10.8k
  if (!has_int_response()) {
7453
10.8k
    clear_response_data();
7454
10.8k
    set_has_int_response();
7455
10.8k
  }
7456
10.8k
  response_data_.int_response_ = value;
7457
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.int_response)
7458
10.8k
}
7459
7460
// optional bytes string_response = 3;
7461
415k
inline bool RedisResponsePB::has_string_response() const {
7462
415k
  return response_data_case() == kStringResponse;
7463
415k
}
7464
81.5k
inline void RedisResponsePB::set_has_string_response() {
7465
81.5k
  _oneof_case_[0] = kStringResponse;
7466
81.5k
}
7467
0
inline void RedisResponsePB::clear_string_response() {
7468
0
  if (has_string_response()) {
7469
0
    response_data_.string_response_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7470
0
    clear_has_response_data();
7471
0
  }
7472
0
}
7473
129k
inline const ::std::string& RedisResponsePB::string_response() const {
7474
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.string_response)
7475
129k
  if (has_string_response()) {
7476
129k
    return response_data_.string_response_.GetNoArena();
7477
129k
  }
7478
0
  return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
7479
0
}
7480
73.9k
inline void RedisResponsePB::set_string_response(const ::std::string& value) {
7481
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.string_response)
7482
73.9k
  if (!has_string_response()) {
7483
73.9k
    clear_response_data();
7484
73.9k
    set_has_string_response();
7485
73.9k
    response_data_.string_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7486
73.9k
  }
7487
73.9k
  response_data_.string_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7488
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.string_response)
7489
73.9k
}
7490
#if LANG_CXX11
7491
12
inline void RedisResponsePB::set_string_response(::std::string&& value) {
7492
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.string_response)
7493
12
  if (!has_string_response()) {
7494
12
    clear_response_data();
7495
12
    set_has_string_response();
7496
12
    response_data_.string_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7497
12
  }
7498
12
  response_data_.string_response_.SetNoArena(
7499
12
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7500
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisResponsePB.string_response)
7501
12
}
7502
#endif
7503
0
inline void RedisResponsePB::set_string_response(const char* value) {
7504
0
  GOOGLE_DCHECK(value != NULL);
7505
0
  if (!has_string_response()) {
7506
0
    clear_response_data();
7507
0
    set_has_string_response();
7508
0
    response_data_.string_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7509
0
  }
7510
0
  response_data_.string_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7511
0
      ::std::string(value));
7512
0
  // @@protoc_insertion_point(field_set_char:yb.RedisResponsePB.string_response)
7513
0
}
7514
0
inline void RedisResponsePB::set_string_response(const void* value, size_t size) {
7515
0
  if (!has_string_response()) {
7516
0
    clear_response_data();
7517
0
    set_has_string_response();
7518
0
    response_data_.string_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7519
0
  }
7520
0
  response_data_.string_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
7521
0
      reinterpret_cast<const char*>(value), size));
7522
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisResponsePB.string_response)
7523
0
}
7524
7.54k
inline ::std::string* RedisResponsePB::mutable_string_response() {
7525
7.54k
  if (!has_string_response()) {
7526
7.54k
    clear_response_data();
7527
7.54k
    set_has_string_response();
7528
7.54k
    response_data_.string_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7529
7.54k
  }
7530
  // @@protoc_insertion_point(field_mutable:yb.RedisResponsePB.string_response)
7531
7.54k
  return response_data_.string_response_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7532
7.54k
}
7533
0
inline ::std::string* RedisResponsePB::release_string_response() {
7534
0
  // @@protoc_insertion_point(field_release:yb.RedisResponsePB.string_response)
7535
0
  if (has_string_response()) {
7536
0
    clear_has_response_data();
7537
0
    return response_data_.string_response_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7538
0
  } else {
7539
0
    return NULL;
7540
0
  }
7541
0
}
7542
0
inline void RedisResponsePB::set_allocated_string_response(::std::string* string_response) {
7543
0
  if (!has_string_response()) {
7544
0
    response_data_.string_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7545
0
  }
7546
0
  clear_response_data();
7547
0
  if (string_response != NULL) {
7548
0
    set_has_string_response();
7549
0
    response_data_.string_response_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7550
0
        string_response);
7551
0
  }
7552
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisResponsePB.string_response)
7553
0
}
7554
7555
// optional .yb.RedisArrayPB array_response = 4;
7556
2.12M
inline bool RedisResponsePB::has_array_response() const {
7557
2.12M
  return response_data_case() == kArrayResponse;
7558
2.12M
}
7559
19.5k
inline void RedisResponsePB::set_has_array_response() {
7560
19.5k
  _oneof_case_[0] = kArrayResponse;
7561
19.5k
}
7562
3
inline void RedisResponsePB::clear_array_response() {
7563
3
  if (has_array_response()) {
7564
3
    delete response_data_.array_response_;
7565
3
    clear_has_response_data();
7566
3
  }
7567
3
}
7568
0
inline ::yb::RedisArrayPB* RedisResponsePB::release_array_response() {
7569
0
  // @@protoc_insertion_point(field_release:yb.RedisResponsePB.array_response)
7570
0
  if (has_array_response()) {
7571
0
    clear_has_response_data();
7572
0
      ::yb::RedisArrayPB* temp = response_data_.array_response_;
7573
0
    response_data_.array_response_ = NULL;
7574
0
    return temp;
7575
0
  } else {
7576
0
    return NULL;
7577
0
  }
7578
0
}
7579
28.3k
inline const ::yb::RedisArrayPB& RedisResponsePB::array_response() const {
7580
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.array_response)
7581
28.3k
  return has_array_response()
7582
28.2k
      ? *response_data_.array_response_
7583
78
      : *reinterpret_cast< ::yb::RedisArrayPB*>(&::yb::_RedisArrayPB_default_instance_);
7584
28.3k
}
7585
1.98M
inline ::yb::RedisArrayPB* RedisResponsePB::mutable_array_response() {
7586
1.98M
  if (!has_array_response()) {
7587
8.64k
    clear_response_data();
7588
8.64k
    set_has_array_response();
7589
8.64k
    response_data_.array_response_ = new ::yb::RedisArrayPB;
7590
8.64k
  }
7591
  // @@protoc_insertion_point(field_mutable:yb.RedisResponsePB.array_response)
7592
1.98M
  return response_data_.array_response_;
7593
1.98M
}
7594
7595
// optional bytes status_response = 5;
7596
135k
inline bool RedisResponsePB::has_status_response() const {
7597
135k
  return response_data_case() == kStatusResponse;
7598
135k
}
7599
226
inline void RedisResponsePB::set_has_status_response() {
7600
226
  _oneof_case_[0] = kStatusResponse;
7601
226
}
7602
0
inline void RedisResponsePB::clear_status_response() {
7603
0
  if (has_status_response()) {
7604
0
    response_data_.status_response_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7605
0
    clear_has_response_data();
7606
0
  }
7607
0
}
7608
449
inline const ::std::string& RedisResponsePB::status_response() const {
7609
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.status_response)
7610
449
  if (has_status_response()) {
7611
449
    return response_data_.status_response_.GetNoArena();
7612
449
  }
7613
0
  return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
7614
0
}
7615
0
inline void RedisResponsePB::set_status_response(const ::std::string& value) {
7616
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.status_response)
7617
0
  if (!has_status_response()) {
7618
0
    clear_response_data();
7619
0
    set_has_status_response();
7620
0
    response_data_.status_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7621
0
  }
7622
0
  response_data_.status_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7623
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.status_response)
7624
0
}
7625
#if LANG_CXX11
7626
0
inline void RedisResponsePB::set_status_response(::std::string&& value) {
7627
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.status_response)
7628
0
  if (!has_status_response()) {
7629
0
    clear_response_data();
7630
0
    set_has_status_response();
7631
0
    response_data_.status_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7632
0
  }
7633
0
  response_data_.status_response_.SetNoArena(
7634
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7635
0
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisResponsePB.status_response)
7636
0
}
7637
#endif
7638
226
inline void RedisResponsePB::set_status_response(const char* value) {
7639
226
  GOOGLE_DCHECK(value != NULL);
7640
226
  if (!has_status_response()) {
7641
226
    clear_response_data();
7642
226
    set_has_status_response();
7643
226
    response_data_.status_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7644
226
  }
7645
226
  response_data_.status_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7646
226
      ::std::string(value));
7647
  // @@protoc_insertion_point(field_set_char:yb.RedisResponsePB.status_response)
7648
226
}
7649
0
inline void RedisResponsePB::set_status_response(const void* value, size_t size) {
7650
0
  if (!has_status_response()) {
7651
0
    clear_response_data();
7652
0
    set_has_status_response();
7653
0
    response_data_.status_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7654
0
  }
7655
0
  response_data_.status_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
7656
0
      reinterpret_cast<const char*>(value), size));
7657
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisResponsePB.status_response)
7658
0
}
7659
0
inline ::std::string* RedisResponsePB::mutable_status_response() {
7660
0
  if (!has_status_response()) {
7661
0
    clear_response_data();
7662
0
    set_has_status_response();
7663
0
    response_data_.status_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7664
0
  }
7665
0
  // @@protoc_insertion_point(field_mutable:yb.RedisResponsePB.status_response)
7666
0
  return response_data_.status_response_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7667
0
}
7668
0
inline ::std::string* RedisResponsePB::release_status_response() {
7669
0
  // @@protoc_insertion_point(field_release:yb.RedisResponsePB.status_response)
7670
0
  if (has_status_response()) {
7671
0
    clear_has_response_data();
7672
0
    return response_data_.status_response_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7673
0
  } else {
7674
0
    return NULL;
7675
0
  }
7676
0
}
7677
0
inline void RedisResponsePB::set_allocated_status_response(::std::string* status_response) {
7678
0
  if (!has_status_response()) {
7679
0
    response_data_.status_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7680
0
  }
7681
0
  clear_response_data();
7682
0
  if (status_response != NULL) {
7683
0
    set_has_status_response();
7684
0
    response_data_.status_response_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7685
0
        status_response);
7686
0
  }
7687
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisResponsePB.status_response)
7688
0
}
7689
7690
// optional bytes encoded_response = 7;
7691
133k
inline bool RedisResponsePB::has_encoded_response() const {
7692
133k
  return response_data_case() == kEncodedResponse;
7693
133k
}
7694
0
inline void RedisResponsePB::set_has_encoded_response() {
7695
0
  _oneof_case_[0] = kEncodedResponse;
7696
0
}
7697
0
inline void RedisResponsePB::clear_encoded_response() {
7698
0
  if (has_encoded_response()) {
7699
0
    response_data_.encoded_response_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7700
0
    clear_has_response_data();
7701
0
  }
7702
0
}
7703
0
inline const ::std::string& RedisResponsePB::encoded_response() const {
7704
0
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.encoded_response)
7705
0
  if (has_encoded_response()) {
7706
0
    return response_data_.encoded_response_.GetNoArena();
7707
0
  }
7708
0
  return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
7709
0
}
7710
0
inline void RedisResponsePB::set_encoded_response(const ::std::string& value) {
7711
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.encoded_response)
7712
0
  if (!has_encoded_response()) {
7713
0
    clear_response_data();
7714
0
    set_has_encoded_response();
7715
0
    response_data_.encoded_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7716
0
  }
7717
0
  response_data_.encoded_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7718
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.encoded_response)
7719
0
}
7720
#if LANG_CXX11
7721
0
inline void RedisResponsePB::set_encoded_response(::std::string&& value) {
7722
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.encoded_response)
7723
0
  if (!has_encoded_response()) {
7724
0
    clear_response_data();
7725
0
    set_has_encoded_response();
7726
0
    response_data_.encoded_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7727
0
  }
7728
0
  response_data_.encoded_response_.SetNoArena(
7729
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7730
0
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisResponsePB.encoded_response)
7731
0
}
7732
#endif
7733
0
inline void RedisResponsePB::set_encoded_response(const char* value) {
7734
0
  GOOGLE_DCHECK(value != NULL);
7735
0
  if (!has_encoded_response()) {
7736
0
    clear_response_data();
7737
0
    set_has_encoded_response();
7738
0
    response_data_.encoded_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7739
0
  }
7740
0
  response_data_.encoded_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7741
0
      ::std::string(value));
7742
0
  // @@protoc_insertion_point(field_set_char:yb.RedisResponsePB.encoded_response)
7743
0
}
7744
0
inline void RedisResponsePB::set_encoded_response(const void* value, size_t size) {
7745
0
  if (!has_encoded_response()) {
7746
0
    clear_response_data();
7747
0
    set_has_encoded_response();
7748
0
    response_data_.encoded_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7749
0
  }
7750
0
  response_data_.encoded_response_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
7751
0
      reinterpret_cast<const char*>(value), size));
7752
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisResponsePB.encoded_response)
7753
0
}
7754
0
inline ::std::string* RedisResponsePB::mutable_encoded_response() {
7755
0
  if (!has_encoded_response()) {
7756
0
    clear_response_data();
7757
0
    set_has_encoded_response();
7758
0
    response_data_.encoded_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7759
0
  }
7760
0
  // @@protoc_insertion_point(field_mutable:yb.RedisResponsePB.encoded_response)
7761
0
  return response_data_.encoded_response_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7762
0
}
7763
0
inline ::std::string* RedisResponsePB::release_encoded_response() {
7764
0
  // @@protoc_insertion_point(field_release:yb.RedisResponsePB.encoded_response)
7765
0
  if (has_encoded_response()) {
7766
0
    clear_has_response_data();
7767
0
    return response_data_.encoded_response_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7768
0
  } else {
7769
0
    return NULL;
7770
0
  }
7771
0
}
7772
0
inline void RedisResponsePB::set_allocated_encoded_response(::std::string* encoded_response) {
7773
0
  if (!has_encoded_response()) {
7774
0
    response_data_.encoded_response_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7775
0
  }
7776
0
  clear_response_data();
7777
0
  if (encoded_response != NULL) {
7778
0
    set_has_encoded_response();
7779
0
    response_data_.encoded_response_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7780
0
        encoded_response);
7781
0
  }
7782
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisResponsePB.encoded_response)
7783
0
}
7784
7785
// optional bytes error_message = 6;
7786
63.1k
inline bool RedisResponsePB::has_error_message() const {
7787
63.1k
  return (_has_bits_[0] & 0x00000001u) != 0;
7788
63.1k
}
7789
127
inline void RedisResponsePB::set_has_error_message() {
7790
127
  _has_bits_[0] |= 0x00000001u;
7791
127
}
7792
0
inline void RedisResponsePB::clear_has_error_message() {
7793
0
  _has_bits_[0] &= ~0x00000001u;
7794
0
}
7795
0
inline void RedisResponsePB::clear_error_message() {
7796
0
  error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7797
0
  clear_has_error_message();
7798
0
}
7799
209k
inline const ::std::string& RedisResponsePB::error_message() const {
7800
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.error_message)
7801
209k
  return error_message_.GetNoArena();
7802
209k
}
7803
93
inline void RedisResponsePB::set_error_message(const ::std::string& value) {
7804
93
  set_has_error_message();
7805
93
  error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7806
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.error_message)
7807
93
}
7808
#if LANG_CXX11
7809
5
inline void RedisResponsePB::set_error_message(::std::string&& value) {
7810
5
  set_has_error_message();
7811
5
  error_message_.SetNoArena(
7812
5
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7813
  // @@protoc_insertion_point(field_set_rvalue:yb.RedisResponsePB.error_message)
7814
5
}
7815
#endif
7816
3
inline void RedisResponsePB::set_error_message(const char* value) {
7817
3
  GOOGLE_DCHECK(value != NULL);
7818
3
  set_has_error_message();
7819
3
  error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7820
  // @@protoc_insertion_point(field_set_char:yb.RedisResponsePB.error_message)
7821
3
}
7822
3
inline void RedisResponsePB::set_error_message(const void* value, size_t size) {
7823
3
  set_has_error_message();
7824
3
  error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7825
3
      ::std::string(reinterpret_cast<const char*>(value), size));
7826
  // @@protoc_insertion_point(field_set_pointer:yb.RedisResponsePB.error_message)
7827
3
}
7828
8
inline ::std::string* RedisResponsePB::mutable_error_message() {
7829
8
  set_has_error_message();
7830
  // @@protoc_insertion_point(field_mutable:yb.RedisResponsePB.error_message)
7831
8
  return error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7832
8
}
7833
0
inline ::std::string* RedisResponsePB::release_error_message() {
7834
0
  // @@protoc_insertion_point(field_release:yb.RedisResponsePB.error_message)
7835
0
  clear_has_error_message();
7836
0
  return error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7837
0
}
7838
0
inline void RedisResponsePB::set_allocated_error_message(::std::string* error_message) {
7839
0
  if (error_message != NULL) {
7840
0
    set_has_error_message();
7841
0
  } else {
7842
0
    clear_has_error_message();
7843
0
  }
7844
0
  error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_message);
7845
0
  // @@protoc_insertion_point(field_set_allocated:yb.RedisResponsePB.error_message)
7846
0
}
7847
7848
// optional .yb.RedisDataType type = 8;
7849
63.1k
inline bool RedisResponsePB::has_type() const {
7850
63.1k
  return (_has_bits_[0] & 0x00000004u) != 0;
7851
63.1k
}
7852
0
inline void RedisResponsePB::set_has_type() {
7853
0
  _has_bits_[0] |= 0x00000004u;
7854
0
}
7855
0
inline void RedisResponsePB::clear_has_type() {
7856
0
  _has_bits_[0] &= ~0x00000004u;
7857
0
}
7858
0
inline void RedisResponsePB::clear_type() {
7859
0
  type_ = 1;
7860
0
  clear_has_type();
7861
0
}
7862
0
inline ::yb::RedisDataType RedisResponsePB::type() const {
7863
0
  // @@protoc_insertion_point(field_get:yb.RedisResponsePB.type)
7864
0
  return static_cast< ::yb::RedisDataType >(type_);
7865
0
}
7866
0
inline void RedisResponsePB::set_type(::yb::RedisDataType value) {
7867
0
  assert(::yb::RedisDataType_IsValid(value));
7868
0
  set_has_type();
7869
0
  type_ = value;
7870
0
  // @@protoc_insertion_point(field_set:yb.RedisResponsePB.type)
7871
0
}
7872
7873
450k
inline bool RedisResponsePB::has_response_data() const {
7874
450k
  return response_data_case() != RESPONSE_DATA_NOT_SET;
7875
450k
}
7876
467k
inline void RedisResponsePB::clear_has_response_data() {
7877
467k
  _oneof_case_[0] = RESPONSE_DATA_NOT_SET;
7878
467k
}
7879
3.85M
inline RedisResponsePB::ResponseDataCase RedisResponsePB::response_data_case() const {
7880
3.85M
  return RedisResponsePB::ResponseDataCase(_oneof_case_[0]);
7881
3.85M
}
7882
// -------------------------------------------------------------------
7883
7884
// RedisArrayPB
7885
7886
// repeated bytes elements = 1;
7887
13.1k
inline int RedisArrayPB::elements_size() const {
7888
13.1k
  return elements_.size();
7889
13.1k
}
7890
0
inline void RedisArrayPB::clear_elements() {
7891
0
  elements_.Clear();
7892
0
}
7893
2.85M
inline const ::std::string& RedisArrayPB::elements(int index) const {
7894
  // @@protoc_insertion_point(field_get:yb.RedisArrayPB.elements)
7895
2.85M
  return elements_.Get(index);
7896
2.85M
}
7897
0
inline ::std::string* RedisArrayPB::mutable_elements(int index) {
7898
0
  // @@protoc_insertion_point(field_mutable:yb.RedisArrayPB.elements)
7899
0
  return elements_.Mutable(index);
7900
0
}
7901
0
inline void RedisArrayPB::set_elements(int index, const ::std::string& value) {
7902
0
  // @@protoc_insertion_point(field_set:yb.RedisArrayPB.elements)
7903
0
  elements_.Mutable(index)->assign(value);
7904
0
}
7905
#if LANG_CXX11
7906
0
inline void RedisArrayPB::set_elements(int index, ::std::string&& value) {
7907
0
  // @@protoc_insertion_point(field_set:yb.RedisArrayPB.elements)
7908
0
  elements_.Mutable(index)->assign(std::move(value));
7909
0
}
7910
#endif
7911
0
inline void RedisArrayPB::set_elements(int index, const char* value) {
7912
0
  GOOGLE_DCHECK(value != NULL);
7913
0
  elements_.Mutable(index)->assign(value);
7914
0
  // @@protoc_insertion_point(field_set_char:yb.RedisArrayPB.elements)
7915
0
}
7916
0
inline void RedisArrayPB::set_elements(int index, const void* value, size_t size) {
7917
0
  elements_.Mutable(index)->assign(
7918
0
    reinterpret_cast<const char*>(value), size);
7919
0
  // @@protoc_insertion_point(field_set_pointer:yb.RedisArrayPB.elements)
7920
0
}
7921
951k
inline ::std::string* RedisArrayPB::add_elements() {
7922
  // @@protoc_insertion_point(field_add_mutable:yb.RedisArrayPB.elements)
7923
951k
  return elements_.Add();
7924
951k
}
7925
1.03M
inline void RedisArrayPB::add_elements(const ::std::string& value) {
7926
1.03M
  elements_.Add()->assign(value);
7927
  // @@protoc_insertion_point(field_add:yb.RedisArrayPB.elements)
7928
1.03M
}
7929
#if LANG_CXX11
7930
942k
inline void RedisArrayPB::add_elements(::std::string&& value) {
7931
942k
  elements_.Add(std::move(value));
7932
  // @@protoc_insertion_point(field_add:yb.RedisArrayPB.elements)
7933
942k
}
7934
#endif
7935
0
inline void RedisArrayPB::add_elements(const char* value) {
7936
0
  GOOGLE_DCHECK(value != NULL);
7937
0
  elements_.Add()->assign(value);
7938
0
  // @@protoc_insertion_point(field_add_char:yb.RedisArrayPB.elements)
7939
0
}
7940
0
inline void RedisArrayPB::add_elements(const void* value, size_t size) {
7941
0
  elements_.Add()->assign(reinterpret_cast<const char*>(value), size);
7942
0
  // @@protoc_insertion_point(field_add_pointer:yb.RedisArrayPB.elements)
7943
0
}
7944
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
7945
11.1k
RedisArrayPB::elements() const {
7946
  // @@protoc_insertion_point(field_list:yb.RedisArrayPB.elements)
7947
11.1k
  return elements_;
7948
11.1k
}
7949
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
7950
90.9k
RedisArrayPB::mutable_elements() {
7951
  // @@protoc_insertion_point(field_mutable_list:yb.RedisArrayPB.elements)
7952
90.9k
  return &elements_;
7953
90.9k
}
7954
7955
// optional bool encoded = 2;
7956
21.9k
inline bool RedisArrayPB::has_encoded() const {
7957
21.9k
  return (_has_bits_[0] & 0x00000001u) != 0;
7958
21.9k
}
7959
57
inline void RedisArrayPB::set_has_encoded() {
7960
57
  _has_bits_[0] |= 0x00000001u;
7961
57
}
7962
0
inline void RedisArrayPB::clear_has_encoded() {
7963
0
  _has_bits_[0] &= ~0x00000001u;
7964
0
}
7965
0
inline void RedisArrayPB::clear_encoded() {
7966
0
  encoded_ = false;
7967
0
  clear_has_encoded();
7968
0
}
7969
114
inline bool RedisArrayPB::encoded() const {
7970
  // @@protoc_insertion_point(field_get:yb.RedisArrayPB.encoded)
7971
114
  return encoded_;
7972
114
}
7973
57
inline void RedisArrayPB::set_encoded(bool value) {
7974
57
  set_has_encoded();
7975
57
  encoded_ = value;
7976
  // @@protoc_insertion_point(field_set:yb.RedisArrayPB.encoded)
7977
57
}
7978
7979
#ifdef __GNUC__
7980
  #pragma GCC diagnostic pop
7981
#endif  // __GNUC__
7982
// -------------------------------------------------------------------
7983
7984
// -------------------------------------------------------------------
7985
7986
// -------------------------------------------------------------------
7987
7988
// -------------------------------------------------------------------
7989
7990
// -------------------------------------------------------------------
7991
7992
// -------------------------------------------------------------------
7993
7994
// -------------------------------------------------------------------
7995
7996
// -------------------------------------------------------------------
7997
7998
// -------------------------------------------------------------------
7999
8000
// -------------------------------------------------------------------
8001
8002
// -------------------------------------------------------------------
8003
8004
// -------------------------------------------------------------------
8005
8006
// -------------------------------------------------------------------
8007
8008
// -------------------------------------------------------------------
8009
8010
// -------------------------------------------------------------------
8011
8012
// -------------------------------------------------------------------
8013
8014
// -------------------------------------------------------------------
8015
8016
// -------------------------------------------------------------------
8017
8018
// -------------------------------------------------------------------
8019
8020
// -------------------------------------------------------------------
8021
8022
// -------------------------------------------------------------------
8023
8024
// -------------------------------------------------------------------
8025
8026
// -------------------------------------------------------------------
8027
8028
// -------------------------------------------------------------------
8029
8030
// -------------------------------------------------------------------
8031
8032
// -------------------------------------------------------------------
8033
8034
// -------------------------------------------------------------------
8035
8036
// -------------------------------------------------------------------
8037
8038
// -------------------------------------------------------------------
8039
8040
// -------------------------------------------------------------------
8041
8042
8043
// @@protoc_insertion_point(namespace_scope)
8044
8045
}  // namespace yb
8046
8047
namespace google {
8048
namespace protobuf {
8049
8050
template <> struct is_proto_enum< ::yb::RedisSubKeyBoundPB_InfinityType> : ::google::protobuf::internal::true_type {};
8051
template <>
8052
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisSubKeyBoundPB_InfinityType>() {
8053
0
  return ::yb::RedisSubKeyBoundPB_InfinityType_descriptor();
8054
0
}
8055
template <> struct is_proto_enum< ::yb::SortedSetOptionsPB_UpdateOptions> : ::google::protobuf::internal::true_type {};
8056
template <>
8057
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::SortedSetOptionsPB_UpdateOptions>() {
8058
0
  return ::yb::SortedSetOptionsPB_UpdateOptions_descriptor();
8059
0
}
8060
template <> struct is_proto_enum< ::yb::RedisGetRequestPB_GetRequestType> : ::google::protobuf::internal::true_type {};
8061
template <>
8062
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisGetRequestPB_GetRequestType>() {
8063
0
  return ::yb::RedisGetRequestPB_GetRequestType_descriptor();
8064
0
}
8065
template <> struct is_proto_enum< ::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType> : ::google::protobuf::internal::true_type {};
8066
template <>
8067
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType>() {
8068
0
  return ::yb::RedisCollectionGetRangeRequestPB_GetRangeRequestType_descriptor();
8069
0
}
8070
template <> struct is_proto_enum< ::yb::RedisResponsePB_RedisStatusCode> : ::google::protobuf::internal::true_type {};
8071
template <>
8072
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisResponsePB_RedisStatusCode>() {
8073
0
  return ::yb::RedisResponsePB_RedisStatusCode_descriptor();
8074
0
}
8075
template <> struct is_proto_enum< ::yb::RedisDataType> : ::google::protobuf::internal::true_type {};
8076
template <>
8077
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisDataType>() {
8078
0
  return ::yb::RedisDataType_descriptor();
8079
0
}
8080
template <> struct is_proto_enum< ::yb::RedisSide> : ::google::protobuf::internal::true_type {};
8081
template <>
8082
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisSide>() {
8083
0
  return ::yb::RedisSide_descriptor();
8084
0
}
8085
template <> struct is_proto_enum< ::yb::RedisOrder> : ::google::protobuf::internal::true_type {};
8086
template <>
8087
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisOrder>() {
8088
0
  return ::yb::RedisOrder_descriptor();
8089
0
}
8090
template <> struct is_proto_enum< ::yb::RedisWriteMode> : ::google::protobuf::internal::true_type {};
8091
template <>
8092
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::RedisWriteMode>() {
8093
0
  return ::yb::RedisWriteMode_descriptor();
8094
0
}
8095
8096
}  // namespace protobuf
8097
}  // namespace google
8098
8099
// @@protoc_insertion_point(global_scope)
8100
8101
#endif  // PROTOBUF_yb_2fcommon_2fredis_5fprotocol_2eproto__INCLUDED