public static final class RiakKvPB.RpbGetReq extends com.google.protobuf.GeneratedMessage implements RiakKvPB.RpbGetReqOrBuilder
RpbGetReq
Get Request - retrieve bucket/key
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakKvPB.RpbGetReq.Builder
Protobuf type
RpbGetReq |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_QUORUM_FIELD_NUMBER |
static int |
BUCKET_FIELD_NUMBER |
static int |
DELETEDVCLOCK_FIELD_NUMBER |
static int |
HEAD_FIELD_NUMBER |
static int |
IF_MODIFIED_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
N_VAL_FIELD_NUMBER |
static int |
NOTFOUND_OK_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbGetReq> |
PARSER |
static int |
PR_FIELD_NUMBER |
static int |
R_FIELD_NUMBER |
static int |
SLOPPY_QUORUM_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBasicQuorum()
optional bool basic_quorum = 5; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
static RiakKvPB.RpbGetReq |
getDefaultInstance() |
RiakKvPB.RpbGetReq |
getDefaultInstanceForType() |
boolean |
getDeletedvclock()
optional bool deletedvclock = 9; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getHead()
optional bool head = 8; |
com.google.protobuf.ByteString |
getIfModified()
optional bytes if_modified = 7; |
com.google.protobuf.ByteString |
getKey()
required bytes key = 2; |
boolean |
getNotfoundOk()
optional bool notfound_ok = 6; |
int |
getNVal()
optional uint32 n_val = 12; |
com.google.protobuf.Parser<RiakKvPB.RpbGetReq> |
getParserForType() |
int |
getPr()
optional uint32 pr = 4; |
int |
getR()
optional uint32 r = 3; |
int |
getSerializedSize() |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 11; |
int |
getTimeout()
optional uint32 timeout = 10; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 13; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBasicQuorum()
optional bool basic_quorum = 5; |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasDeletedvclock()
optional bool deletedvclock = 9; |
boolean |
hasHead()
optional bool head = 8; |
boolean |
hasIfModified()
optional bytes if_modified = 7; |
boolean |
hasKey()
required bytes key = 2; |
boolean |
hasNotfoundOk()
optional bool notfound_ok = 6; |
boolean |
hasNVal()
optional uint32 n_val = 12; |
boolean |
hasPr()
optional uint32 pr = 4; |
boolean |
hasR()
optional uint32 r = 3; |
boolean |
hasSloppyQuorum()
optional bool sloppy_quorum = 11; |
boolean |
hasTimeout()
optional uint32 timeout = 10; |
boolean |
hasType()
optional bytes type = 13; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakKvPB.RpbGetReq.Builder |
newBuilder() |
static RiakKvPB.RpbGetReq.Builder |
newBuilder(RiakKvPB.RpbGetReq prototype) |
RiakKvPB.RpbGetReq.Builder |
newBuilderForType() |
protected RiakKvPB.RpbGetReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbGetReq |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbGetReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(byte[] data) |
static RiakKvPB.RpbGetReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(InputStream input) |
static RiakKvPB.RpbGetReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbGetReq.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<RiakKvPB.RpbGetReq> PARSER
public static final int BUCKET_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int R_FIELD_NUMBER
public static final int PR_FIELD_NUMBER
public static final int BASIC_QUORUM_FIELD_NUMBER
public static final int NOTFOUND_OK_FIELD_NUMBER
public static final int IF_MODIFIED_FIELD_NUMBER
public static final int HEAD_FIELD_NUMBER
public static final int DELETEDVCLOCK_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int SLOPPY_QUORUM_FIELD_NUMBER
public static final int N_VAL_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static RiakKvPB.RpbGetReq getDefaultInstance()
public RiakKvPB.RpbGetReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<RiakKvPB.RpbGetReq> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasBucket()
required bytes bucket = 1;hasBucket in interface RiakKvPB.RpbGetReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;getBucket in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasKey()
required bytes key = 2;hasKey in interface RiakKvPB.RpbGetReqOrBuilderpublic com.google.protobuf.ByteString getKey()
required bytes key = 2;getKey in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasR()
optional uint32 r = 3;hasR in interface RiakKvPB.RpbGetReqOrBuilderpublic int getR()
optional uint32 r = 3;getR in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasPr()
optional uint32 pr = 4;hasPr in interface RiakKvPB.RpbGetReqOrBuilderpublic int getPr()
optional uint32 pr = 4;getPr in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasBasicQuorum()
optional bool basic_quorum = 5;hasBasicQuorum in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getBasicQuorum()
optional bool basic_quorum = 5;getBasicQuorum in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasNotfoundOk()
optional bool notfound_ok = 6;hasNotfoundOk in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getNotfoundOk()
optional bool notfound_ok = 6;getNotfoundOk in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasIfModified()
optional bytes if_modified = 7;
fail if the supplied vclock does not match
hasIfModified in interface RiakKvPB.RpbGetReqOrBuilderpublic com.google.protobuf.ByteString getIfModified()
optional bytes if_modified = 7;
fail if the supplied vclock does not match
getIfModified in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasHead()
optional bool head = 8;
return everything but the value
hasHead in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getHead()
optional bool head = 8;
return everything but the value
getHead in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasDeletedvclock()
optional bool deletedvclock = 9;
return the tombstone's vclock, if applicable
hasDeletedvclock in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getDeletedvclock()
optional bool deletedvclock = 9;
return the tombstone's vclock, if applicable
getDeletedvclock in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 10;hasTimeout in interface RiakKvPB.RpbGetReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 10;getTimeout in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
hasSloppyQuorum in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
getSloppyQuorum in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
hasNVal in interface RiakKvPB.RpbGetReqOrBuilderpublic int getNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
getNVal in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean hasType()
optional bytes type = 13;
Bucket type, if not set we assume the 'default' type
hasType in interface RiakKvPB.RpbGetReqOrBuilderpublic com.google.protobuf.ByteString getType()
optional bytes type = 13;
Bucket type, if not set we assume the 'default' type
getType in interface RiakKvPB.RpbGetReqOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbGetReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbGetReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbGetReq parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbGetReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbGetReq parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbGetReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbGetReq.Builder newBuilder()
public RiakKvPB.RpbGetReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakKvPB.RpbGetReq.Builder newBuilder(RiakKvPB.RpbGetReq prototype)
public RiakKvPB.RpbGetReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakKvPB.RpbGetReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.