summaryrefslogtreecommitdiff
path: root/lib/Net/Riak/Transport/PBC
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/Riak/Transport/PBC')
-rw-r--r--lib/Net/Riak/Transport/PBC/Transport.pm212
1 files changed, 106 insertions, 106 deletions
diff --git a/lib/Net/Riak/Transport/PBC/Transport.pm b/lib/Net/Riak/Transport/PBC/Transport.pm
index 7993f66..32242a4 100644
--- a/lib/Net/Riak/Transport/PBC/Transport.pm
+++ b/lib/Net/Riak/Transport/PBC/Transport.pm
@@ -3,18 +3,18 @@ package Net::Riak::Transport::PBC::Transport;
##
## This file was generated by Google::ProtocolBuffers (0.08)
## on Mon Dec 13 11:30:34 2010
-##
+##
use strict;
use warnings;
use Google::ProtocolBuffers;
-{
+{
unless (RpbSetClientIdReq->can('_pb_fields_list')) {
Google::ProtocolBuffers->create_message(
'RpbSetClientIdReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'client_id', 1, undef
],
@@ -28,13 +28,13 @@ use Google::ProtocolBuffers;
'RpbSetBucketReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- 'RpbBucketProps',
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ 'RpbBucketProps',
'props', 2, undef
],
@@ -48,38 +48,38 @@ use Google::ProtocolBuffers;
'RpbPutReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 2, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'vclock', 3, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- 'RpbContent',
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ 'RpbContent',
'content', 4, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'w', 5, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'dw', 6, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BOOL(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'return_body', 7, undef
],
@@ -93,8 +93,8 @@ use Google::ProtocolBuffers;
'RpbListBucketsResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'buckets', 1, undef
],
@@ -108,8 +108,8 @@ use Google::ProtocolBuffers;
'RpbGetBucketResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- 'RpbBucketProps',
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ 'RpbBucketProps',
'props', 1, undef
],
@@ -123,18 +123,18 @@ use Google::ProtocolBuffers;
'RpbGetReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 2, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'r', 3, undef
],
@@ -148,8 +148,8 @@ use Google::ProtocolBuffers;
'RpbGetBucketReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
@@ -163,18 +163,18 @@ use Google::ProtocolBuffers;
'RpbLink',
[
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 2, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'tag', 3, undef
],
@@ -188,13 +188,13 @@ use Google::ProtocolBuffers;
'RpbGetResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
- 'RpbContent',
+ Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
+ 'RpbContent',
'content', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'vclock', 2, undef
],
@@ -208,13 +208,13 @@ use Google::ProtocolBuffers;
'RpbPair',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'value', 2, undef
],
@@ -228,13 +228,13 @@ use Google::ProtocolBuffers;
'RpbPutResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
- 'RpbContent',
+ Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
+ 'RpbContent',
'content', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'vclock', 2, undef
],
@@ -248,18 +248,18 @@ use Google::ProtocolBuffers;
'RpbDelReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 2, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'rw', 3, undef
],
@@ -273,13 +273,13 @@ use Google::ProtocolBuffers;
'RpbMapRedReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'request', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'content_type', 2, undef
],
@@ -293,18 +293,18 @@ use Google::ProtocolBuffers;
'RpbMapRedResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'phase', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'response', 2, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BOOL(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'done', 3, undef
],
@@ -318,8 +318,8 @@ use Google::ProtocolBuffers;
'RpbGetClientIdResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'client_id', 1, undef
],
@@ -333,13 +333,13 @@ use Google::ProtocolBuffers;
'RpbErrorResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'errmsg', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'errcode', 2, undef
],
@@ -353,13 +353,13 @@ use Google::ProtocolBuffers;
'RpbBucketProps',
[
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'n_val', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BOOL(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'allow_mult', 2, undef
],
@@ -373,13 +373,13 @@ use Google::ProtocolBuffers;
'RpbGetServerInfoResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'node', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'server_version', 2, undef
],
@@ -393,8 +393,8 @@ use Google::ProtocolBuffers;
'RpbListKeysReq',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
@@ -408,13 +408,13 @@ use Google::ProtocolBuffers;
'RpbListKeysResp',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'keys', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BOOL(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'done', 2, undef
],
@@ -428,48 +428,48 @@ use Google::ProtocolBuffers;
'RpbContent',
[
[
- Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'value', 1, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'content_type', 2, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'charset', 3, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'content_encoding', 4, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_BYTES(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'vtag', 5, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
- 'RpbLink',
+ Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
+ 'RpbLink',
'links', 6, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'last_mod', 7, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
- Google::ProtocolBuffers::Constants::TYPE_UINT32(),
+ Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
+ Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'last_mod_usecs', 8, undef
],
[
- Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
- 'RpbPair',
+ Google::ProtocolBuffers::Constants::LABEL_REPEATED(),
+ 'RpbPair',
'usermeta', 9, undef
],