| 1 | # | ||
| 2 | # This file is part of AnyEvent-Riak | ||
| 3 | # | ||
| 4 | # This software is copyright (c) 2014 by Damien Krotkine. | ||
| 5 | # | ||
| 6 | # This is free software; you can redistribute it and/or modify it under | ||
| 7 | # the same terms as the Perl 5 programming language system itself. | ||
| 8 | # | ||
| 9 | package AnyEvent::Riak::PBC; | ||
| 10 | $AnyEvent::Riak::PBC::VERSION = '0.93'; | ||
| 11 | # ABSTRACT: internal module, ProtocolBuffers generated methods | ||
| 12 | |||
| 13 | ## | ||
| 14 | ## This file was generated by Google::ProtocolBuffers (0.09) | ||
| 15 | ## on Wed Apr 1 21:21:50 2015 from file /Users/dkrotkine/Devel/p5-anyevent-riak/pbc/riak.proto | ||
| 16 | ## | ||
| 17 | |||
| 18 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 2 | ▶ | use Google::ProtocolBuffers; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | { | ||
| 22 | unless (RpbIndexReq::IndexQueryType->can('_pb_fields_list')) { | ||
| 23 | Google::ProtocolBuffers->create_enum( | ||
| 24 | 'RpbIndexReq::IndexQueryType', | ||
| 25 | [ | ||
| 26 | ['eq', 0], | ||
| 27 | ['range', 1], | ||
| 28 | |||
| 29 | ] | ||
| 30 | ); | ||
| 31 | } | ||
| 32 | |||
| 33 | unless (RpbBucketProps::RpbReplMode->can('_pb_fields_list')) { | ||
| 34 | Google::ProtocolBuffers->create_enum( | ||
| 35 | 'RpbBucketProps::RpbReplMode', | ||
| 36 | [ | ||
| 37 | ['FALSE', 0], | ||
| 38 | ['REALTIME', 1], | ||
| 39 | ['FULLSYNC', 2], | ||
| 40 | ['TRUE', 3], | ||
| 41 | |||
| 42 | ] | ||
| 43 | ); | ||
| 44 | } | ||
| 45 | |||
| 46 | unless (RpbPutReq->can('_pb_fields_list')) { | ||
| 47 | Google::ProtocolBuffers->create_message( | ||
| 48 | 'RpbPutReq', | ||
| 49 | [ | ||
| 50 | [ | ||
| 51 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 52 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 53 | 'bucket', 1, undef | ||
| 54 | ], | ||
| 55 | [ | ||
| 56 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 57 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 58 | 'key', 2, undef | ||
| 59 | ], | ||
| 60 | [ | ||
| 61 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 62 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 63 | 'vclock', 3, undef | ||
| 64 | ], | ||
| 65 | [ | ||
| 66 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 67 | 'RpbContent', | ||
| 68 | 'content', 4, undef | ||
| 69 | ], | ||
| 70 | [ | ||
| 71 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 72 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 73 | 'w', 5, undef | ||
| 74 | ], | ||
| 75 | [ | ||
| 76 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 77 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 78 | 'dw', 6, undef | ||
| 79 | ], | ||
| 80 | [ | ||
| 81 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 82 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 83 | 'return_body', 7, undef | ||
| 84 | ], | ||
| 85 | [ | ||
| 86 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 87 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 88 | 'pw', 8, undef | ||
| 89 | ], | ||
| 90 | [ | ||
| 91 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 92 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 93 | 'if_not_modified', 9, undef | ||
| 94 | ], | ||
| 95 | [ | ||
| 96 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 97 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 98 | 'if_none_match', 10, undef | ||
| 99 | ], | ||
| 100 | [ | ||
| 101 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 102 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 103 | 'return_head', 11, undef | ||
| 104 | ], | ||
| 105 | [ | ||
| 106 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 107 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 108 | 'timeout', 12, undef | ||
| 109 | ], | ||
| 110 | [ | ||
| 111 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 112 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 113 | 'asis', 13, undef | ||
| 114 | ], | ||
| 115 | [ | ||
| 116 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 117 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 118 | 'sloppy_quorum', 14, undef | ||
| 119 | ], | ||
| 120 | [ | ||
| 121 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 122 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 123 | 'n_val', 15, undef | ||
| 124 | ], | ||
| 125 | [ | ||
| 126 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 127 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 128 | 'type', 16, undef | ||
| 129 | ], | ||
| 130 | |||
| 131 | ], | ||
| 132 | { 'create_accessors' => 1, } | ||
| 133 | ); | ||
| 134 | } | ||
| 135 | |||
| 136 | unless (RpbPair->can('_pb_fields_list')) { | ||
| 137 | Google::ProtocolBuffers->create_message( | ||
| 138 | 'RpbPair', | ||
| 139 | [ | ||
| 140 | [ | ||
| 141 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 142 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 143 | 'key', 1, undef | ||
| 144 | ], | ||
| 145 | [ | ||
| 146 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 147 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 148 | 'value', 2, undef | ||
| 149 | ], | ||
| 150 | |||
| 151 | ], | ||
| 152 | { 'create_accessors' => 1, } | ||
| 153 | ); | ||
| 154 | } | ||
| 155 | |||
| 156 | unless (RpbPutResp->can('_pb_fields_list')) { | ||
| 157 | Google::ProtocolBuffers->create_message( | ||
| 158 | 'RpbPutResp', | ||
| 159 | [ | ||
| 160 | [ | ||
| 161 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 162 | 'RpbContent', | ||
| 163 | 'content', 1, undef | ||
| 164 | ], | ||
| 165 | [ | ||
| 166 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 167 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 168 | 'vclock', 2, undef | ||
| 169 | ], | ||
| 170 | [ | ||
| 171 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 172 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 173 | 'key', 3, undef | ||
| 174 | ], | ||
| 175 | |||
| 176 | ], | ||
| 177 | { 'create_accessors' => 1, } | ||
| 178 | ); | ||
| 179 | } | ||
| 180 | |||
| 181 | unless (RpbGetReq->can('_pb_fields_list')) { | ||
| 182 | Google::ProtocolBuffers->create_message( | ||
| 183 | 'RpbGetReq', | ||
| 184 | [ | ||
| 185 | [ | ||
| 186 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 187 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 188 | 'bucket', 1, undef | ||
| 189 | ], | ||
| 190 | [ | ||
| 191 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 192 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 193 | 'key', 2, undef | ||
| 194 | ], | ||
| 195 | [ | ||
| 196 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 197 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 198 | 'r', 3, undef | ||
| 199 | ], | ||
| 200 | [ | ||
| 201 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 202 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 203 | 'pr', 4, undef | ||
| 204 | ], | ||
| 205 | [ | ||
| 206 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 207 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 208 | 'basic_quorum', 5, undef | ||
| 209 | ], | ||
| 210 | [ | ||
| 211 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 212 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 213 | 'notfound_ok', 6, undef | ||
| 214 | ], | ||
| 215 | [ | ||
| 216 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 217 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 218 | 'if_modified', 7, undef | ||
| 219 | ], | ||
| 220 | [ | ||
| 221 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 222 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 223 | 'head', 8, undef | ||
| 224 | ], | ||
| 225 | [ | ||
| 226 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 227 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 228 | 'deletedvclock', 9, undef | ||
| 229 | ], | ||
| 230 | [ | ||
| 231 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 232 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 233 | 'timeout', 10, undef | ||
| 234 | ], | ||
| 235 | [ | ||
| 236 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 237 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 238 | 'sloppy_quorum', 11, undef | ||
| 239 | ], | ||
| 240 | [ | ||
| 241 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 242 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 243 | 'n_val', 12, undef | ||
| 244 | ], | ||
| 245 | [ | ||
| 246 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 247 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 248 | 'type', 13, undef | ||
| 249 | ], | ||
| 250 | |||
| 251 | ], | ||
| 252 | { 'create_accessors' => 1, } | ||
| 253 | ); | ||
| 254 | } | ||
| 255 | |||
| 256 | unless (RpbCSBucketReq->can('_pb_fields_list')) { | ||
| 257 | Google::ProtocolBuffers->create_message( | ||
| 258 | 'RpbCSBucketReq', | ||
| 259 | [ | ||
| 260 | [ | ||
| 261 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 262 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 263 | 'bucket', 1, undef | ||
| 264 | ], | ||
| 265 | [ | ||
| 266 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 267 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 268 | 'start_key', 2, undef | ||
| 269 | ], | ||
| 270 | [ | ||
| 271 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 272 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 273 | 'end_key', 3, undef | ||
| 274 | ], | ||
| 275 | [ | ||
| 276 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 277 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 278 | 'start_incl', 4, 1 | ||
| 279 | ], | ||
| 280 | [ | ||
| 281 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 282 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 283 | 'end_incl', 5, 0 | ||
| 284 | ], | ||
| 285 | [ | ||
| 286 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 287 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 288 | 'continuation', 6, undef | ||
| 289 | ], | ||
| 290 | [ | ||
| 291 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 292 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 293 | 'max_results', 7, undef | ||
| 294 | ], | ||
| 295 | [ | ||
| 296 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 297 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 298 | 'timeout', 8, undef | ||
| 299 | ], | ||
| 300 | [ | ||
| 301 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 302 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 303 | 'type', 9, undef | ||
| 304 | ], | ||
| 305 | |||
| 306 | ], | ||
| 307 | { 'create_accessors' => 1, } | ||
| 308 | ); | ||
| 309 | } | ||
| 310 | |||
| 311 | unless (RpbCounterGetReq->can('_pb_fields_list')) { | ||
| 312 | Google::ProtocolBuffers->create_message( | ||
| 313 | 'RpbCounterGetReq', | ||
| 314 | [ | ||
| 315 | [ | ||
| 316 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 317 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 318 | 'bucket', 1, undef | ||
| 319 | ], | ||
| 320 | [ | ||
| 321 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 322 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 323 | 'key', 2, undef | ||
| 324 | ], | ||
| 325 | [ | ||
| 326 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 327 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 328 | 'r', 3, undef | ||
| 329 | ], | ||
| 330 | [ | ||
| 331 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 332 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 333 | 'pr', 4, undef | ||
| 334 | ], | ||
| 335 | [ | ||
| 336 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 337 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 338 | 'basic_quorum', 5, undef | ||
| 339 | ], | ||
| 340 | [ | ||
| 341 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 342 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 343 | 'notfound_ok', 6, undef | ||
| 344 | ], | ||
| 345 | |||
| 346 | ], | ||
| 347 | { 'create_accessors' => 1, } | ||
| 348 | ); | ||
| 349 | } | ||
| 350 | |||
| 351 | unless (RpbSetClientIdReq->can('_pb_fields_list')) { | ||
| 352 | Google::ProtocolBuffers->create_message( | ||
| 353 | 'RpbSetClientIdReq', | ||
| 354 | [ | ||
| 355 | [ | ||
| 356 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 357 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 358 | 'client_id', 1, undef | ||
| 359 | ], | ||
| 360 | |||
| 361 | ], | ||
| 362 | { 'create_accessors' => 1, } | ||
| 363 | ); | ||
| 364 | } | ||
| 365 | |||
| 366 | unless (RpbContent->can('_pb_fields_list')) { | ||
| 367 | Google::ProtocolBuffers->create_message( | ||
| 368 | 'RpbContent', | ||
| 369 | [ | ||
| 370 | [ | ||
| 371 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 372 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 373 | 'value', 1, undef | ||
| 374 | ], | ||
| 375 | [ | ||
| 376 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 377 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 378 | 'content_type', 2, undef | ||
| 379 | ], | ||
| 380 | [ | ||
| 381 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 382 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 383 | 'charset', 3, undef | ||
| 384 | ], | ||
| 385 | [ | ||
| 386 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 387 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 388 | 'content_encoding', 4, undef | ||
| 389 | ], | ||
| 390 | [ | ||
| 391 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 392 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 393 | 'vtag', 5, undef | ||
| 394 | ], | ||
| 395 | [ | ||
| 396 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 397 | 'RpbLink', | ||
| 398 | 'links', 6, undef | ||
| 399 | ], | ||
| 400 | [ | ||
| 401 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 402 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 403 | 'last_mod', 7, undef | ||
| 404 | ], | ||
| 405 | [ | ||
| 406 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 407 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 408 | 'last_mod_usecs', 8, undef | ||
| 409 | ], | ||
| 410 | [ | ||
| 411 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 412 | 'RpbPair', | ||
| 413 | 'usermeta', 9, undef | ||
| 414 | ], | ||
| 415 | [ | ||
| 416 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 417 | 'RpbPair', | ||
| 418 | 'indexes', 10, undef | ||
| 419 | ], | ||
| 420 | [ | ||
| 421 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 422 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 423 | 'deleted', 11, undef | ||
| 424 | ], | ||
| 425 | |||
| 426 | ], | ||
| 427 | { 'create_accessors' => 1, } | ||
| 428 | ); | ||
| 429 | } | ||
| 430 | |||
| 431 | unless (RpbBucketProps->can('_pb_fields_list')) { | ||
| 432 | Google::ProtocolBuffers->create_message( | ||
| 433 | 'RpbBucketProps', | ||
| 434 | [ | ||
| 435 | [ | ||
| 436 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 437 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 438 | 'n_val', 1, undef | ||
| 439 | ], | ||
| 440 | [ | ||
| 441 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 442 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 443 | 'allow_mult', 2, undef | ||
| 444 | ], | ||
| 445 | [ | ||
| 446 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 447 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 448 | 'last_write_wins', 3, undef | ||
| 449 | ], | ||
| 450 | [ | ||
| 451 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 452 | 'RpbCommitHook', | ||
| 453 | 'precommit', 4, undef | ||
| 454 | ], | ||
| 455 | [ | ||
| 456 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 457 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 458 | 'has_precommit', 5, 0 | ||
| 459 | ], | ||
| 460 | [ | ||
| 461 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 462 | 'RpbCommitHook', | ||
| 463 | 'postcommit', 6, undef | ||
| 464 | ], | ||
| 465 | [ | ||
| 466 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 467 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 468 | 'has_postcommit', 7, 0 | ||
| 469 | ], | ||
| 470 | [ | ||
| 471 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 472 | 'RpbModFun', | ||
| 473 | 'chash_keyfun', 8, undef | ||
| 474 | ], | ||
| 475 | [ | ||
| 476 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 477 | 'RpbModFun', | ||
| 478 | 'linkfun', 9, undef | ||
| 479 | ], | ||
| 480 | [ | ||
| 481 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 482 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 483 | 'old_vclock', 10, undef | ||
| 484 | ], | ||
| 485 | [ | ||
| 486 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 487 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 488 | 'young_vclock', 11, undef | ||
| 489 | ], | ||
| 490 | [ | ||
| 491 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 492 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 493 | 'big_vclock', 12, undef | ||
| 494 | ], | ||
| 495 | [ | ||
| 496 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 497 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 498 | 'small_vclock', 13, undef | ||
| 499 | ], | ||
| 500 | [ | ||
| 501 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 502 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 503 | 'pr', 14, undef | ||
| 504 | ], | ||
| 505 | [ | ||
| 506 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 507 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 508 | 'r', 15, undef | ||
| 509 | ], | ||
| 510 | [ | ||
| 511 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 512 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 513 | 'w', 16, undef | ||
| 514 | ], | ||
| 515 | [ | ||
| 516 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 517 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 518 | 'pw', 17, undef | ||
| 519 | ], | ||
| 520 | [ | ||
| 521 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 522 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 523 | 'dw', 18, undef | ||
| 524 | ], | ||
| 525 | [ | ||
| 526 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 527 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 528 | 'rw', 19, undef | ||
| 529 | ], | ||
| 530 | [ | ||
| 531 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 532 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 533 | 'basic_quorum', 20, undef | ||
| 534 | ], | ||
| 535 | [ | ||
| 536 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 537 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 538 | 'notfound_ok', 21, undef | ||
| 539 | ], | ||
| 540 | [ | ||
| 541 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 542 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 543 | 'backend', 22, undef | ||
| 544 | ], | ||
| 545 | [ | ||
| 546 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 547 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 548 | 'search', 23, undef | ||
| 549 | ], | ||
| 550 | [ | ||
| 551 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 552 | 'RpbBucketProps::RpbReplMode', | ||
| 553 | 'repl', 24, undef | ||
| 554 | ], | ||
| 555 | [ | ||
| 556 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 557 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 558 | 'search_index', 25, undef | ||
| 559 | ], | ||
| 560 | [ | ||
| 561 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 562 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 563 | 'datatype', 26, undef | ||
| 564 | ], | ||
| 565 | [ | ||
| 566 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 567 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 568 | 'consistent', 27, undef | ||
| 569 | ], | ||
| 570 | |||
| 571 | ], | ||
| 572 | { 'create_accessors' => 1, } | ||
| 573 | ); | ||
| 574 | } | ||
| 575 | |||
| 576 | unless (RpbSetBucketReq->can('_pb_fields_list')) { | ||
| 577 | Google::ProtocolBuffers->create_message( | ||
| 578 | 'RpbSetBucketReq', | ||
| 579 | [ | ||
| 580 | [ | ||
| 581 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 582 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 583 | 'bucket', 1, undef | ||
| 584 | ], | ||
| 585 | [ | ||
| 586 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 587 | 'RpbBucketProps', | ||
| 588 | 'props', 2, undef | ||
| 589 | ], | ||
| 590 | [ | ||
| 591 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 592 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 593 | 'type', 3, undef | ||
| 594 | ], | ||
| 595 | |||
| 596 | ], | ||
| 597 | { 'create_accessors' => 1, } | ||
| 598 | ); | ||
| 599 | } | ||
| 600 | |||
| 601 | unless (RpbGetBucketResp->can('_pb_fields_list')) { | ||
| 602 | Google::ProtocolBuffers->create_message( | ||
| 603 | 'RpbGetBucketResp', | ||
| 604 | [ | ||
| 605 | [ | ||
| 606 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 607 | 'RpbBucketProps', | ||
| 608 | 'props', 1, undef | ||
| 609 | ], | ||
| 610 | |||
| 611 | ], | ||
| 612 | { 'create_accessors' => 1, } | ||
| 613 | ); | ||
| 614 | } | ||
| 615 | |||
| 616 | unless (RpbGetBucketReq->can('_pb_fields_list')) { | ||
| 617 | Google::ProtocolBuffers->create_message( | ||
| 618 | 'RpbGetBucketReq', | ||
| 619 | [ | ||
| 620 | [ | ||
| 621 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 622 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 623 | 'bucket', 1, undef | ||
| 624 | ], | ||
| 625 | [ | ||
| 626 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 627 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 628 | 'type', 2, undef | ||
| 629 | ], | ||
| 630 | |||
| 631 | ], | ||
| 632 | { 'create_accessors' => 1, } | ||
| 633 | ); | ||
| 634 | } | ||
| 635 | |||
| 636 | unless (RpbGetClientIdResp->can('_pb_fields_list')) { | ||
| 637 | Google::ProtocolBuffers->create_message( | ||
| 638 | 'RpbGetClientIdResp', | ||
| 639 | [ | ||
| 640 | [ | ||
| 641 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 642 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 643 | 'client_id', 1, undef | ||
| 644 | ], | ||
| 645 | |||
| 646 | ], | ||
| 647 | { 'create_accessors' => 1, } | ||
| 648 | ); | ||
| 649 | } | ||
| 650 | |||
| 651 | unless (RpbIndexReq->can('_pb_fields_list')) { | ||
| 652 | Google::ProtocolBuffers->create_message( | ||
| 653 | 'RpbIndexReq', | ||
| 654 | [ | ||
| 655 | [ | ||
| 656 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 657 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 658 | 'bucket', 1, undef | ||
| 659 | ], | ||
| 660 | [ | ||
| 661 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 662 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 663 | 'index', 2, undef | ||
| 664 | ], | ||
| 665 | [ | ||
| 666 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 667 | 'RpbIndexReq::IndexQueryType', | ||
| 668 | 'qtype', 3, undef | ||
| 669 | ], | ||
| 670 | [ | ||
| 671 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 672 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 673 | 'key', 4, undef | ||
| 674 | ], | ||
| 675 | [ | ||
| 676 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 677 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 678 | 'range_min', 5, undef | ||
| 679 | ], | ||
| 680 | [ | ||
| 681 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 682 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 683 | 'range_max', 6, undef | ||
| 684 | ], | ||
| 685 | [ | ||
| 686 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 687 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 688 | 'return_terms', 7, undef | ||
| 689 | ], | ||
| 690 | [ | ||
| 691 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 692 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 693 | 'stream', 8, undef | ||
| 694 | ], | ||
| 695 | [ | ||
| 696 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 697 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 698 | 'max_results', 9, undef | ||
| 699 | ], | ||
| 700 | [ | ||
| 701 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 702 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 703 | 'continuation', 10, undef | ||
| 704 | ], | ||
| 705 | [ | ||
| 706 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 707 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 708 | 'timeout', 11, undef | ||
| 709 | ], | ||
| 710 | [ | ||
| 711 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 712 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 713 | 'type', 12, undef | ||
| 714 | ], | ||
| 715 | [ | ||
| 716 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 717 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 718 | 'term_regex', 13, undef | ||
| 719 | ], | ||
| 720 | [ | ||
| 721 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 722 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 723 | 'pagination_sort', 14, undef | ||
| 724 | ], | ||
| 725 | |||
| 726 | ], | ||
| 727 | { 'create_accessors' => 1, } | ||
| 728 | ); | ||
| 729 | } | ||
| 730 | |||
| 731 | unless (RpbMapRedResp->can('_pb_fields_list')) { | ||
| 732 | Google::ProtocolBuffers->create_message( | ||
| 733 | 'RpbMapRedResp', | ||
| 734 | [ | ||
| 735 | [ | ||
| 736 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 737 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 738 | 'phase', 1, undef | ||
| 739 | ], | ||
| 740 | [ | ||
| 741 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 742 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 743 | 'response', 2, undef | ||
| 744 | ], | ||
| 745 | [ | ||
| 746 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 747 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 748 | 'done', 3, undef | ||
| 749 | ], | ||
| 750 | |||
| 751 | ], | ||
| 752 | { 'create_accessors' => 1, } | ||
| 753 | ); | ||
| 754 | } | ||
| 755 | |||
| 756 | unless (RpbCounterGetResp->can('_pb_fields_list')) { | ||
| 757 | Google::ProtocolBuffers->create_message( | ||
| 758 | 'RpbCounterGetResp', | ||
| 759 | [ | ||
| 760 | [ | ||
| 761 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 762 | Google::ProtocolBuffers::Constants::TYPE_SINT64(), | ||
| 763 | 'value', 1, undef | ||
| 764 | ], | ||
| 765 | |||
| 766 | ], | ||
| 767 | { 'create_accessors' => 1, } | ||
| 768 | ); | ||
| 769 | } | ||
| 770 | |||
| 771 | unless (RpbResetBucketReq->can('_pb_fields_list')) { | ||
| 772 | Google::ProtocolBuffers->create_message( | ||
| 773 | 'RpbResetBucketReq', | ||
| 774 | [ | ||
| 775 | [ | ||
| 776 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 777 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 778 | 'bucket', 1, undef | ||
| 779 | ], | ||
| 780 | [ | ||
| 781 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 782 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 783 | 'type', 2, undef | ||
| 784 | ], | ||
| 785 | |||
| 786 | ], | ||
| 787 | { 'create_accessors' => 1, } | ||
| 788 | ); | ||
| 789 | } | ||
| 790 | |||
| 791 | unless (RpbMapRedReq->can('_pb_fields_list')) { | ||
| 792 | Google::ProtocolBuffers->create_message( | ||
| 793 | 'RpbMapRedReq', | ||
| 794 | [ | ||
| 795 | [ | ||
| 796 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 797 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 798 | 'request', 1, undef | ||
| 799 | ], | ||
| 800 | [ | ||
| 801 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 802 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 803 | 'content_type', 2, undef | ||
| 804 | ], | ||
| 805 | |||
| 806 | ], | ||
| 807 | { 'create_accessors' => 1, } | ||
| 808 | ); | ||
| 809 | } | ||
| 810 | |||
| 811 | unless (RpbLink->can('_pb_fields_list')) { | ||
| 812 | Google::ProtocolBuffers->create_message( | ||
| 813 | 'RpbLink', | ||
| 814 | [ | ||
| 815 | [ | ||
| 816 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 817 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 818 | 'bucket', 1, undef | ||
| 819 | ], | ||
| 820 | [ | ||
| 821 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 822 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 823 | 'key', 2, undef | ||
| 824 | ], | ||
| 825 | [ | ||
| 826 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 827 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 828 | 'tag', 3, undef | ||
| 829 | ], | ||
| 830 | |||
| 831 | ], | ||
| 832 | { 'create_accessors' => 1, } | ||
| 833 | ); | ||
| 834 | } | ||
| 835 | |||
| 836 | unless (RpbGetBucketTypeReq->can('_pb_fields_list')) { | ||
| 837 | Google::ProtocolBuffers->create_message( | ||
| 838 | 'RpbGetBucketTypeReq', | ||
| 839 | [ | ||
| 840 | [ | ||
| 841 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 842 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 843 | 'type', 1, undef | ||
| 844 | ], | ||
| 845 | |||
| 846 | ], | ||
| 847 | { 'create_accessors' => 1, } | ||
| 848 | ); | ||
| 849 | } | ||
| 850 | |||
| 851 | unless (RpbDelReq->can('_pb_fields_list')) { | ||
| 852 | Google::ProtocolBuffers->create_message( | ||
| 853 | 'RpbDelReq', | ||
| 854 | [ | ||
| 855 | [ | ||
| 856 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 857 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 858 | 'bucket', 1, undef | ||
| 859 | ], | ||
| 860 | [ | ||
| 861 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 862 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 863 | 'key', 2, undef | ||
| 864 | ], | ||
| 865 | [ | ||
| 866 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 867 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 868 | 'rw', 3, undef | ||
| 869 | ], | ||
| 870 | [ | ||
| 871 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 872 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 873 | 'vclock', 4, undef | ||
| 874 | ], | ||
| 875 | [ | ||
| 876 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 877 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 878 | 'r', 5, undef | ||
| 879 | ], | ||
| 880 | [ | ||
| 881 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 882 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 883 | 'w', 6, undef | ||
| 884 | ], | ||
| 885 | [ | ||
| 886 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 887 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 888 | 'pr', 7, undef | ||
| 889 | ], | ||
| 890 | [ | ||
| 891 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 892 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 893 | 'pw', 8, undef | ||
| 894 | ], | ||
| 895 | [ | ||
| 896 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 897 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 898 | 'dw', 9, undef | ||
| 899 | ], | ||
| 900 | [ | ||
| 901 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 902 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 903 | 'timeout', 10, undef | ||
| 904 | ], | ||
| 905 | [ | ||
| 906 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 907 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 908 | 'sloppy_quorum', 11, undef | ||
| 909 | ], | ||
| 910 | [ | ||
| 911 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 912 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 913 | 'n_val', 12, undef | ||
| 914 | ], | ||
| 915 | [ | ||
| 916 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 917 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 918 | 'type', 13, undef | ||
| 919 | ], | ||
| 920 | |||
| 921 | ], | ||
| 922 | { 'create_accessors' => 1, } | ||
| 923 | ); | ||
| 924 | } | ||
| 925 | |||
| 926 | unless (RpbIndexObject->can('_pb_fields_list')) { | ||
| 927 | Google::ProtocolBuffers->create_message( | ||
| 928 | 'RpbIndexObject', | ||
| 929 | [ | ||
| 930 | [ | ||
| 931 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 932 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 933 | 'key', 1, undef | ||
| 934 | ], | ||
| 935 | [ | ||
| 936 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 937 | 'RpbGetResp', | ||
| 938 | 'object', 2, undef | ||
| 939 | ], | ||
| 940 | |||
| 941 | ], | ||
| 942 | { 'create_accessors' => 1, } | ||
| 943 | ); | ||
| 944 | } | ||
| 945 | |||
| 946 | unless (RpbCounterUpdateReq->can('_pb_fields_list')) { | ||
| 947 | Google::ProtocolBuffers->create_message( | ||
| 948 | 'RpbCounterUpdateReq', | ||
| 949 | [ | ||
| 950 | [ | ||
| 951 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 952 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 953 | 'bucket', 1, undef | ||
| 954 | ], | ||
| 955 | [ | ||
| 956 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 957 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 958 | 'key', 2, undef | ||
| 959 | ], | ||
| 960 | [ | ||
| 961 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 962 | Google::ProtocolBuffers::Constants::TYPE_SINT64(), | ||
| 963 | 'amount', 3, undef | ||
| 964 | ], | ||
| 965 | [ | ||
| 966 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 967 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 968 | 'w', 4, undef | ||
| 969 | ], | ||
| 970 | [ | ||
| 971 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 972 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 973 | 'dw', 5, undef | ||
| 974 | ], | ||
| 975 | [ | ||
| 976 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 977 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 978 | 'pw', 6, undef | ||
| 979 | ], | ||
| 980 | [ | ||
| 981 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 982 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 983 | 'returnvalue', 7, undef | ||
| 984 | ], | ||
| 985 | |||
| 986 | ], | ||
| 987 | { 'create_accessors' => 1, } | ||
| 988 | ); | ||
| 989 | } | ||
| 990 | |||
| 991 | unless (RpbModFun->can('_pb_fields_list')) { | ||
| 992 | Google::ProtocolBuffers->create_message( | ||
| 993 | 'RpbModFun', | ||
| 994 | [ | ||
| 995 | [ | ||
| 996 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 997 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 998 | 'module', 1, undef | ||
| 999 | ], | ||
| 1000 | [ | ||
| 1001 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1002 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1003 | 'function', 2, undef | ||
| 1004 | ], | ||
| 1005 | |||
| 1006 | ], | ||
| 1007 | { 'create_accessors' => 1, } | ||
| 1008 | ); | ||
| 1009 | } | ||
| 1010 | |||
| 1011 | unless (RpbGetServerInfoResp->can('_pb_fields_list')) { | ||
| 1012 | Google::ProtocolBuffers->create_message( | ||
| 1013 | 'RpbGetServerInfoResp', | ||
| 1014 | [ | ||
| 1015 | [ | ||
| 1016 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1017 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1018 | 'node', 1, undef | ||
| 1019 | ], | ||
| 1020 | [ | ||
| 1021 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1022 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1023 | 'server_version', 2, undef | ||
| 1024 | ], | ||
| 1025 | |||
| 1026 | ], | ||
| 1027 | { 'create_accessors' => 1, } | ||
| 1028 | ); | ||
| 1029 | } | ||
| 1030 | |||
| 1031 | unless (RpbGetResp->can('_pb_fields_list')) { | ||
| 1032 | Google::ProtocolBuffers->create_message( | ||
| 1033 | 'RpbGetResp', | ||
| 1034 | [ | ||
| 1035 | [ | ||
| 1036 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 1037 | 'RpbContent', | ||
| 1038 | 'content', 1, undef | ||
| 1039 | ], | ||
| 1040 | [ | ||
| 1041 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1042 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1043 | 'vclock', 2, undef | ||
| 1044 | ], | ||
| 1045 | [ | ||
| 1046 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1047 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 1048 | 'unchanged', 3, undef | ||
| 1049 | ], | ||
| 1050 | |||
| 1051 | ], | ||
| 1052 | { 'create_accessors' => 1, } | ||
| 1053 | ); | ||
| 1054 | } | ||
| 1055 | |||
| 1056 | unless (RpbAuthReq->can('_pb_fields_list')) { | ||
| 1057 | Google::ProtocolBuffers->create_message( | ||
| 1058 | 'RpbAuthReq', | ||
| 1059 | [ | ||
| 1060 | [ | ||
| 1061 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1062 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1063 | 'user', 1, undef | ||
| 1064 | ], | ||
| 1065 | [ | ||
| 1066 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1067 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1068 | 'password', 2, undef | ||
| 1069 | ], | ||
| 1070 | |||
| 1071 | ], | ||
| 1072 | { 'create_accessors' => 1, } | ||
| 1073 | ); | ||
| 1074 | } | ||
| 1075 | |||
| 1076 | unless (RpbIndexResp->can('_pb_fields_list')) { | ||
| 1077 | Google::ProtocolBuffers->create_message( | ||
| 1078 | 'RpbIndexResp', | ||
| 1079 | [ | ||
| 1080 | [ | ||
| 1081 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 1082 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1083 | 'keys', 1, undef | ||
| 1084 | ], | ||
| 1085 | [ | ||
| 1086 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 1087 | 'RpbPair', | ||
| 1088 | 'results', 2, undef | ||
| 1089 | ], | ||
| 1090 | [ | ||
| 1091 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1092 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1093 | 'continuation', 3, undef | ||
| 1094 | ], | ||
| 1095 | [ | ||
| 1096 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1097 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 1098 | 'done', 4, undef | ||
| 1099 | ], | ||
| 1100 | |||
| 1101 | ], | ||
| 1102 | { 'create_accessors' => 1, } | ||
| 1103 | ); | ||
| 1104 | } | ||
| 1105 | |||
| 1106 | unless (RpbErrorResp->can('_pb_fields_list')) { | ||
| 1107 | Google::ProtocolBuffers->create_message( | ||
| 1108 | 'RpbErrorResp', | ||
| 1109 | [ | ||
| 1110 | [ | ||
| 1111 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1112 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1113 | 'errmsg', 1, undef | ||
| 1114 | ], | ||
| 1115 | [ | ||
| 1116 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1117 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 1118 | 'errcode', 2, undef | ||
| 1119 | ], | ||
| 1120 | |||
| 1121 | ], | ||
| 1122 | { 'create_accessors' => 1, } | ||
| 1123 | ); | ||
| 1124 | } | ||
| 1125 | |||
| 1126 | unless (RpbListBucketsReq->can('_pb_fields_list')) { | ||
| 1127 | Google::ProtocolBuffers->create_message( | ||
| 1128 | 'RpbListBucketsReq', | ||
| 1129 | [ | ||
| 1130 | [ | ||
| 1131 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1132 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 1133 | 'timeout', 1, undef | ||
| 1134 | ], | ||
| 1135 | [ | ||
| 1136 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1137 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 1138 | 'stream', 2, undef | ||
| 1139 | ], | ||
| 1140 | [ | ||
| 1141 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1142 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1143 | 'type', 3, undef | ||
| 1144 | ], | ||
| 1145 | |||
| 1146 | ], | ||
| 1147 | { 'create_accessors' => 1, } | ||
| 1148 | ); | ||
| 1149 | } | ||
| 1150 | |||
| 1151 | unless (RpbListKeysResp->can('_pb_fields_list')) { | ||
| 1152 | Google::ProtocolBuffers->create_message( | ||
| 1153 | 'RpbListKeysResp', | ||
| 1154 | [ | ||
| 1155 | [ | ||
| 1156 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 1157 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1158 | 'keys', 1, undef | ||
| 1159 | ], | ||
| 1160 | [ | ||
| 1161 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1162 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 1163 | 'done', 2, undef | ||
| 1164 | ], | ||
| 1165 | |||
| 1166 | ], | ||
| 1167 | { 'create_accessors' => 1, } | ||
| 1168 | ); | ||
| 1169 | } | ||
| 1170 | |||
| 1171 | unless (RpbListBucketsResp->can('_pb_fields_list')) { | ||
| 1172 | Google::ProtocolBuffers->create_message( | ||
| 1173 | 'RpbListBucketsResp', | ||
| 1174 | [ | ||
| 1175 | [ | ||
| 1176 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 1177 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1178 | 'buckets', 1, undef | ||
| 1179 | ], | ||
| 1180 | [ | ||
| 1181 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1182 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 1183 | 'done', 2, undef | ||
| 1184 | ], | ||
| 1185 | |||
| 1186 | ], | ||
| 1187 | { 'create_accessors' => 1, } | ||
| 1188 | ); | ||
| 1189 | } | ||
| 1190 | |||
| 1191 | unless (RpbCounterUpdateResp->can('_pb_fields_list')) { | ||
| 1192 | Google::ProtocolBuffers->create_message( | ||
| 1193 | 'RpbCounterUpdateResp', | ||
| 1194 | [ | ||
| 1195 | [ | ||
| 1196 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1197 | Google::ProtocolBuffers::Constants::TYPE_SINT64(), | ||
| 1198 | 'value', 1, undef | ||
| 1199 | ], | ||
| 1200 | |||
| 1201 | ], | ||
| 1202 | { 'create_accessors' => 1, } | ||
| 1203 | ); | ||
| 1204 | } | ||
| 1205 | |||
| 1206 | unless (RpbListKeysReq->can('_pb_fields_list')) { | ||
| 1207 | Google::ProtocolBuffers->create_message( | ||
| 1208 | 'RpbListKeysReq', | ||
| 1209 | [ | ||
| 1210 | [ | ||
| 1211 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1212 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1213 | 'bucket', 1, undef | ||
| 1214 | ], | ||
| 1215 | [ | ||
| 1216 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1217 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 1218 | 'timeout', 2, undef | ||
| 1219 | ], | ||
| 1220 | [ | ||
| 1221 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1222 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1223 | 'type', 3, undef | ||
| 1224 | ], | ||
| 1225 | |||
| 1226 | ], | ||
| 1227 | { 'create_accessors' => 1, } | ||
| 1228 | ); | ||
| 1229 | } | ||
| 1230 | |||
| 1231 | unless (RpbCSBucketResp->can('_pb_fields_list')) { | ||
| 1232 | Google::ProtocolBuffers->create_message( | ||
| 1233 | 'RpbCSBucketResp', | ||
| 1234 | [ | ||
| 1235 | [ | ||
| 1236 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 1237 | 'RpbIndexObject', | ||
| 1238 | 'objects', 1, undef | ||
| 1239 | ], | ||
| 1240 | [ | ||
| 1241 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1242 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1243 | 'continuation', 2, undef | ||
| 1244 | ], | ||
| 1245 | [ | ||
| 1246 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1247 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 1248 | 'done', 3, undef | ||
| 1249 | ], | ||
| 1250 | |||
| 1251 | ], | ||
| 1252 | { 'create_accessors' => 1, } | ||
| 1253 | ); | ||
| 1254 | } | ||
| 1255 | |||
| 1256 | unless (RpbSetBucketTypeReq->can('_pb_fields_list')) { | ||
| 1257 | Google::ProtocolBuffers->create_message( | ||
| 1258 | 'RpbSetBucketTypeReq', | ||
| 1259 | [ | ||
| 1260 | [ | ||
| 1261 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1262 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1263 | 'type', 1, undef | ||
| 1264 | ], | ||
| 1265 | [ | ||
| 1266 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 1267 | 'RpbBucketProps', | ||
| 1268 | 'props', 2, undef | ||
| 1269 | ], | ||
| 1270 | |||
| 1271 | ], | ||
| 1272 | { 'create_accessors' => 1, } | ||
| 1273 | ); | ||
| 1274 | } | ||
| 1275 | |||
| 1276 | unless (RpbCommitHook->can('_pb_fields_list')) { | ||
| 1277 | Google::ProtocolBuffers->create_message( | ||
| 1278 | 'RpbCommitHook', | ||
| 1279 | [ | ||
| 1280 | [ | ||
| 1281 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1282 | 'RpbModFun', | ||
| 1283 | 'modfun', 1, undef | ||
| 1284 | ], | ||
| 1285 | [ | ||
| 1286 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 1287 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 1288 | 'name', 2, undef | ||
| 1289 | ], | ||
| 1290 | |||
| 1291 | ], | ||
| 1292 | { 'create_accessors' => 1, } | ||
| 1293 | ); | ||
| 1294 | } | ||
| 1295 | |||
| 1296 | } | ||
| 1297 | 1; | ||
| 1298 | |||
| 1299 | __END__ | ||