public static final class RiakKvPB.RpbGetReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetReq.Builder> implements RiakKvPB.RpbGetReqOrBuilder
RpbGetReq
Get Request - retrieve bucket/key
| Modifier and Type | Method and Description |
|---|---|
RiakKvPB.RpbGetReq |
build() |
RiakKvPB.RpbGetReq |
buildPartial() |
RiakKvPB.RpbGetReq.Builder |
clear() |
RiakKvPB.RpbGetReq.Builder |
clearBasicQuorum()
optional bool basic_quorum = 5; |
RiakKvPB.RpbGetReq.Builder |
clearBucket()
required bytes bucket = 1; |
RiakKvPB.RpbGetReq.Builder |
clearDeletedvclock()
optional bool deletedvclock = 9; |
RiakKvPB.RpbGetReq.Builder |
clearHead()
optional bool head = 8; |
RiakKvPB.RpbGetReq.Builder |
clearIfModified()
optional bytes if_modified = 7; |
RiakKvPB.RpbGetReq.Builder |
clearKey()
required bytes key = 2; |
RiakKvPB.RpbGetReq.Builder |
clearNotfoundOk()
optional bool notfound_ok = 6; |
RiakKvPB.RpbGetReq.Builder |
clearNVal()
optional uint32 n_val = 12; |
RiakKvPB.RpbGetReq.Builder |
clearPr()
optional uint32 pr = 4; |
RiakKvPB.RpbGetReq.Builder |
clearR()
optional uint32 r = 3; |
RiakKvPB.RpbGetReq.Builder |
clearSloppyQuorum()
optional bool sloppy_quorum = 11; |
RiakKvPB.RpbGetReq.Builder |
clearTimeout()
optional uint32 timeout = 10; |
RiakKvPB.RpbGetReq.Builder |
clearType()
optional bytes type = 13; |
RiakKvPB.RpbGetReq.Builder |
clone() |
boolean |
getBasicQuorum()
optional bool basic_quorum = 5; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
RiakKvPB.RpbGetReq |
getDefaultInstanceForType() |
boolean |
getDeletedvclock()
optional bool deletedvclock = 9; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
int |
getPr()
optional uint32 pr = 4; |
int |
getR()
optional uint32 r = 3; |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 11; |
int |
getTimeout()
optional uint32 timeout = 10; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 13; |
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() |
RiakKvPB.RpbGetReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbGetReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakKvPB.RpbGetReq.Builder |
mergeFrom(RiakKvPB.RpbGetReq other) |
RiakKvPB.RpbGetReq.Builder |
setBasicQuorum(boolean value)
optional bool basic_quorum = 5; |
RiakKvPB.RpbGetReq.Builder |
setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1; |
RiakKvPB.RpbGetReq.Builder |
setDeletedvclock(boolean value)
optional bool deletedvclock = 9; |
RiakKvPB.RpbGetReq.Builder |
setHead(boolean value)
optional bool head = 8; |
RiakKvPB.RpbGetReq.Builder |
setIfModified(com.google.protobuf.ByteString value)
optional bytes if_modified = 7; |
RiakKvPB.RpbGetReq.Builder |
setKey(com.google.protobuf.ByteString value)
required bytes key = 2; |
RiakKvPB.RpbGetReq.Builder |
setNotfoundOk(boolean value)
optional bool notfound_ok = 6; |
RiakKvPB.RpbGetReq.Builder |
setNVal(int value)
optional uint32 n_val = 12; |
RiakKvPB.RpbGetReq.Builder |
setPr(int value)
optional uint32 pr = 4; |
RiakKvPB.RpbGetReq.Builder |
setR(int value)
optional uint32 r = 3; |
RiakKvPB.RpbGetReq.Builder |
setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 11; |
RiakKvPB.RpbGetReq.Builder |
setTimeout(int value)
optional uint32 timeout = 10; |
RiakKvPB.RpbGetReq.Builder |
setType(com.google.protobuf.ByteString value)
optional bytes type = 13; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetReq.Builder>public RiakKvPB.RpbGetReq.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetReq.Builder>public RiakKvPB.RpbGetReq.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetReq.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetReq.Builder>public RiakKvPB.RpbGetReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RiakKvPB.RpbGetReq build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RiakKvPB.RpbGetReq buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RiakKvPB.RpbGetReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbGetReq.Builder>public RiakKvPB.RpbGetReq.Builder mergeFrom(RiakKvPB.RpbGetReq other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbGetReq.Builder>public RiakKvPB.RpbGetReq.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbGetReq.Builder>IOExceptionpublic 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 RiakKvPB.RpbGetReq.Builder setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1;public RiakKvPB.RpbGetReq.Builder clearBucket()
required bytes bucket = 1;public 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 RiakKvPB.RpbGetReq.Builder setKey(com.google.protobuf.ByteString value)
required bytes key = 2;public RiakKvPB.RpbGetReq.Builder clearKey()
required bytes key = 2;public boolean hasR()
optional uint32 r = 3;hasR in interface RiakKvPB.RpbGetReqOrBuilderpublic int getR()
optional uint32 r = 3;getR in interface RiakKvPB.RpbGetReqOrBuilderpublic RiakKvPB.RpbGetReq.Builder setR(int value)
optional uint32 r = 3;public RiakKvPB.RpbGetReq.Builder clearR()
optional uint32 r = 3;public boolean hasPr()
optional uint32 pr = 4;hasPr in interface RiakKvPB.RpbGetReqOrBuilderpublic int getPr()
optional uint32 pr = 4;getPr in interface RiakKvPB.RpbGetReqOrBuilderpublic RiakKvPB.RpbGetReq.Builder setPr(int value)
optional uint32 pr = 4;public RiakKvPB.RpbGetReq.Builder clearPr()
optional uint32 pr = 4;public boolean hasBasicQuorum()
optional bool basic_quorum = 5;hasBasicQuorum in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getBasicQuorum()
optional bool basic_quorum = 5;getBasicQuorum in interface RiakKvPB.RpbGetReqOrBuilderpublic RiakKvPB.RpbGetReq.Builder setBasicQuorum(boolean value)
optional bool basic_quorum = 5;public RiakKvPB.RpbGetReq.Builder clearBasicQuorum()
optional bool basic_quorum = 5;public boolean hasNotfoundOk()
optional bool notfound_ok = 6;hasNotfoundOk in interface RiakKvPB.RpbGetReqOrBuilderpublic boolean getNotfoundOk()
optional bool notfound_ok = 6;getNotfoundOk in interface RiakKvPB.RpbGetReqOrBuilderpublic RiakKvPB.RpbGetReq.Builder setNotfoundOk(boolean value)
optional bool notfound_ok = 6;public RiakKvPB.RpbGetReq.Builder clearNotfoundOk()
optional bool notfound_ok = 6;public 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 RiakKvPB.RpbGetReq.Builder setIfModified(com.google.protobuf.ByteString value)
optional bytes if_modified = 7;
fail if the supplied vclock does not match
public RiakKvPB.RpbGetReq.Builder clearIfModified()
optional bytes if_modified = 7;
fail if the supplied vclock does not match
public 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 RiakKvPB.RpbGetReq.Builder setHead(boolean value)
optional bool head = 8;
return everything but the value
public RiakKvPB.RpbGetReq.Builder clearHead()
optional bool head = 8;
return everything but the value
public 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 RiakKvPB.RpbGetReq.Builder setDeletedvclock(boolean value)
optional bool deletedvclock = 9;
return the tombstone's vclock, if applicable
public RiakKvPB.RpbGetReq.Builder clearDeletedvclock()
optional bool deletedvclock = 9;
return the tombstone's vclock, if applicable
public boolean hasTimeout()
optional uint32 timeout = 10;hasTimeout in interface RiakKvPB.RpbGetReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 10;getTimeout in interface RiakKvPB.RpbGetReqOrBuilderpublic RiakKvPB.RpbGetReq.Builder setTimeout(int value)
optional uint32 timeout = 10;public RiakKvPB.RpbGetReq.Builder clearTimeout()
optional uint32 timeout = 10;public 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 RiakKvPB.RpbGetReq.Builder setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
public RiakKvPB.RpbGetReq.Builder clearSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
public 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 RiakKvPB.RpbGetReq.Builder setNVal(int value)
optional uint32 n_val = 12;
Experimental, may change/disappear
public RiakKvPB.RpbGetReq.Builder clearNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
public 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 RiakKvPB.RpbGetReq.Builder setType(com.google.protobuf.ByteString value)
optional bytes type = 13;
Bucket type, if not set we assume the 'default' type
public RiakKvPB.RpbGetReq.Builder clearType()
optional bytes type = 13;
Bucket type, if not set we assume the 'default' type
Copyright © 2016. All rights reserved.