public static final class RiakDtPB.DtUpdateReq extends com.google.protobuf.GeneratedMessage 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 | Class and Description |
|---|---|
static class |
RiakDtPB.DtUpdateReq.Builder
Protobuf type
DtUpdateReq |
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 |
BUCKET_FIELD_NUMBER |
static int |
CONTEXT_FIELD_NUMBER |
static int |
DW_FIELD_NUMBER |
static int |
INCLUDE_CONTEXT_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
N_VAL_FIELD_NUMBER |
static int |
OP_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.DtUpdateReq> |
PARSER |
static int |
PW_FIELD_NUMBER |
static int |
RETURN_BODY_FIELD_NUMBER |
static int |
SLOPPY_QUORUM_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
W_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
com.google.protobuf.ByteString |
getContext()
optional bytes context = 4; |
static RiakDtPB.DtUpdateReq |
getDefaultInstance() |
RiakDtPB.DtUpdateReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.DtOpOrBuilder |
getOpOrBuilder()
required .DtOp op = 5; |
com.google.protobuf.Parser<RiakDtPB.DtUpdateReq> |
getParserForType() |
int |
getPw()
optional uint32 pw = 8; |
boolean |
getReturnBody()
optional bool return_body = 9 [default = false]; |
int |
getSerializedSize() |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 11; |
int |
getTimeout()
optional uint32 timeout = 10; |
com.google.protobuf.ByteString |
getType()
required bytes type = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static RiakDtPB.DtUpdateReq.Builder |
newBuilder() |
static RiakDtPB.DtUpdateReq.Builder |
newBuilder(RiakDtPB.DtUpdateReq prototype) |
RiakDtPB.DtUpdateReq.Builder |
newBuilderForType() |
protected RiakDtPB.DtUpdateReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.DtUpdateReq |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.DtUpdateReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateReq |
parseFrom(byte[] data) |
static RiakDtPB.DtUpdateReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.DtUpdateReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.DtUpdateReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtUpdateReq |
parseFrom(InputStream input) |
static RiakDtPB.DtUpdateReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtUpdateReq.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<RiakDtPB.DtUpdateReq> PARSER
public static final int BUCKET_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
public static final int OP_FIELD_NUMBER
public static final int W_FIELD_NUMBER
public static final int DW_FIELD_NUMBER
public static final int PW_FIELD_NUMBER
public static final int RETURN_BODY_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 INCLUDE_CONTEXT_FIELD_NUMBER
public static RiakDtPB.DtUpdateReq getDefaultInstance()
public RiakDtPB.DtUpdateReq 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<RiakDtPB.DtUpdateReq> 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;
The identifier
hasBucket in interface RiakDtPB.DtUpdateReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
The identifier
getBucket in interface RiakDtPB.DtUpdateReqOrBuilderpublic 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 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 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 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.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 boolean hasDw()
optional uint32 dw = 7;hasDw in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getDw()
optional uint32 dw = 7;getDw in interface RiakDtPB.DtUpdateReqOrBuilderpublic boolean hasPw()
optional uint32 pw = 8;hasPw in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getPw()
optional uint32 pw = 8;getPw in interface RiakDtPB.DtUpdateReqOrBuilderpublic 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 boolean hasTimeout()
optional uint32 timeout = 10;hasTimeout in interface RiakDtPB.DtUpdateReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 10;getTimeout in interface RiakDtPB.DtUpdateReqOrBuilderpublic 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 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 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 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 RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateReq parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtUpdateReq.Builder newBuilder()
public RiakDtPB.DtUpdateReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakDtPB.DtUpdateReq.Builder newBuilder(RiakDtPB.DtUpdateReq prototype)
public RiakDtPB.DtUpdateReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakDtPB.DtUpdateReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.