| 1 | package Net::Riak::Transport::PBC::Transport; | ||
| 2 | { | ||
| 3 | $Net::Riak::Transport::PBC::Transport::VERSION = '0.1702'; | ||
| 4 | } | ||
| 5 | |||
| 6 | ## | ||
| 7 | ## This file was generated by Google::ProtocolBuffers (0.08) | ||
| 8 | ## on Mon Dec 13 11:30:34 2010 | ||
| 9 | ## | ||
| 10 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use Google::ProtocolBuffers; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | { | ||
| 14 | unless (RpbSetClientIdReq->can('_pb_fields_list')) { | ||
| 15 | Google::ProtocolBuffers->create_message( | ||
| 16 | 'RpbSetClientIdReq', | ||
| 17 | [ | ||
| 18 | [ | ||
| 19 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 20 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 21 | 'client_id', 1, undef | ||
| 22 | ], | ||
| 23 | |||
| 24 | ], | ||
| 25 | { 'create_accessors' => 1, } | ||
| 26 | ); | ||
| 27 | } | ||
| 28 | |||
| 29 | unless (RpbSetBucketReq->can('_pb_fields_list')) { | ||
| 30 | Google::ProtocolBuffers->create_message( | ||
| 31 | 'RpbSetBucketReq', | ||
| 32 | [ | ||
| 33 | [ | ||
| 34 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 35 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 36 | 'bucket', 1, undef | ||
| 37 | ], | ||
| 38 | [ | ||
| 39 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 40 | 'RpbBucketProps', | ||
| 41 | 'props', 2, undef | ||
| 42 | ], | ||
| 43 | |||
| 44 | ], | ||
| 45 | { 'create_accessors' => 1, } | ||
| 46 | ); | ||
| 47 | } | ||
| 48 | |||
| 49 | unless (RpbPutReq->can('_pb_fields_list')) { | ||
| 50 | Google::ProtocolBuffers->create_message( | ||
| 51 | 'RpbPutReq', | ||
| 52 | [ | ||
| 53 | [ | ||
| 54 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 55 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 56 | 'bucket', 1, undef | ||
| 57 | ], | ||
| 58 | [ | ||
| 59 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 60 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 61 | 'key', 2, undef | ||
| 62 | ], | ||
| 63 | [ | ||
| 64 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 65 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 66 | 'vclock', 3, undef | ||
| 67 | ], | ||
| 68 | [ | ||
| 69 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 70 | 'RpbContent', | ||
| 71 | 'content', 4, undef | ||
| 72 | ], | ||
| 73 | [ | ||
| 74 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 75 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 76 | 'w', 5, undef | ||
| 77 | ], | ||
| 78 | [ | ||
| 79 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 80 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 81 | 'dw', 6, undef | ||
| 82 | ], | ||
| 83 | [ | ||
| 84 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 85 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 86 | 'return_body', 7, undef | ||
| 87 | ], | ||
| 88 | |||
| 89 | ], | ||
| 90 | { 'create_accessors' => 1, } | ||
| 91 | ); | ||
| 92 | } | ||
| 93 | |||
| 94 | unless (RpbListBucketsResp->can('_pb_fields_list')) { | ||
| 95 | Google::ProtocolBuffers->create_message( | ||
| 96 | 'RpbListBucketsResp', | ||
| 97 | [ | ||
| 98 | [ | ||
| 99 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 100 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 101 | 'buckets', 1, undef | ||
| 102 | ], | ||
| 103 | |||
| 104 | ], | ||
| 105 | { 'create_accessors' => 1, } | ||
| 106 | ); | ||
| 107 | } | ||
| 108 | |||
| 109 | unless (RpbGetBucketResp->can('_pb_fields_list')) { | ||
| 110 | Google::ProtocolBuffers->create_message( | ||
| 111 | 'RpbGetBucketResp', | ||
| 112 | [ | ||
| 113 | [ | ||
| 114 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 115 | 'RpbBucketProps', | ||
| 116 | 'props', 1, undef | ||
| 117 | ], | ||
| 118 | |||
| 119 | ], | ||
| 120 | { 'create_accessors' => 1, } | ||
| 121 | ); | ||
| 122 | } | ||
| 123 | |||
| 124 | unless (RpbGetReq->can('_pb_fields_list')) { | ||
| 125 | Google::ProtocolBuffers->create_message( | ||
| 126 | 'RpbGetReq', | ||
| 127 | [ | ||
| 128 | [ | ||
| 129 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 130 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 131 | 'bucket', 1, undef | ||
| 132 | ], | ||
| 133 | [ | ||
| 134 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 135 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 136 | 'key', 2, undef | ||
| 137 | ], | ||
| 138 | [ | ||
| 139 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 140 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 141 | 'r', 3, undef | ||
| 142 | ], | ||
| 143 | |||
| 144 | ], | ||
| 145 | { 'create_accessors' => 1, } | ||
| 146 | ); | ||
| 147 | } | ||
| 148 | |||
| 149 | unless (RpbGetBucketReq->can('_pb_fields_list')) { | ||
| 150 | Google::ProtocolBuffers->create_message( | ||
| 151 | 'RpbGetBucketReq', | ||
| 152 | [ | ||
| 153 | [ | ||
| 154 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 155 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 156 | 'bucket', 1, undef | ||
| 157 | ], | ||
| 158 | |||
| 159 | ], | ||
| 160 | { 'create_accessors' => 1, } | ||
| 161 | ); | ||
| 162 | } | ||
| 163 | |||
| 164 | unless (RpbLink->can('_pb_fields_list')) { | ||
| 165 | Google::ProtocolBuffers->create_message( | ||
| 166 | 'RpbLink', | ||
| 167 | [ | ||
| 168 | [ | ||
| 169 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 170 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 171 | 'bucket', 1, undef | ||
| 172 | ], | ||
| 173 | [ | ||
| 174 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 175 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 176 | 'key', 2, undef | ||
| 177 | ], | ||
| 178 | [ | ||
| 179 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 180 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 181 | 'tag', 3, undef | ||
| 182 | ], | ||
| 183 | |||
| 184 | ], | ||
| 185 | { 'create_accessors' => 1, } | ||
| 186 | ); | ||
| 187 | } | ||
| 188 | |||
| 189 | unless (RpbGetResp->can('_pb_fields_list')) { | ||
| 190 | Google::ProtocolBuffers->create_message( | ||
| 191 | 'RpbGetResp', | ||
| 192 | [ | ||
| 193 | [ | ||
| 194 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 195 | 'RpbContent', | ||
| 196 | 'content', 1, undef | ||
| 197 | ], | ||
| 198 | [ | ||
| 199 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 200 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 201 | 'vclock', 2, undef | ||
| 202 | ], | ||
| 203 | |||
| 204 | ], | ||
| 205 | { 'create_accessors' => 1, } | ||
| 206 | ); | ||
| 207 | } | ||
| 208 | |||
| 209 | unless (RpbPair->can('_pb_fields_list')) { | ||
| 210 | Google::ProtocolBuffers->create_message( | ||
| 211 | 'RpbPair', | ||
| 212 | [ | ||
| 213 | [ | ||
| 214 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 215 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 216 | 'key', 1, undef | ||
| 217 | ], | ||
| 218 | [ | ||
| 219 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 220 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 221 | 'value', 2, undef | ||
| 222 | ], | ||
| 223 | |||
| 224 | ], | ||
| 225 | { 'create_accessors' => 1, } | ||
| 226 | ); | ||
| 227 | } | ||
| 228 | |||
| 229 | unless (RpbPutResp->can('_pb_fields_list')) { | ||
| 230 | Google::ProtocolBuffers->create_message( | ||
| 231 | 'RpbPutResp', | ||
| 232 | [ | ||
| 233 | [ | ||
| 234 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 235 | 'RpbContent', | ||
| 236 | 'content', 1, undef | ||
| 237 | ], | ||
| 238 | [ | ||
| 239 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 240 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 241 | 'vclock', 2, undef | ||
| 242 | ], | ||
| 243 | |||
| 244 | ], | ||
| 245 | { 'create_accessors' => 1, } | ||
| 246 | ); | ||
| 247 | } | ||
| 248 | |||
| 249 | unless (RpbDelReq->can('_pb_fields_list')) { | ||
| 250 | Google::ProtocolBuffers->create_message( | ||
| 251 | 'RpbDelReq', | ||
| 252 | [ | ||
| 253 | [ | ||
| 254 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 255 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 256 | 'bucket', 1, undef | ||
| 257 | ], | ||
| 258 | [ | ||
| 259 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 260 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 261 | 'key', 2, undef | ||
| 262 | ], | ||
| 263 | [ | ||
| 264 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 265 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 266 | 'rw', 3, undef | ||
| 267 | ], | ||
| 268 | |||
| 269 | ], | ||
| 270 | { 'create_accessors' => 1, } | ||
| 271 | ); | ||
| 272 | } | ||
| 273 | |||
| 274 | unless (RpbMapRedReq->can('_pb_fields_list')) { | ||
| 275 | Google::ProtocolBuffers->create_message( | ||
| 276 | 'RpbMapRedReq', | ||
| 277 | [ | ||
| 278 | [ | ||
| 279 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 280 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 281 | 'request', 1, undef | ||
| 282 | ], | ||
| 283 | [ | ||
| 284 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 285 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 286 | 'content_type', 2, undef | ||
| 287 | ], | ||
| 288 | |||
| 289 | ], | ||
| 290 | { 'create_accessors' => 1, } | ||
| 291 | ); | ||
| 292 | } | ||
| 293 | |||
| 294 | unless (RpbMapRedResp->can('_pb_fields_list')) { | ||
| 295 | Google::ProtocolBuffers->create_message( | ||
| 296 | 'RpbMapRedResp', | ||
| 297 | [ | ||
| 298 | [ | ||
| 299 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 300 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 301 | 'phase', 1, undef | ||
| 302 | ], | ||
| 303 | [ | ||
| 304 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 305 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 306 | 'response', 2, undef | ||
| 307 | ], | ||
| 308 | [ | ||
| 309 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 310 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 311 | 'done', 3, undef | ||
| 312 | ], | ||
| 313 | |||
| 314 | ], | ||
| 315 | { 'create_accessors' => 1, } | ||
| 316 | ); | ||
| 317 | } | ||
| 318 | |||
| 319 | unless (RpbGetClientIdResp->can('_pb_fields_list')) { | ||
| 320 | Google::ProtocolBuffers->create_message( | ||
| 321 | 'RpbGetClientIdResp', | ||
| 322 | [ | ||
| 323 | [ | ||
| 324 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 325 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 326 | 'client_id', 1, undef | ||
| 327 | ], | ||
| 328 | |||
| 329 | ], | ||
| 330 | { 'create_accessors' => 1, } | ||
| 331 | ); | ||
| 332 | } | ||
| 333 | |||
| 334 | unless (RpbErrorResp->can('_pb_fields_list')) { | ||
| 335 | Google::ProtocolBuffers->create_message( | ||
| 336 | 'RpbErrorResp', | ||
| 337 | [ | ||
| 338 | [ | ||
| 339 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 340 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 341 | 'errmsg', 1, undef | ||
| 342 | ], | ||
| 343 | [ | ||
| 344 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 345 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 346 | 'errcode', 2, undef | ||
| 347 | ], | ||
| 348 | |||
| 349 | ], | ||
| 350 | { 'create_accessors' => 1, } | ||
| 351 | ); | ||
| 352 | } | ||
| 353 | |||
| 354 | unless (RpbBucketProps->can('_pb_fields_list')) { | ||
| 355 | Google::ProtocolBuffers->create_message( | ||
| 356 | 'RpbBucketProps', | ||
| 357 | [ | ||
| 358 | [ | ||
| 359 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 360 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 361 | 'n_val', 1, undef | ||
| 362 | ], | ||
| 363 | [ | ||
| 364 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 365 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 366 | 'allow_mult', 2, undef | ||
| 367 | ], | ||
| 368 | |||
| 369 | ], | ||
| 370 | { 'create_accessors' => 1, } | ||
| 371 | ); | ||
| 372 | } | ||
| 373 | |||
| 374 | unless (RpbGetServerInfoResp->can('_pb_fields_list')) { | ||
| 375 | Google::ProtocolBuffers->create_message( | ||
| 376 | 'RpbGetServerInfoResp', | ||
| 377 | [ | ||
| 378 | [ | ||
| 379 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 380 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 381 | 'node', 1, undef | ||
| 382 | ], | ||
| 383 | [ | ||
| 384 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 385 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 386 | 'server_version', 2, undef | ||
| 387 | ], | ||
| 388 | |||
| 389 | ], | ||
| 390 | { 'create_accessors' => 1, } | ||
| 391 | ); | ||
| 392 | } | ||
| 393 | |||
| 394 | unless (RpbListKeysReq->can('_pb_fields_list')) { | ||
| 395 | Google::ProtocolBuffers->create_message( | ||
| 396 | 'RpbListKeysReq', | ||
| 397 | [ | ||
| 398 | [ | ||
| 399 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 400 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 401 | 'bucket', 1, undef | ||
| 402 | ], | ||
| 403 | |||
| 404 | ], | ||
| 405 | { 'create_accessors' => 1, } | ||
| 406 | ); | ||
| 407 | } | ||
| 408 | |||
| 409 | unless (RpbListKeysResp->can('_pb_fields_list')) { | ||
| 410 | Google::ProtocolBuffers->create_message( | ||
| 411 | 'RpbListKeysResp', | ||
| 412 | [ | ||
| 413 | [ | ||
| 414 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 415 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 416 | 'keys', 1, undef | ||
| 417 | ], | ||
| 418 | [ | ||
| 419 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 420 | Google::ProtocolBuffers::Constants::TYPE_BOOL(), | ||
| 421 | 'done', 2, undef | ||
| 422 | ], | ||
| 423 | |||
| 424 | ], | ||
| 425 | { 'create_accessors' => 1, } | ||
| 426 | ); | ||
| 427 | } | ||
| 428 | |||
| 429 | unless (RpbContent->can('_pb_fields_list')) { | ||
| 430 | Google::ProtocolBuffers->create_message( | ||
| 431 | 'RpbContent', | ||
| 432 | [ | ||
| 433 | [ | ||
| 434 | Google::ProtocolBuffers::Constants::LABEL_REQUIRED(), | ||
| 435 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 436 | 'value', 1, undef | ||
| 437 | ], | ||
| 438 | [ | ||
| 439 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 440 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 441 | 'content_type', 2, undef | ||
| 442 | ], | ||
| 443 | [ | ||
| 444 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 445 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 446 | 'charset', 3, undef | ||
| 447 | ], | ||
| 448 | [ | ||
| 449 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 450 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 451 | 'content_encoding', 4, undef | ||
| 452 | ], | ||
| 453 | [ | ||
| 454 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 455 | Google::ProtocolBuffers::Constants::TYPE_BYTES(), | ||
| 456 | 'vtag', 5, undef | ||
| 457 | ], | ||
| 458 | [ | ||
| 459 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 460 | 'RpbLink', | ||
| 461 | 'links', 6, undef | ||
| 462 | ], | ||
| 463 | [ | ||
| 464 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 465 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 466 | 'last_mod', 7, undef | ||
| 467 | ], | ||
| 468 | [ | ||
| 469 | Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(), | ||
| 470 | Google::ProtocolBuffers::Constants::TYPE_UINT32(), | ||
| 471 | 'last_mod_usecs', 8, undef | ||
| 472 | ], | ||
| 473 | [ | ||
| 474 | Google::ProtocolBuffers::Constants::LABEL_REPEATED(), | ||
| 475 | 'RpbPair', | ||
| 476 | 'usermeta', 9, undef | ||
| 477 | ], | ||
| 478 | |||
| 479 | ], | ||
| 480 | { 'create_accessors' => 1, } | ||
| 481 | ); | ||
| 482 | } | ||
| 483 | |||
| 484 | } | ||
| 485 | |||
| 486 | 1; | ||
| 487 | |||
| 488 | __END__ | ||