public static final class RiakKvPB.RpbPutReq extends com.google.protobuf.GeneratedMessage 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 | Class and Description |
|---|---|
static class |
RiakKvPB.RpbPutReq.Builder
Protobuf type
RpbPutReq |
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 |
ASIS_FIELD_NUMBER |
static int |
BUCKET_FIELD_NUMBER |
static int |
CONTENT_FIELD_NUMBER |
static int |
DW_FIELD_NUMBER |
static int |
IF_NONE_MATCH_FIELD_NUMBER |
static int |
IF_NOT_MODIFIED_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
N_VAL_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbPutReq> |
PARSER |
static int |
PW_FIELD_NUMBER |
static int |
RETURN_BODY_FIELD_NUMBER |
static int |
RETURN_HEAD_FIELD_NUMBER |
static int |
SLOPPY_QUORUM_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VCLOCK_FIELD_NUMBER |
static int |
W_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAsis()
optional bool asis = 13; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
RiakKvPB.RpbContent |
getContent()
required .RpbContent content = 4; |
RiakKvPB.RpbContentOrBuilder |
getContentOrBuilder()
required .RpbContent content = 4; |
static RiakKvPB.RpbPutReq |
getDefaultInstance() |
RiakKvPB.RpbPutReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<RiakKvPB.RpbPutReq> |
getParserForType() |
int |
getPw()
optional uint32 pw = 8; |
boolean |
getReturnBody()
optional bool return_body = 7; |
boolean |
getReturnHead()
optional bool return_head = 11; |
int |
getSerializedSize() |
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.UnknownFieldSet |
getUnknownFields() |
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() |
static RiakKvPB.RpbPutReq.Builder |
newBuilder() |
static RiakKvPB.RpbPutReq.Builder |
newBuilder(RiakKvPB.RpbPutReq prototype) |
RiakKvPB.RpbPutReq.Builder |
newBuilderForType() |
protected RiakKvPB.RpbPutReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbPutReq |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbPutReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbPutReq |
parseFrom(byte[] data) |
static RiakKvPB.RpbPutReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbPutReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbPutReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbPutReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbPutReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbPutReq |
parseFrom(InputStream input) |
static RiakKvPB.RpbPutReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbPutReq.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<RiakKvPB.RpbPutReq> PARSER
public static final int BUCKET_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int VCLOCK_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
public static final int W_FIELD_NUMBER
public static final int DW_FIELD_NUMBER
public static final int RETURN_BODY_FIELD_NUMBER
public static final int PW_FIELD_NUMBER
public static final int IF_NOT_MODIFIED_FIELD_NUMBER
public static final int IF_NONE_MATCH_FIELD_NUMBER
public static final int RETURN_HEAD_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int ASIS_FIELD_NUMBER
public static final int SLOPPY_QUORUM_FIELD_NUMBER
public static final int N_VAL_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static RiakKvPB.RpbPutReq getDefaultInstance()
public RiakKvPB.RpbPutReq 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<RiakKvPB.RpbPutReq> 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;hasBucket in interface RiakKvPB.RpbPutReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;getBucket in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasKey()
optional bytes key = 2;hasKey in interface RiakKvPB.RpbPutReqOrBuilderpublic com.google.protobuf.ByteString getKey()
optional bytes key = 2;getKey in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasVclock()
optional bytes vclock = 3;hasVclock in interface RiakKvPB.RpbPutReqOrBuilderpublic com.google.protobuf.ByteString getVclock()
optional bytes vclock = 3;getVclock in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasContent()
required .RpbContent content = 4;hasContent in interface RiakKvPB.RpbPutReqOrBuilderpublic RiakKvPB.RpbContent getContent()
required .RpbContent content = 4;getContent in interface RiakKvPB.RpbPutReqOrBuilderpublic RiakKvPB.RpbContentOrBuilder getContentOrBuilder()
required .RpbContent content = 4;getContentOrBuilder in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasW()
optional uint32 w = 5;hasW in interface RiakKvPB.RpbPutReqOrBuilderpublic int getW()
optional uint32 w = 5;getW in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasDw()
optional uint32 dw = 6;hasDw in interface RiakKvPB.RpbPutReqOrBuilderpublic int getDw()
optional uint32 dw = 6;getDw in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasReturnBody()
optional bool return_body = 7;hasReturnBody in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean getReturnBody()
optional bool return_body = 7;getReturnBody in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasPw()
optional uint32 pw = 8;hasPw in interface RiakKvPB.RpbPutReqOrBuilderpublic int getPw()
optional uint32 pw = 8;getPw in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasIfNotModified()
optional bool if_not_modified = 9;hasIfNotModified in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean getIfNotModified()
optional bool if_not_modified = 9;getIfNotModified in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasIfNoneMatch()
optional bool if_none_match = 10;hasIfNoneMatch in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean getIfNoneMatch()
optional bool if_none_match = 10;getIfNoneMatch in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasReturnHead()
optional bool return_head = 11;hasReturnHead in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean getReturnHead()
optional bool return_head = 11;getReturnHead in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 12;hasTimeout in interface RiakKvPB.RpbPutReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 12;getTimeout in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasAsis()
optional bool asis = 13;hasAsis in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean getAsis()
optional bool asis = 13;getAsis in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
hasSloppyQuorum in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean getSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
getSloppyQuorum in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
hasNVal in interface RiakKvPB.RpbPutReqOrBuilderpublic int getNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
getNVal in interface RiakKvPB.RpbPutReqOrBuilderpublic boolean hasType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
hasType in interface RiakKvPB.RpbPutReqOrBuilderpublic com.google.protobuf.ByteString getType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
getType in interface RiakKvPB.RpbPutReqOrBuilderpublic 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 RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbPutReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbPutReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakKvPB.RpbPutReq parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbPutReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbPutReq parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbPutReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakKvPB.RpbPutReq.Builder newBuilder()
public RiakKvPB.RpbPutReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakKvPB.RpbPutReq.Builder newBuilder(RiakKvPB.RpbPutReq prototype)
public RiakKvPB.RpbPutReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakKvPB.RpbPutReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.