public static final class RiakKvPB.RpbIndexReq extends com.google.protobuf.GeneratedMessage implements RiakKvPB.RpbIndexReqOrBuilder
RpbIndexReq
Secondary Index query request
Modifier and Type | Class and Description |
---|---|
static class |
RiakKvPB.RpbIndexReq.Builder
Protobuf type
RpbIndexReq |
static class |
RiakKvPB.RpbIndexReq.IndexQueryType
Protobuf enum
RpbIndexReq.IndexQueryType |
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 |
BUCKET_FIELD_NUMBER |
static int |
CONTINUATION_FIELD_NUMBER |
static int |
COVER_CONTEXT_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
MAX_RESULTS_FIELD_NUMBER |
static int |
PAGINATION_SORT_FIELD_NUMBER |
static com.google.protobuf.Parser<RiakKvPB.RpbIndexReq> |
PARSER |
static int |
QTYPE_FIELD_NUMBER |
static int |
RANGE_MAX_FIELD_NUMBER |
static int |
RANGE_MIN_FIELD_NUMBER |
static int |
RETURN_BODY_FIELD_NUMBER |
static int |
RETURN_TERMS_FIELD_NUMBER |
static int |
STREAM_FIELD_NUMBER |
static int |
TERM_REGEX_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getBucket()
required bytes bucket = 1; |
com.google.protobuf.ByteString |
getContinuation()
optional bytes continuation = 10; |
com.google.protobuf.ByteString |
getCoverContext()
optional bytes cover_context = 15; |
static RiakKvPB.RpbIndexReq |
getDefaultInstance() |
RiakKvPB.RpbIndexReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getIndex()
required bytes index = 2; |
com.google.protobuf.ByteString |
getKey()
optional bytes key = 4; |
int |
getMaxResults()
optional uint32 max_results = 9; |
boolean |
getPaginationSort()
optional bool pagination_sort = 14; |
com.google.protobuf.Parser<RiakKvPB.RpbIndexReq> |
getParserForType() |
RiakKvPB.RpbIndexReq.IndexQueryType |
getQtype()
required .RpbIndexReq.IndexQueryType qtype = 3; |
com.google.protobuf.ByteString |
getRangeMax()
optional bytes range_max = 6; |
com.google.protobuf.ByteString |
getRangeMin()
optional bytes range_min = 5; |
boolean |
getReturnBody()
optional bool return_body = 16; |
boolean |
getReturnTerms()
optional bool return_terms = 7; |
int |
getSerializedSize() |
boolean |
getStream()
optional bool stream = 8; |
com.google.protobuf.ByteString |
getTermRegex()
optional bytes term_regex = 13; |
int |
getTimeout()
optional uint32 timeout = 11; |
com.google.protobuf.ByteString |
getType()
optional bytes type = 12; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBucket()
required bytes bucket = 1; |
boolean |
hasContinuation()
optional bytes continuation = 10; |
boolean |
hasCoverContext()
optional bytes cover_context = 15; |
boolean |
hasIndex()
required bytes index = 2; |
boolean |
hasKey()
optional bytes key = 4; |
boolean |
hasMaxResults()
optional uint32 max_results = 9; |
boolean |
hasPaginationSort()
optional bool pagination_sort = 14; |
boolean |
hasQtype()
required .RpbIndexReq.IndexQueryType qtype = 3; |
boolean |
hasRangeMax()
optional bytes range_max = 6; |
boolean |
hasRangeMin()
optional bytes range_min = 5; |
boolean |
hasReturnBody()
optional bool return_body = 16; |
boolean |
hasReturnTerms()
optional bool return_terms = 7; |
boolean |
hasStream()
optional bool stream = 8; |
boolean |
hasTermRegex()
optional bytes term_regex = 13; |
boolean |
hasTimeout()
optional uint32 timeout = 11; |
boolean |
hasType()
optional bytes type = 12; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RiakKvPB.RpbIndexReq.Builder |
newBuilder() |
static RiakKvPB.RpbIndexReq.Builder |
newBuilder(RiakKvPB.RpbIndexReq prototype) |
RiakKvPB.RpbIndexReq.Builder |
newBuilderForType() |
protected RiakKvPB.RpbIndexReq.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RiakKvPB.RpbIndexReq |
parseDelimitedFrom(InputStream input) |
static RiakKvPB.RpbIndexReq |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(byte[] data) |
static RiakKvPB.RpbIndexReq |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.ByteString data) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RiakKvPB.RpbIndexReq |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RiakKvPB.RpbIndexReq |
parseFrom(InputStream input) |
static RiakKvPB.RpbIndexReq |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbIndexReq.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.RpbIndexReq> PARSER
public static final int BUCKET_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
public static final int QTYPE_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int RANGE_MIN_FIELD_NUMBER
public static final int RANGE_MAX_FIELD_NUMBER
public static final int RETURN_TERMS_FIELD_NUMBER
public static final int STREAM_FIELD_NUMBER
public static final int MAX_RESULTS_FIELD_NUMBER
public static final int CONTINUATION_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TERM_REGEX_FIELD_NUMBER
public static final int PAGINATION_SORT_FIELD_NUMBER
public static final int COVER_CONTEXT_FIELD_NUMBER
public static final int RETURN_BODY_FIELD_NUMBER
public static RiakKvPB.RpbIndexReq getDefaultInstance()
public RiakKvPB.RpbIndexReq 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.RpbIndexReq> 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.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getBucket()
required bytes bucket = 1;
getBucket
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasIndex()
required bytes index = 2;
hasIndex
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getIndex()
required bytes index = 2;
getIndex
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasQtype()
required .RpbIndexReq.IndexQueryType qtype = 3;
hasQtype
in interface RiakKvPB.RpbIndexReqOrBuilder
public RiakKvPB.RpbIndexReq.IndexQueryType getQtype()
required .RpbIndexReq.IndexQueryType qtype = 3;
getQtype
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasKey()
optional bytes key = 4;
key here means equals value for index?
hasKey
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getKey()
optional bytes key = 4;
key here means equals value for index?
getKey
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasRangeMin()
optional bytes range_min = 5;
hasRangeMin
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getRangeMin()
optional bytes range_min = 5;
getRangeMin
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasRangeMax()
optional bytes range_max = 6;
hasRangeMax
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getRangeMax()
optional bytes range_max = 6;
getRangeMax
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasReturnTerms()
optional bool return_terms = 7;
hasReturnTerms
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean getReturnTerms()
optional bool return_terms = 7;
getReturnTerms
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasStream()
optional bool stream = 8;
hasStream
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean getStream()
optional bool stream = 8;
getStream
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasMaxResults()
optional uint32 max_results = 9;
hasMaxResults
in interface RiakKvPB.RpbIndexReqOrBuilder
public int getMaxResults()
optional uint32 max_results = 9;
getMaxResults
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasContinuation()
optional bytes continuation = 10;
hasContinuation
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getContinuation()
optional bytes continuation = 10;
getContinuation
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 11;
hasTimeout
in interface RiakKvPB.RpbIndexReqOrBuilder
public int getTimeout()
optional uint32 timeout = 11;
getTimeout
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasType()
optional bytes type = 12;
Bucket type, if not set we assume the 'default' type
hasType
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getType()
optional bytes type = 12;
Bucket type, if not set we assume the 'default' type
getType
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasTermRegex()
optional bytes term_regex = 13;
hasTermRegex
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getTermRegex()
optional bytes term_regex = 13;
getTermRegex
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasPaginationSort()
optional bool pagination_sort = 14;
Whether to use pagination sort for non-paginated queries
hasPaginationSort
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean getPaginationSort()
optional bool pagination_sort = 14;
Whether to use pagination sort for non-paginated queries
getPaginationSort
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasCoverContext()
optional bytes cover_context = 15;
parallel extraction extension
hasCoverContext
in interface RiakKvPB.RpbIndexReqOrBuilder
public com.google.protobuf.ByteString getCoverContext()
optional bytes cover_context = 15;
parallel extraction extension
getCoverContext
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean hasReturnBody()
optional bool return_body = 16;
Return values with keys, only works with $bucket/$key index queries
hasReturnBody
in interface RiakKvPB.RpbIndexReqOrBuilder
public boolean getReturnBody()
optional bool return_body = 16;
Return values with keys, only works with $bucket/$key index queries
getReturnBody
in interface RiakKvPB.RpbIndexReqOrBuilder
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.RpbIndexReq parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbIndexReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbIndexReq parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RiakKvPB.RpbIndexReq parseFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbIndexReq parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbIndexReq parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RiakKvPB.RpbIndexReq parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RiakKvPB.RpbIndexReq parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RiakKvPB.RpbIndexReq.Builder newBuilder()
public RiakKvPB.RpbIndexReq.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RiakKvPB.RpbIndexReq.Builder newBuilder(RiakKvPB.RpbIndexReq prototype)
public RiakKvPB.RpbIndexReq.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RiakKvPB.RpbIndexReq.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.