public static final class RiakDtPB.DtFetchReq extends com.google.protobuf.GeneratedMessage implements RiakDtPB.DtFetchReqOrBuilder
DtFetchReq
The equivalent of KV's "RpbGetReq", results in a DtFetchResp. The request-time options are limited to ones that are relevant to structured data-types.
| Modifier and Type | Class and Description |
|---|---|
static class |
RiakDtPB.DtFetchReq.Builder
Protobuf type
DtFetchReq |
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 |
INCLUDE_CONTEXT_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
N_VAL_FIELD_NUMBER |
static int |
NOTFOUND_OK_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakDtPB.DtFetchReq> |
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 = 6; |
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
static RiakDtPB.DtFetchReq |
getDefaultInstance() |
RiakDtPB.DtFetchReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIncludeContext()
optional bool include_context = 11 [default = true]; |
com.google.protobuf.ByteString |
getKey()
required bytes key = 2; |
boolean |
getNotfoundOk()
optional bool notfound_ok = 7; |
int |
getNVal()
optional uint32 n_val = 10; |
com.google.protobuf.Parser<RiakDtPB.DtFetchReq> |
getParserForType() |
int |
getPr()
optional uint32 pr = 5; |
int |
getR()
optional uint32 r = 4; |
int |
getSerializedSize() |
boolean |
getSloppyQuorum()
optional bool sloppy_quorum = 9; |
int |
getTimeout()
optional uint32 timeout = 8; |
com.google.protobuf.ByteString |
getType()
required bytes type = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBasicQuorum()
optional bool basic_quorum = 6; |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasIncludeContext()
optional bool include_context = 11 [default = true]; |
boolean |
hasKey()
required bytes key = 2; |
boolean |
hasNotfoundOk()
optional bool notfound_ok = 7; |
boolean |
hasNVal()
optional uint32 n_val = 10; |
boolean |
hasPr()
optional uint32 pr = 5; |
boolean |
hasR()
optional uint32 r = 4; |
boolean |
hasSloppyQuorum()
optional bool sloppy_quorum = 9; |
boolean |
hasTimeout()
optional uint32 timeout = 8; |
boolean |
hasType()
required bytes type = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakDtPB.DtFetchReq.Builder |
newBuilder() |
static RiakDtPB.DtFetchReq.Builder |
newBuilder(RiakDtPB.DtFetchReq prototype) |
RiakDtPB.DtFetchReq.Builder |
newBuilderForType() |
protected RiakDtPB.DtFetchReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakDtPB.DtFetchReq |
parseDelimitedFrom(InputStream input) |
static RiakDtPB.DtFetchReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtFetchReq |
parseFrom(byte[] data) |
static RiakDtPB.DtFetchReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtFetchReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakDtPB.DtFetchReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtFetchReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakDtPB.DtFetchReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakDtPB.DtFetchReq |
parseFrom(InputStream input) |
static RiakDtPB.DtFetchReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.DtFetchReq.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.DtFetchReq> 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 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 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.DtFetchReq getDefaultInstance()
public RiakDtPB.DtFetchReq 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.DtFetchReq> 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: bucket, key and bucket-type
hasBucket in interface RiakDtPB.DtFetchReqOrBuilderpublic com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
The identifier: bucket, key and bucket-type
getBucket in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasKey()
required bytes key = 2;hasKey in interface RiakDtPB.DtFetchReqOrBuilderpublic com.google.protobuf.ByteString getKey()
required bytes key = 2;getKey in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasType()
required bytes type = 3;hasType in interface RiakDtPB.DtFetchReqOrBuilderpublic com.google.protobuf.ByteString getType()
required bytes type = 3;getType in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasR()
optional uint32 r = 4;
Request options
hasR in interface RiakDtPB.DtFetchReqOrBuilderpublic int getR()
optional uint32 r = 4;
Request options
getR in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasPr()
optional uint32 pr = 5;hasPr in interface RiakDtPB.DtFetchReqOrBuilderpublic int getPr()
optional uint32 pr = 5;getPr in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasBasicQuorum()
optional bool basic_quorum = 6;hasBasicQuorum in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean getBasicQuorum()
optional bool basic_quorum = 6;getBasicQuorum in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasNotfoundOk()
optional bool notfound_ok = 7;hasNotfoundOk in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean getNotfoundOk()
optional bool notfound_ok = 7;getNotfoundOk in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 8;hasTimeout in interface RiakDtPB.DtFetchReqOrBuilderpublic int getTimeout()
optional uint32 timeout = 8;getTimeout in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
hasSloppyQuorum in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean getSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
getSloppyQuorum in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
hasNVal in interface RiakDtPB.DtFetchReqOrBuilderpublic int getNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
getNVal in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean hasIncludeContext()
optional bool include_context = 11 [default = true];
For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
hasIncludeContext in interface RiakDtPB.DtFetchReqOrBuilderpublic boolean getIncludeContext()
optional bool include_context = 11 [default = true];
For read-only requests or context-free operations, you can set this to false to reduce the size of the response payload.
getIncludeContext in interface RiakDtPB.DtFetchReqOrBuilderpublic 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.DtFetchReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtFetchReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtFetchReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtFetchReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RiakDtPB.DtFetchReq parseFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtFetchReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtFetchReq parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtFetchReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtFetchReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RiakDtPB.DtFetchReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RiakDtPB.DtFetchReq.Builder newBuilder()
public RiakDtPB.DtFetchReq.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RiakDtPB.DtFetchReq.Builder newBuilder(RiakDtPB.DtFetchReq prototype)
public RiakDtPB.DtFetchReq.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RiakDtPB.DtFetchReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.