public static final class RiakKvPB.RpbIndexReq.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbIndexReq.Builder> implements RiakKvPB.RpbIndexReqOrBuilder
RpbIndexReq
Secondary Index query request
Modifier and Type | Method and Description |
---|---|
RiakKvPB.RpbIndexReq |
build() |
RiakKvPB.RpbIndexReq |
buildPartial() |
RiakKvPB.RpbIndexReq.Builder |
clear() |
RiakKvPB.RpbIndexReq.Builder |
clearBucket()
required bytes bucket = 1; |
RiakKvPB.RpbIndexReq.Builder |
clearContinuation()
optional bytes continuation = 10; |
RiakKvPB.RpbIndexReq.Builder |
clearCoverContext()
optional bytes cover_context = 15; |
RiakKvPB.RpbIndexReq.Builder |
clearIndex()
required bytes index = 2; |
RiakKvPB.RpbIndexReq.Builder |
clearKey()
optional bytes key = 4; |
RiakKvPB.RpbIndexReq.Builder |
clearMaxResults()
optional uint32 max_results = 9; |
RiakKvPB.RpbIndexReq.Builder |
clearPaginationSort()
optional bool pagination_sort = 14; |
RiakKvPB.RpbIndexReq.Builder |
clearQtype()
required .RpbIndexReq.IndexQueryType qtype = 3; |
RiakKvPB.RpbIndexReq.Builder |
clearRangeMax()
optional bytes range_max = 6; |
RiakKvPB.RpbIndexReq.Builder |
clearRangeMin()
optional bytes range_min = 5; |
RiakKvPB.RpbIndexReq.Builder |
clearReturnBody()
optional bool return_body = 16; |
RiakKvPB.RpbIndexReq.Builder |
clearReturnTerms()
optional bool return_terms = 7; |
RiakKvPB.RpbIndexReq.Builder |
clearStream()
optional bool stream = 8; |
RiakKvPB.RpbIndexReq.Builder |
clearTermRegex()
optional bytes term_regex = 13; |
RiakKvPB.RpbIndexReq.Builder |
clearTimeout()
optional uint32 timeout = 11; |
RiakKvPB.RpbIndexReq.Builder |
clearType()
optional bytes type = 12; |
RiakKvPB.RpbIndexReq.Builder |
clone() |
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; |
RiakKvPB.RpbIndexReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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; |
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; |
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() |
RiakKvPB.RpbIndexReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakKvPB.RpbIndexReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakKvPB.RpbIndexReq.Builder |
mergeFrom(RiakKvPB.RpbIndexReq other) |
RiakKvPB.RpbIndexReq.Builder |
setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1; |
RiakKvPB.RpbIndexReq.Builder |
setContinuation(com.google.protobuf.ByteString value)
optional bytes continuation = 10; |
RiakKvPB.RpbIndexReq.Builder |
setCoverContext(com.google.protobuf.ByteString value)
optional bytes cover_context = 15; |
RiakKvPB.RpbIndexReq.Builder |
setIndex(com.google.protobuf.ByteString value)
required bytes index = 2; |
RiakKvPB.RpbIndexReq.Builder |
setKey(com.google.protobuf.ByteString value)
optional bytes key = 4; |
RiakKvPB.RpbIndexReq.Builder |
setMaxResults(int value)
optional uint32 max_results = 9; |
RiakKvPB.RpbIndexReq.Builder |
setPaginationSort(boolean value)
optional bool pagination_sort = 14; |
RiakKvPB.RpbIndexReq.Builder |
setQtype(RiakKvPB.RpbIndexReq.IndexQueryType value)
required .RpbIndexReq.IndexQueryType qtype = 3; |
RiakKvPB.RpbIndexReq.Builder |
setRangeMax(com.google.protobuf.ByteString value)
optional bytes range_max = 6; |
RiakKvPB.RpbIndexReq.Builder |
setRangeMin(com.google.protobuf.ByteString value)
optional bytes range_min = 5; |
RiakKvPB.RpbIndexReq.Builder |
setReturnBody(boolean value)
optional bool return_body = 16; |
RiakKvPB.RpbIndexReq.Builder |
setReturnTerms(boolean value)
optional bool return_terms = 7; |
RiakKvPB.RpbIndexReq.Builder |
setStream(boolean value)
optional bool stream = 8; |
RiakKvPB.RpbIndexReq.Builder |
setTermRegex(com.google.protobuf.ByteString value)
optional bytes term_regex = 13; |
RiakKvPB.RpbIndexReq.Builder |
setTimeout(int value)
optional uint32 timeout = 11; |
RiakKvPB.RpbIndexReq.Builder |
setType(com.google.protobuf.ByteString value)
optional bytes type = 12; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
public RiakKvPB.RpbIndexReq.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
public RiakKvPB.RpbIndexReq.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
public RiakKvPB.RpbIndexReq getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakKvPB.RpbIndexReq build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbIndexReq buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakKvPB.RpbIndexReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
public RiakKvPB.RpbIndexReq.Builder mergeFrom(RiakKvPB.RpbIndexReq other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
public RiakKvPB.RpbIndexReq.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakKvPB.RpbIndexReq.Builder>
IOException
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 RiakKvPB.RpbIndexReq.Builder setBucket(com.google.protobuf.ByteString value)
required bytes bucket = 1;
public RiakKvPB.RpbIndexReq.Builder clearBucket()
required bytes bucket = 1;
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 RiakKvPB.RpbIndexReq.Builder setIndex(com.google.protobuf.ByteString value)
required bytes index = 2;
public RiakKvPB.RpbIndexReq.Builder clearIndex()
required bytes index = 2;
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 RiakKvPB.RpbIndexReq.Builder setQtype(RiakKvPB.RpbIndexReq.IndexQueryType value)
required .RpbIndexReq.IndexQueryType qtype = 3;
public RiakKvPB.RpbIndexReq.Builder clearQtype()
required .RpbIndexReq.IndexQueryType qtype = 3;
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 RiakKvPB.RpbIndexReq.Builder setKey(com.google.protobuf.ByteString value)
optional bytes key = 4;
key here means equals value for index?
public RiakKvPB.RpbIndexReq.Builder clearKey()
optional bytes key = 4;
key here means equals value for index?
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 RiakKvPB.RpbIndexReq.Builder setRangeMin(com.google.protobuf.ByteString value)
optional bytes range_min = 5;
public RiakKvPB.RpbIndexReq.Builder clearRangeMin()
optional bytes range_min = 5;
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 RiakKvPB.RpbIndexReq.Builder setRangeMax(com.google.protobuf.ByteString value)
optional bytes range_max = 6;
public RiakKvPB.RpbIndexReq.Builder clearRangeMax()
optional bytes range_max = 6;
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 RiakKvPB.RpbIndexReq.Builder setReturnTerms(boolean value)
optional bool return_terms = 7;
public RiakKvPB.RpbIndexReq.Builder clearReturnTerms()
optional bool return_terms = 7;
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 RiakKvPB.RpbIndexReq.Builder setStream(boolean value)
optional bool stream = 8;
public RiakKvPB.RpbIndexReq.Builder clearStream()
optional bool stream = 8;
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 RiakKvPB.RpbIndexReq.Builder setMaxResults(int value)
optional uint32 max_results = 9;
public RiakKvPB.RpbIndexReq.Builder clearMaxResults()
optional uint32 max_results = 9;
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 RiakKvPB.RpbIndexReq.Builder setContinuation(com.google.protobuf.ByteString value)
optional bytes continuation = 10;
public RiakKvPB.RpbIndexReq.Builder clearContinuation()
optional bytes continuation = 10;
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 RiakKvPB.RpbIndexReq.Builder setTimeout(int value)
optional uint32 timeout = 11;
public RiakKvPB.RpbIndexReq.Builder clearTimeout()
optional uint32 timeout = 11;
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 RiakKvPB.RpbIndexReq.Builder setType(com.google.protobuf.ByteString value)
optional bytes type = 12;
Bucket type, if not set we assume the 'default' type
public RiakKvPB.RpbIndexReq.Builder clearType()
optional bytes type = 12;
Bucket type, if not set we assume the 'default' type
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 RiakKvPB.RpbIndexReq.Builder setTermRegex(com.google.protobuf.ByteString value)
optional bytes term_regex = 13;
public RiakKvPB.RpbIndexReq.Builder clearTermRegex()
optional bytes term_regex = 13;
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 RiakKvPB.RpbIndexReq.Builder setPaginationSort(boolean value)
optional bool pagination_sort = 14;
Whether to use pagination sort for non-paginated queries
public RiakKvPB.RpbIndexReq.Builder clearPaginationSort()
optional bool pagination_sort = 14;
Whether to use pagination sort for non-paginated queries
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 RiakKvPB.RpbIndexReq.Builder setCoverContext(com.google.protobuf.ByteString value)
optional bytes cover_context = 15;
parallel extraction extension
public RiakKvPB.RpbIndexReq.Builder clearCoverContext()
optional bytes cover_context = 15;
parallel extraction extension
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 RiakKvPB.RpbIndexReq.Builder setReturnBody(boolean value)
optional bool return_body = 16;
Return values with keys, only works with $bucket/$key index queries
public RiakKvPB.RpbIndexReq.Builder clearReturnBody()
optional bool return_body = 16;
Return values with keys, only works with $bucket/$key index queries
Copyright © 2016. All rights reserved.