public static final class RiakKvPB.RpbPutReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbPutReq.Builder> implements RiakKvPB.RpbPutReqOrBuilder
RpbPutReq
Put request - if options.return_body is set then the updated metadata/data for the key will be returned.
Modifier and Type | Method and Description |
---|---|
RiakKvPB.RpbPutReq |
build() |
RiakKvPB.RpbPutReq |
buildPartial() |
RiakKvPB.RpbPutReq.Builder |
clear() |
RiakKvPB.RpbPutReq.Builder |
clearAsis()
optional bool asis = 13; |
RiakKvPB.RpbPutReq.Builder |
clearBucket()
required bytes bucket = 1; |
RiakKvPB.RpbPutReq.Builder |
clearContent()
required .RpbContent content = 4; |
RiakKvPB.RpbPutReq.Builder |
clearDw()
optional uint32 dw = 6; |
RiakKvPB.RpbPutReq.Builder |
clearIfNoneMatch()
optional bool if_none_match = 10; |
RiakKvPB.RpbPutReq.Builder |
clearIfNotModified()
optional bool if_not_modified = 9; |
RiakKvPB.RpbPutReq.Builder |
clearKey()
optional bytes key = 2; |
RiakKvPB.RpbPutReq.Builder |
clearNVal()
optional uint32 n_val = 15; |
RiakKvPB.RpbPutReq.Builder |
clearPw()
optional uint32 pw = 8; |
RiakKvPB.RpbPutReq.Builder |
clearReturnBody()
optional bool return_body = 7; |
RiakKvPB.RpbPutReq.Builder |
clearReturnHead()
optional bool return_head = 11; |
RiakKvPB.RpbPutReq.Builder |
clearSloppyQuorum()
optional bool sloppy_quorum = 14; |
RiakKvPB.RpbPutReq.Builder |
clearTimeout()
optional uint32 timeout = 12; |
RiakKvPB.RpbPutReq.Builder |
clearType()
optional bytes type = 16; |
RiakKvPB.RpbPutReq.Builder |
clearVclock()
optional bytes vclock = 3; |
RiakKvPB.RpbPutReq.Builder |
clearW()
optional uint32 w = 5; |
RiakKvPB.RpbPutReq.Builder |
clone() |
boolean |
getAsis()
optional bool asis = 13; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
RiakKvPB.RpbContent |
getContent()
required .RpbContent content = 4; |
RiakKvPB.RpbContent.Builder |
getContentBuilder()
required .RpbContent content = 4; |
RiakKvPB.RpbContentOrBuilder |
getContentOrBuilder()
required .RpbContent content = 4; |
RiakKvPB.RpbPutReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDw()
optional uint32 dw = 6; |
boolean |
getIfNoneMatch()
optional bool if_none_match = 10; |
boolean |
getIfNotModified()
optional bool if_not_modified = 9; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 2; |
int |
getNVal()
optional uint32 n_val = 15; |
int |
getPw()
optional uint32 pw = 8; |
boolean |
getReturnBody()
optional bool return_body = 7; |
boolean |
getReturnHead()
optional bool return_head = 11; |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 14; |
int |
getTimeout()
optional uint32 timeout = 12; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 16; |
com.google.protobuf.ByteString |
getVclock()
optional bytes vclock = 3; |
int |
getW()
optional uint32 w = 5; |
boolean |
hasAsis()
optional bool asis = 13; |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasContent()
required .RpbContent content = 4; |
boolean |
hasDw()
optional uint32 dw = 6; |
boolean |
hasIfNoneMatch()
optional bool if_none_match = 10; |
boolean |
hasIfNotModified()
optional bool if_not_modified = 9; |
boolean |
hasKey()
optional bytes key = 2; |
boolean |
hasNVal()
optional uint32 n_val = 15; |
boolean |
hasPw()
optional uint32 pw = 8; |
boolean |
hasReturnBody()
optional bool return_body = 7; |
boolean |
hasReturnHead()
optional bool return_head = 11; |
boolean |
hasSloppyQuorum()
optional bool sloppy_quorum = 14; |
boolean |
hasTimeout()
optional uint32 timeout = 12; |
boolean |
hasType()
optional bytes type = 16; |
boolean |
hasVclock()
optional bytes vclock = 3; |
boolean |
hasW()
optional uint32 w = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakKvPB.RpbPutReq.Builder |
mergeContent(RiakKvPB.RpbContent value)
required .RpbContent content = 4; |
RiakKvPB.RpbPutReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbPutReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakKvPB.RpbPutReq.Builder |
mergeFrom(RiakKvPB.RpbPutReq other) |
RiakKvPB.RpbPutReq.Builder |
setAsis(boolean value)
optional bool asis = 13; |
RiakKvPB.RpbPutReq.Builder |
setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1; |
RiakKvPB.RpbPutReq.Builder |
setContent(RiakKvPB.RpbContent.Builder builderForValue)
required .RpbContent content = 4; |
RiakKvPB.RpbPutReq.Builder |
setContent(RiakKvPB.RpbContent value)
required .RpbContent content = 4; |
RiakKvPB.RpbPutReq.Builder |
setDw(int value)
optional uint32 dw = 6; |
RiakKvPB.RpbPutReq.Builder |
setIfNoneMatch(boolean value)
optional bool if_none_match = 10; |
RiakKvPB.RpbPutReq.Builder |
setIfNotModified(boolean value)
optional bool if_not_modified = 9; |
RiakKvPB.RpbPutReq.Builder |
setKey(com.google.protobuf.ByteString value)
optional bytes key = 2; |
RiakKvPB.RpbPutReq.Builder |
setNVal(int value)
optional uint32 n_val = 15; |
RiakKvPB.RpbPutReq.Builder |
setPw(int value)
optional uint32 pw = 8; |
RiakKvPB.RpbPutReq.Builder |
setReturnBody(boolean value)
optional bool return_body = 7; |
RiakKvPB.RpbPutReq.Builder |
setReturnHead(boolean value)
optional bool return_head = 11; |
RiakKvPB.RpbPutReq.Builder |
setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 14; |
RiakKvPB.RpbPutReq.Builder |
setTimeout(int value)
optional uint32 timeout = 12; |
RiakKvPB.RpbPutReq.Builder |
setType(com.google.protobuf.ByteString value)
optional bytes type = 16; |
RiakKvPB.RpbPutReq.Builder |
setVclock(com.google.protobuf.ByteString value)
optional bytes vclock = 3; |
RiakKvPB.RpbPutReq.Builder |
setW(int value)
optional uint32 w = 5; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbPutReq.Builder>
public RiakKvPB.RpbPutReq.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbPutReq.Builder>
public RiakKvPB.RpbPutReq.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbPutReq.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbPutReq.Builder>
public RiakKvPB.RpbPutReq getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakKvPB.RpbPutReq build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbPutReq buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbPutReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbPutReq.Builder>
public RiakKvPB.RpbPutReq.Builder mergeFrom(RiakKvPB.RpbPutReq other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbPutReq.Builder>
public RiakKvPB.RpbPutReq.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbPutReq.Builder>
IOException
public boolean hasBucket()
required bytes bucket = 1;
hasBucket
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
getBucket
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1;
public RiakKvPB.RpbPutReq.Builder clearBucket()
required bytes bucket = 1;
public boolean hasKey()
optional bytes key = 2;
hasKey
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getKey()
optional bytes key = 2;
getKey
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setKey(com.google.protobuf.ByteString value)
optional bytes key = 2;
public RiakKvPB.RpbPutReq.Builder clearKey()
optional bytes key = 2;
public boolean hasVclock()
optional bytes vclock = 3;
hasVclock
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getVclock()
optional bytes vclock = 3;
getVclock
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setVclock(com.google.protobuf.ByteString value)
optional bytes vclock = 3;
public RiakKvPB.RpbPutReq.Builder clearVclock()
optional bytes vclock = 3;
public boolean hasContent()
required .RpbContent content = 4;
hasContent
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbContent getContent()
required .RpbContent content = 4;
getContent
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setContent(RiakKvPB.RpbContent value)
required .RpbContent content = 4;
public RiakKvPB.RpbPutReq.Builder setContent(RiakKvPB.RpbContent.Builder builderForValue)
required .RpbContent content = 4;
public RiakKvPB.RpbPutReq.Builder mergeContent(RiakKvPB.RpbContent value)
required .RpbContent content = 4;
public RiakKvPB.RpbPutReq.Builder clearContent()
required .RpbContent content = 4;
public RiakKvPB.RpbContent.Builder getContentBuilder()
required .RpbContent content = 4;
public RiakKvPB.RpbContentOrBuilder getContentOrBuilder()
required .RpbContent content = 4;
getContentOrBuilder
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasW()
optional uint32 w = 5;
hasW
in interface RiakKvPB.RpbPutReqOrBuilder
public int getW()
optional uint32 w = 5;
getW
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setW(int value)
optional uint32 w = 5;
public RiakKvPB.RpbPutReq.Builder clearW()
optional uint32 w = 5;
public boolean hasDw()
optional uint32 dw = 6;
hasDw
in interface RiakKvPB.RpbPutReqOrBuilder
public int getDw()
optional uint32 dw = 6;
getDw
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setDw(int value)
optional uint32 dw = 6;
public RiakKvPB.RpbPutReq.Builder clearDw()
optional uint32 dw = 6;
public boolean hasReturnBody()
optional bool return_body = 7;
hasReturnBody
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getReturnBody()
optional bool return_body = 7;
getReturnBody
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setReturnBody(boolean value)
optional bool return_body = 7;
public RiakKvPB.RpbPutReq.Builder clearReturnBody()
optional bool return_body = 7;
public boolean hasPw()
optional uint32 pw = 8;
hasPw
in interface RiakKvPB.RpbPutReqOrBuilder
public int getPw()
optional uint32 pw = 8;
getPw
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setPw(int value)
optional uint32 pw = 8;
public RiakKvPB.RpbPutReq.Builder clearPw()
optional uint32 pw = 8;
public boolean hasIfNotModified()
optional bool if_not_modified = 9;
hasIfNotModified
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getIfNotModified()
optional bool if_not_modified = 9;
getIfNotModified
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setIfNotModified(boolean value)
optional bool if_not_modified = 9;
public RiakKvPB.RpbPutReq.Builder clearIfNotModified()
optional bool if_not_modified = 9;
public boolean hasIfNoneMatch()
optional bool if_none_match = 10;
hasIfNoneMatch
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getIfNoneMatch()
optional bool if_none_match = 10;
getIfNoneMatch
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setIfNoneMatch(boolean value)
optional bool if_none_match = 10;
public RiakKvPB.RpbPutReq.Builder clearIfNoneMatch()
optional bool if_none_match = 10;
public boolean hasReturnHead()
optional bool return_head = 11;
hasReturnHead
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getReturnHead()
optional bool return_head = 11;
getReturnHead
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setReturnHead(boolean value)
optional bool return_head = 11;
public RiakKvPB.RpbPutReq.Builder clearReturnHead()
optional bool return_head = 11;
public boolean hasTimeout()
optional uint32 timeout = 12;
hasTimeout
in interface RiakKvPB.RpbPutReqOrBuilder
public int getTimeout()
optional uint32 timeout = 12;
getTimeout
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setTimeout(int value)
optional uint32 timeout = 12;
public RiakKvPB.RpbPutReq.Builder clearTimeout()
optional uint32 timeout = 12;
public boolean hasAsis()
optional bool asis = 13;
hasAsis
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getAsis()
optional bool asis = 13;
getAsis
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setAsis(boolean value)
optional bool asis = 13;
public RiakKvPB.RpbPutReq.Builder clearAsis()
optional bool asis = 13;
public boolean hasSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
hasSloppyQuorum
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
getSloppyQuorum
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
public RiakKvPB.RpbPutReq.Builder clearSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
public boolean hasNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
hasNVal
in interface RiakKvPB.RpbPutReqOrBuilder
public int getNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
getNVal
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setNVal(int value)
optional uint32 n_val = 15;
Experimental, may change/disappear
public RiakKvPB.RpbPutReq.Builder clearNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
public boolean hasType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
hasType
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
getType
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbPutReq.Builder setType(com.google.protobuf.ByteString value)
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
public RiakKvPB.RpbPutReq.Builder clearType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
Copyright © 2016. All rights reserved.