AnyEvent-Riak
view release on metacpan or search on metacpan
lib/AnyEvent/Riak/PBC.pm view on Meta::CPAN
unless (RpbBucketProps::RpbReplMode->can('_pb_fields_list')) {
Google::ProtocolBuffers->create_enum(
'RpbBucketProps::RpbReplMode',
[
['FALSE', 0],
['REALTIME', 1],
['FULLSYNC', 2],
['TRUE', 3],
]
);
}
unless (RpbPutReq->can('_pb_fields_list')) {
Google::ProtocolBuffers->create_message(
'RpbPutReq',
[
[
Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'bucket', 1, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 2, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'vclock', 3, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
'RpbContent',
'content', 4, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'w', 5, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'dw', 6, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'return_body', 7, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'pw', 8, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'if_not_modified', 9, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'if_none_match', 10, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'return_head', 11, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'timeout', 12, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'asis', 13, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BOOL(),
'sloppy_quorum', 14, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_UINT32(),
'n_val', 15, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'type', 16, undef
],
],
{ 'create_accessors' => 1, }
);
}
unless (RpbPair->can('_pb_fields_list')) {
Google::ProtocolBuffers->create_message(
'RpbPair',
[
[
Google::ProtocolBuffers::Constants::LABEL_REQUIRED(),
Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'key', 1, undef
],
[
Google::ProtocolBuffers::Constants::LABEL_OPTIONAL(),
Google::ProtocolBuffers::Constants::TYPE_BYTES(),
'value', 2, undef
],
],
{ 'create_accessors' => 1, }
);
( run in 1.150 second using v1.01-cache-2.11-cpan-39bf76dae61 )