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, 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<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.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<RiakKvPB.RpbPutReq> 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;
hasBucket
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
getBucket
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasKey()
optional bytes key = 2;
hasKey
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getKey()
optional bytes key = 2;
getKey
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasVclock()
optional bytes vclock = 3;
hasVclock
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getVclock()
optional bytes vclock = 3;
getVclock
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasContent()
required .RpbContent content = 4;
hasContent
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbContent getContent()
required .RpbContent content = 4;
getContent
in interface RiakKvPB.RpbPutReqOrBuilder
public RiakKvPB.RpbContentOrBuilder getContentOrBuilder()
required .RpbContent content = 4;
getContentOrBuilder
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasW()
optional uint32 w = 5;
hasW
in interface RiakKvPB.RpbPutReqOrBuilder
public int getW()
optional uint32 w = 5;
getW
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasDw()
optional uint32 dw = 6;
hasDw
in interface RiakKvPB.RpbPutReqOrBuilder
public int getDw()
optional uint32 dw = 6;
getDw
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasReturnBody()
optional bool return_body = 7;
hasReturnBody
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getReturnBody()
optional bool return_body = 7;
getReturnBody
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasPw()
optional uint32 pw = 8;
hasPw
in interface RiakKvPB.RpbPutReqOrBuilder
public int getPw()
optional uint32 pw = 8;
getPw
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasIfNotModified()
optional bool if_not_modified = 9;
hasIfNotModified
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getIfNotModified()
optional bool if_not_modified = 9;
getIfNotModified
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasIfNoneMatch()
optional bool if_none_match = 10;
hasIfNoneMatch
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getIfNoneMatch()
optional bool if_none_match = 10;
getIfNoneMatch
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasReturnHead()
optional bool return_head = 11;
hasReturnHead
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getReturnHead()
optional bool return_head = 11;
getReturnHead
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 12;
hasTimeout
in interface RiakKvPB.RpbPutReqOrBuilder
public int getTimeout()
optional uint32 timeout = 12;
getTimeout
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasAsis()
optional bool asis = 13;
hasAsis
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getAsis()
optional bool asis = 13;
getAsis
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
hasSloppyQuorum
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean getSloppyQuorum()
optional bool sloppy_quorum = 14;
Experimental, may change/disappear
getSloppyQuorum
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
hasNVal
in interface RiakKvPB.RpbPutReqOrBuilder
public int getNVal()
optional uint32 n_val = 15;
Experimental, may change/disappear
getNVal
in interface RiakKvPB.RpbPutReqOrBuilder
public boolean hasType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
hasType
in interface RiakKvPB.RpbPutReqOrBuilder
public com.google.protobuf.ByteString getType()
optional bytes type = 16;
Bucket type, if not set we assume the 'default' type
getType
in interface RiakKvPB.RpbPutReqOrBuilder
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 RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbPutReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbPutReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbPutReq parseFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbPutReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbPutReq parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbPutReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakKvPB.RpbPutReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbPutReq.Builder newBuilder()
public RiakKvPB.RpbPutReq.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakKvPB.RpbPutReq.Builder newBuilder(RiakKvPB.RpbPutReq prototype)
public RiakKvPB.RpbPutReq.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakKvPB.RpbPutReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.