public static final class RiakKvPB.RpbGetReq extends com.google.protobuf.GeneratedMessage implements RiakKvPB.RpbGetReqOrBuilder
RpbGetReq
Get Request - retrieve bucket/key
Modifier and Type | Class and Description |
---|---|
static class |
RiakKvPB.RpbGetReq.Builder
Protobuf type
RpbGetReq |
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 |
BASIC_QUORUM_FIELD_NUMBER |
static int |
BUCKET_FIELD_NUMBER |
static int |
DELETEDVCLOCK_FIELD_NUMBER |
static int |
HEAD_FIELD_NUMBER |
static int |
IF_MODIFIED_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
N_VAL_FIELD_NUMBER |
static int |
NOTFOUND_OK_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbGetReq> |
PARSER |
static int |
PR_FIELD_NUMBER |
static int |
R_FIELD_NUMBER |
static int |
SLOPPY_QUORUM_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
getBasicQuorum()
optional bool basic_quorum = 5; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
static RiakKvPB.RpbGetReq |
getDefaultInstance() |
RiakKvPB.RpbGetReq |
getDefaultInstanceForType() |
boolean |
getDeletedvclock()
optional bool deletedvclock = 9; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getHead()
optional bool head = 8; |
com.google.protobuf.ByteString |
getIfModified()
optional bytes if_modified = 7; |
com.google.protobuf.ByteString |
getKey()
required bytes key = 2; |
boolean |
getNotfoundOk()
optional bool notfound_ok = 6; |
int |
getNVal()
optional uint32 n_val = 12; |
com.google.protobuf.Parser<RiakKvPB.RpbGetReq> |
getParserForType() |
int |
getPr()
optional uint32 pr = 4; |
int |
getR()
optional uint32 r = 3; |
int |
getSerializedSize() |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 11; |
int |
getTimeout()
optional uint32 timeout = 10; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 13; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBasicQuorum()
optional bool basic_quorum = 5; |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasDeletedvclock()
optional bool deletedvclock = 9; |
boolean |
hasHead()
optional bool head = 8; |
boolean |
hasIfModified()
optional bytes if_modified = 7; |
boolean |
hasKey()
required bytes key = 2; |
boolean |
hasNotfoundOk()
optional bool notfound_ok = 6; |
boolean |
hasNVal()
optional uint32 n_val = 12; |
boolean |
hasPr()
optional uint32 pr = 4; |
boolean |
hasR()
optional uint32 r = 3; |
boolean |
hasSloppyQuorum()
optional bool sloppy_quorum = 11; |
boolean |
hasTimeout()
optional uint32 timeout = 10; |
boolean |
hasType()
optional bytes type = 13; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakKvPB.RpbGetReq.Builder |
newBuilder() |
static RiakKvPB.RpbGetReq.Builder |
newBuilder(RiakKvPB.RpbGetReq prototype) |
RiakKvPB.RpbGetReq.Builder |
newBuilderForType() |
protected RiakKvPB.RpbGetReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbGetReq |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbGetReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(byte[] data) |
static RiakKvPB.RpbGetReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbGetReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbGetReq |
parseFrom(InputStream input) |
static RiakKvPB.RpbGetReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbGetReq.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.RpbGetReq> PARSER
public static final int BUCKET_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int R_FIELD_NUMBER
public static final int PR_FIELD_NUMBER
public static final int BASIC_QUORUM_FIELD_NUMBER
public static final int NOTFOUND_OK_FIELD_NUMBER
public static final int IF_MODIFIED_FIELD_NUMBER
public static final int HEAD_FIELD_NUMBER
public static final int DELETEDVCLOCK_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 TYPE_FIELD_NUMBER
public static RiakKvPB.RpbGetReq getDefaultInstance()
public RiakKvPB.RpbGetReq 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.RpbGetReq> 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.RpbGetReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
getBucket
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasKey()
required bytes key = 2;
hasKey
in interface RiakKvPB.RpbGetReqOrBuilder
public com.google.protobuf.ByteString getKey()
required bytes key = 2;
getKey
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasR()
optional uint32 r = 3;
hasR
in interface RiakKvPB.RpbGetReqOrBuilder
public int getR()
optional uint32 r = 3;
getR
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasPr()
optional uint32 pr = 4;
hasPr
in interface RiakKvPB.RpbGetReqOrBuilder
public int getPr()
optional uint32 pr = 4;
getPr
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasBasicQuorum()
optional bool basic_quorum = 5;
hasBasicQuorum
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean getBasicQuorum()
optional bool basic_quorum = 5;
getBasicQuorum
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasNotfoundOk()
optional bool notfound_ok = 6;
hasNotfoundOk
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean getNotfoundOk()
optional bool notfound_ok = 6;
getNotfoundOk
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasIfModified()
optional bytes if_modified = 7;
fail if the supplied vclock does not match
hasIfModified
in interface RiakKvPB.RpbGetReqOrBuilder
public com.google.protobuf.ByteString getIfModified()
optional bytes if_modified = 7;
fail if the supplied vclock does not match
getIfModified
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasHead()
optional bool head = 8;
return everything but the value
hasHead
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean getHead()
optional bool head = 8;
return everything but the value
getHead
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasDeletedvclock()
optional bool deletedvclock = 9;
return the tombstone's vclock, if applicable
hasDeletedvclock
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean getDeletedvclock()
optional bool deletedvclock = 9;
return the tombstone's vclock, if applicable
getDeletedvclock
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 10;
hasTimeout
in interface RiakKvPB.RpbGetReqOrBuilder
public int getTimeout()
optional uint32 timeout = 10;
getTimeout
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
hasSloppyQuorum
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean getSloppyQuorum()
optional bool sloppy_quorum = 11;
Experimental, may change/disappear
getSloppyQuorum
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
hasNVal
in interface RiakKvPB.RpbGetReqOrBuilder
public int getNVal()
optional uint32 n_val = 12;
Experimental, may change/disappear
getNVal
in interface RiakKvPB.RpbGetReqOrBuilder
public boolean hasType()
optional bytes type = 13;
Bucket type, if not set we assume the 'default' type
hasType
in interface RiakKvPB.RpbGetReqOrBuilder
public com.google.protobuf.ByteString getType()
optional bytes type = 13;
Bucket type, if not set we assume the 'default' type
getType
in interface RiakKvPB.RpbGetReqOrBuilder
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.RpbGetReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbGetReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbGetReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbGetReq parseFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbGetReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbGetReq parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbGetReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakKvPB.RpbGetReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbGetReq.Builder newBuilder()
public RiakKvPB.RpbGetReq.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakKvPB.RpbGetReq.Builder newBuilder(RiakKvPB.RpbGetReq prototype)
public RiakKvPB.RpbGetReq.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakKvPB.RpbGetReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.