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, 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<RiakDtPB.DtUpdateReq.Builder>
public RiakDtPB.DtUpdateReq.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<RiakDtPB.DtUpdateReq.Builder>
public RiakDtPB.DtUpdateReq.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<RiakDtPB.DtUpdateReq.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<RiakDtPB.DtUpdateReq.Builder>
public RiakDtPB.DtUpdateReq getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakDtPB.DtUpdateReq build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtUpdateReq buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.DtUpdateReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.DtUpdateReq.Builder>
IOException
public boolean hasBucket()
required bytes bucket = 1;
The identifier
hasBucket
in interface RiakDtPB.DtUpdateReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
The identifier
getBucket
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public com.google.protobuf.ByteString getKey()
optional bytes key = 2;
missing key results in server-assigned key, like KV
getKey
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public com.google.protobuf.ByteString getContext()
optional bytes context = 4;
Opaque update-context
getContext
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public RiakDtPB.DtOp getOp()
required .DtOp op = 5;
The operations
getOp
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public boolean hasW()
optional uint32 w = 6;
Request options
hasW
in interface RiakDtPB.DtUpdateReqOrBuilder
public int getW()
optional uint32 w = 6;
Request options
getW
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public int getDw()
optional uint32 dw = 7;
getDw
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public int getPw()
optional uint32 pw = 8;
getPw
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public boolean getReturnBody()
optional bool return_body = 9 [default = false];
getReturnBody
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public int getTimeout()
optional uint32 timeout = 10;
getTimeout
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public boolean getSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
getSloppyQuorum
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public int getNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
getNVal
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.DtUpdateReqOrBuilder
public boolean getIncludeContext()
optional bool include_context = 13 [default = true];
When return_body is true, should the context be returned too?
getIncludeContext
in interface RiakDtPB.DtUpdateReqOrBuilder
public 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.