public static final class RiakDtPB.DtUpdateReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateReq.Builder> implements RiakDtPB.DtUpdateReqOrBuilder
DtUpdateReq
The equivalent of KV's "RpbPutReq", results in an empty response or "DtUpdateResp" if `return_body` is specified, or the key is assigned by the server. The request-time options are limited to ones that are relevant to structured data-types.
| Modifier and Type | Method and Description |
|---|---|
RiakDtPB.DtUpdateReq |
build() |
RiakDtPB.DtUpdateReq |
buildPartial() |
RiakDtPB.DtUpdateReq.Builder |
clear() |
RiakDtPB.DtUpdateReq.Builder |
clearBucket()
required bytes bucket = 1; |
RiakDtPB.DtUpdateReq.Builder |
clearContext()
optional bytes context = 4; |
RiakDtPB.DtUpdateReq.Builder |
clearDw()
optional uint32 dw = 7; |
RiakDtPB.DtUpdateReq.Builder |
clearIncludeContext()
optional bool include_context = 13 [default = true]; |
RiakDtPB.DtUpdateReq.Builder |
clearKey()
optional bytes key = 2; |
RiakDtPB.DtUpdateReq.Builder |
clearNVal()
optional uint32 n_val = 12; |
RiakDtPB.DtUpdateReq.Builder |
clearOp()
required .DtOp op = 5; |
RiakDtPB.DtUpdateReq.Builder |
clearPw()
optional uint32 pw = 8; |
RiakDtPB.DtUpdateReq.Builder |
clearReturnBody()
optional bool return_body = 9 [default = false]; |
RiakDtPB.DtUpdateReq.Builder |
clearSloppyQuorum()
optional bool sloppy_quorum = 11; |
RiakDtPB.DtUpdateReq.Builder |
clearTimeout()
optional uint32 timeout = 10; |
RiakDtPB.DtUpdateReq.Builder |
clearType()
required bytes type = 3; |
RiakDtPB.DtUpdateReq.Builder |
clearW()
optional uint32 w = 6; |
RiakDtPB.DtUpdateReq.Builder |
clone() |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
com.google.protobuf.ByteString |
getContext()
optional bytes context = 4; |
RiakDtPB.DtUpdateReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDw()
optional uint32 dw = 7; |
boolean |
getIncludeContext()
optional bool include_context = 13 [default = true]; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 2; |
int |
getNVal()
optional uint32 n_val = 12; |
RiakDtPB.DtOp |
getOp()
required .DtOp op = 5; |
RiakDtPB.DtOp.Builder |
getOpBuilder()
required .DtOp op = 5; |
RiakDtPB.DtOpOrBuilder |
getOpOrBuilder()
required .DtOp op = 5; |
int |
getPw()
optional uint32 pw = 8; |
boolean |
getReturnBody()
optional bool return_body = 9 [default = false]; |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 11; |
int |
getTimeout()
optional uint32 timeout = 10; |
com.google.protobuf.ByteString |
getType()
required bytes type = 3; |
int |
getW()
optional uint32 w = 6; |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasContext()
optional bytes context = 4; |
boolean |
hasDw()
optional uint32 dw = 7; |
boolean |
hasIncludeContext()
optional bool include_context = 13 [default = true]; |
boolean |
hasKey()
optional bytes key = 2; |
boolean |
hasNVal()
optional uint32 n_val = 12; |
boolean |
hasOp()
required .DtOp op = 5; |
boolean |
hasPw()
optional uint32 pw = 8; |
boolean |
hasReturnBody()
optional bool return_body = 9 [default = false]; |
boolean |
hasSloppyQuorum()
optional bool sloppy_quorum = 11; |
boolean |
hasTimeout()
optional uint32 timeout = 10; |
boolean |
hasType()
required bytes type = 3; |
boolean |
hasW()
optional uint32 w = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakDtPB.DtUpdateReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtUpdateReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakDtPB.DtUpdateReq.Builder |
mergeFrom(RiakDtPB.DtUpdateReq other) |
RiakDtPB.DtUpdateReq.Builder |
mergeOp(RiakDtPB.DtOp value)
required .DtOp op = 5; |
RiakDtPB.DtUpdateReq.Builder |
setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1; |
RiakDtPB.DtUpdateReq.Builder |
setContext(com.google.protobuf.ByteString value)
optional bytes context = 4; |
RiakDtPB.DtUpdateReq.Builder |
setDw(int value)
optional uint32 dw = 7; |
RiakDtPB.DtUpdateReq.Builder |
setIncludeContext(boolean value)
optional bool include_context = 13 [default = true]; |
RiakDtPB.DtUpdateReq.Builder |
setKey(com.google.protobuf.ByteString value)
optional bytes key = 2; |
RiakDtPB.DtUpdateReq.Builder |
setNVal(int value)
optional uint32 n_val = 12; |
RiakDtPB.DtUpdateReq.Builder |
setOp(RiakDtPB.DtOp.Builder builderForValue)
required .DtOp op = 5; |
RiakDtPB.DtUpdateReq.Builder |
setOp(RiakDtPB.DtOp value)
required .DtOp op = 5; |
RiakDtPB.DtUpdateReq.Builder |
setPw(int value)
optional uint32 pw = 8; |
RiakDtPB.DtUpdateReq.Builder |
setReturnBody(boolean value)
optional bool return_body = 9 [default = false]; |
RiakDtPB.DtUpdateReq.Builder |
setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 11; |
RiakDtPB.DtUpdateReq.Builder |
setTimeout(int value)
optional uint32 timeout = 10; |
RiakDtPB.DtUpdateReq.Builder |
setType(com.google.protobuf.ByteString value)
required bytes type = 3; |
RiakDtPB.DtUpdateReq.Builder |
setW(int value)
optional uint32 w = 6; |
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<RiakDtPB.DtUpdateReq.Builder>public RiakDtPB.DtUpdateReq.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateReq.Builder>public RiakDtPB.DtUpdateReq.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateReq.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<RiakDtPB.DtUpdateReq.Builder>public RiakDtPB.DtUpdateReq getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RiakDtPB.DtUpdateReq build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RiakDtPB.DtUpdateReq buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RiakDtPB.DtUpdateReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtUpdateReq.Builder>public RiakDtPB.DtUpdateReq.Builder mergeFrom(RiakDtPB.DtUpdateReq other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.DtUpdateReq.Builder>public RiakDtPB.DtUpdateReq.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<RiakDtPB.DtUpdateReq.Builder>IOExceptionpublic boolean hasBucket()
required bytes bucket = 1;
The identifier
hasBucket in interface RiakDtPB.DtUpdateReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
The identifier
getBucket in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1;
The identifier
public RiakDtPB.DtUpdateReq.Builder clearBucket()
required bytes bucket = 1;
The identifier
public boolean hasKey()
optional bytes key = 2;
missing key results in server-assigned key, like KV
hasKey in interface RiakDtPB.DtUpdateReqOrBuilderpublic com.google.protobuf.ByteString getKey()
optional bytes key = 2;
missing key results in server-assigned key, like KV
getKey in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setKey(com.google.protobuf.ByteString value)
optional bytes key = 2;
missing key results in server-assigned key, like KV
public RiakDtPB.DtUpdateReq.Builder clearKey()
optional bytes key = 2;
missing key results in server-assigned key, like KV
public boolean hasType()
required bytes type = 3;
bucket type, not data-type (but the data-type is constrained per bucket-type)
hasType in interface RiakDtPB.DtUpdateReqOrBuilderpublic com.google.protobuf.ByteString getType()
required bytes type = 3;
bucket type, not data-type (but the data-type is constrained per bucket-type)
getType in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setType(com.google.protobuf.ByteString value)
required bytes type = 3;
bucket type, not data-type (but the data-type is constrained per bucket-type)
public RiakDtPB.DtUpdateReq.Builder clearType()
required bytes type = 3;
bucket type, not data-type (but the data-type is constrained per bucket-type)
public boolean hasContext()
optional bytes context = 4;
Opaque update-context
hasContext in interface RiakDtPB.DtUpdateReqOrBuilderpublic com.google.protobuf.ByteString getContext()
optional bytes context = 4;
Opaque update-context
getContext in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setContext(com.google.protobuf.ByteString value)
optional bytes context = 4;
Opaque update-context
public RiakDtPB.DtUpdateReq.Builder clearContext()
optional bytes context = 4;
Opaque update-context
public boolean hasOp()
required .DtOp op = 5;
The operations
hasOp in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtOp getOp()
required .DtOp op = 5;
The operations
getOp in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setOp(RiakDtPB.DtOp value)
required .DtOp op = 5;
The operations
public RiakDtPB.DtUpdateReq.Builder setOp(RiakDtPB.DtOp.Builder builderForValue)
required .DtOp op = 5;
The operations
public RiakDtPB.DtUpdateReq.Builder mergeOp(RiakDtPB.DtOp value)
required .DtOp op = 5;
The operations
public RiakDtPB.DtUpdateReq.Builder clearOp()
required .DtOp op = 5;
The operations
public RiakDtPB.DtOp.Builder getOpBuilder()
required .DtOp op = 5;
The operations
public RiakDtPB.DtOpOrBuilder getOpOrBuilder()
required .DtOp op = 5;
The operations
getOpOrBuilder in interface RiakDtPB.DtUpdateReqOrBuilderpublic boolean hasW()
optional uint32 w = 6;
Request options
hasW in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getW()
optional uint32 w = 6;
Request options
getW in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setW(int value)
optional uint32 w = 6;
Request options
public RiakDtPB.DtUpdateReq.Builder clearW()
optional uint32 w = 6;
Request options
public boolean hasDw()
optional uint32 dw = 7;hasDw in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getDw()
optional uint32 dw = 7;getDw in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setDw(int value)
optional uint32 dw = 7;public RiakDtPB.DtUpdateReq.Builder clearDw()
optional uint32 dw = 7;public boolean hasPw()
optional uint32 pw = 8;hasPw in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getPw()
optional uint32 pw = 8;getPw in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setPw(int value)
optional uint32 pw = 8;public RiakDtPB.DtUpdateReq.Builder clearPw()
optional uint32 pw = 8;public boolean hasReturnBody()
optional bool return_body = 9 [default = false];hasReturnBody in interface RiakDtPB.DtUpdateReqOrBuilderpublic boolean getReturnBody()
optional bool return_body = 9 [default = false];getReturnBody in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setReturnBody(boolean value)
optional bool return_body = 9 [default = false];public RiakDtPB.DtUpdateReq.Builder clearReturnBody()
optional bool return_body = 9 [default = false];public boolean hasTimeout()
optional uint32 timeout = 10;hasTimeout in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 10;getTimeout in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setTimeout(int value)
optional uint32 timeout = 10;public RiakDtPB.DtUpdateReq.Builder clearTimeout()
optional uint32 timeout = 10;public boolean hasSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
hasSloppyQuorum in interface RiakDtPB.DtUpdateReqOrBuilderpublic boolean getSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
getSloppyQuorum in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setSloppyQuorum(boolean value)
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
public RiakDtPB.DtUpdateReq.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 RiakDtPB.DtUpdateReqOrBuilderpublic int getNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
getNVal in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setNVal(int value)
optional uint32 n_val = 12;
Experimental, may change/disappear
public RiakDtPB.DtUpdateReq.Builder clearNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
public boolean hasIncludeContext()
optional bool include_context = 13 [default = true];
When return_body is true, should the context be returned too?
hasIncludeContext in interface RiakDtPB.DtUpdateReqOrBuilderpublic boolean getIncludeContext()
optional bool include_context = 13 [default = true];
When return_body is true, should the context be returned too?
getIncludeContext in interface RiakDtPB.DtUpdateReqOrBuilderpublic RiakDtPB.DtUpdateReq.Builder setIncludeContext(boolean value)
optional bool include_context = 13 [default = true];
When return_body is true, should the context be returned too?
public RiakDtPB.DtUpdateReq.Builder clearIncludeContext()
optional bool include_context = 13 [default = true];
When return_body is true, should the context be returned too?
Copyright © 2016. All rights reserved.