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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<RiakDtPB.DtUpdateReq> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 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 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.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 boolean hasDw()
optional uint32 dw = 7;
hasDw
in interface RiakDtPB.DtUpdateReqOrBuilder
public int getDw()
optional uint32 dw = 7;
getDw
in interface RiakDtPB.DtUpdateReqOrBuilder
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 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 boolean hasTimeout()
optional uint32 timeout = 10;
hasTimeout
in interface RiakDtPB.DtUpdateReqOrBuilder
public int getTimeout()
optional uint32 timeout = 10;
getTimeout
in interface RiakDtPB.DtUpdateReqOrBuilder
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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtUpdateReq parseFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.DtUpdateReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtUpdateReq parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.DtUpdateReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakDtPB.DtUpdateReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtUpdateReq.Builder newBuilder()
public RiakDtPB.DtUpdateReq.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakDtPB.DtUpdateReq.Builder newBuilder(RiakDtPB.DtUpdateReq prototype)
public RiakDtPB.DtUpdateReq.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakDtPB.DtUpdateReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.