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, 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.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.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.DtFetchReq> 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: bucket, key and bucket-type
hasBucket
in interface RiakDtPB.DtFetchReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
The identifier: bucket, key and bucket-type
getBucket
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasKey()
required bytes key = 2;
hasKey
in interface RiakDtPB.DtFetchReqOrBuilder
public com.google.protobuf.ByteString getKey()
required bytes key = 2;
getKey
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasType()
required bytes type = 3;
hasType
in interface RiakDtPB.DtFetchReqOrBuilder
public com.google.protobuf.ByteString getType()
required bytes type = 3;
getType
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasR()
optional uint32 r = 4;
Request options
hasR
in interface RiakDtPB.DtFetchReqOrBuilder
public int getR()
optional uint32 r = 4;
Request options
getR
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasPr()
optional uint32 pr = 5;
hasPr
in interface RiakDtPB.DtFetchReqOrBuilder
public int getPr()
optional uint32 pr = 5;
getPr
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasBasicQuorum()
optional bool basic_quorum = 6;
hasBasicQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getBasicQuorum()
optional bool basic_quorum = 6;
getBasicQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasNotfoundOk()
optional bool notfound_ok = 7;
hasNotfoundOk
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getNotfoundOk()
optional bool notfound_ok = 7;
getNotfoundOk
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 8;
hasTimeout
in interface RiakDtPB.DtFetchReqOrBuilder
public int getTimeout()
optional uint32 timeout = 8;
getTimeout
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
hasSloppyQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean getSloppyQuorum()
optional bool sloppy_quorum = 9;
Experimental, may change/disappear
getSloppyQuorum
in interface RiakDtPB.DtFetchReqOrBuilder
public boolean hasNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
hasNVal
in interface RiakDtPB.DtFetchReqOrBuilder
public int getNVal()
optional uint32 n_val = 10;
Experimental, may change/disappear
getNVal
in interface RiakDtPB.DtFetchReqOrBuilder
public 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.DtFetchReqOrBuilder
public 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.DtFetchReqOrBuilder
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.DtFetchReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtFetchReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtFetchReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtFetchReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakDtPB.DtFetchReq parseFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.DtFetchReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtFetchReq parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakDtPB.DtFetchReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtFetchReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakDtPB.DtFetchReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakDtPB.DtFetchReq.Builder newBuilder()
public RiakDtPB.DtFetchReq.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakDtPB.DtFetchReq.Builder newBuilder(RiakDtPB.DtFetchReq prototype)
public RiakDtPB.DtFetchReq.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakDtPB.DtFetchReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.