Package io.dingodb.diskann
Class Diskann.VectorSearchRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.diskann.Diskann.VectorSearchRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Diskann.VectorSearchRequestOrBuilder,Serializable
- Enclosing class:
- Diskann
public static final class Diskann.VectorSearchRequest
extends com.google.protobuf.GeneratedMessageV3
implements Diskann.VectorSearchRequestOrBuilder
Protobuf type
dingodb.pb.diskann.VectorSearchRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.diskann.VectorSearchRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Diskann.VectorSearchRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Diskann.VectorSearchRequest>.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.SearchDiskAnnParam search_param = 4;.dingodb.pb.common.SearchDiskAnnParam search_param = 4;intintgetTopN()uint32 top_n = 3;longvector index ID is equivalent to region_idgetVectors(int index) repeated .dingodb.pb.common.Vector vectors = 5;intrepeated .dingodb.pb.common.Vector vectors = 5;repeated .dingodb.pb.common.Vector vectors = 5;getVectorsOrBuilder(int index) repeated .dingodb.pb.common.Vector vectors = 5;List<? extends Common.VectorOrBuilder>repeated .dingodb.pb.common.Vector vectors = 5;inthashCode()boolean.dingodb.pb.common.RequestInfo request_info = 1;boolean.dingodb.pb.common.SearchDiskAnnParam search_param = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Diskann.VectorSearchRequest prototype) protected Diskann.VectorSearchRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Diskann.VectorSearchRequestparseDelimitedFrom(InputStream input) static Diskann.VectorSearchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Diskann.VectorSearchRequestparseFrom(byte[] data) static Diskann.VectorSearchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Diskann.VectorSearchRequestparseFrom(com.google.protobuf.ByteString data) static Diskann.VectorSearchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Diskann.VectorSearchRequestparseFrom(com.google.protobuf.CodedInputStream input) static Diskann.VectorSearchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Diskann.VectorSearchRequestparseFrom(InputStream input) static Diskann.VectorSearchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Diskann.VectorSearchRequestparseFrom(ByteBuffer data) static Diskann.VectorSearchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Diskann.VectorSearchRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
REQUEST_INFO_FIELD_NUMBER
public static final int REQUEST_INFO_FIELD_NUMBER- See Also:
-
VECTOR_INDEX_ID_FIELD_NUMBER
public static final int VECTOR_INDEX_ID_FIELD_NUMBER- See Also:
-
TOP_N_FIELD_NUMBER
public static final int TOP_N_FIELD_NUMBER- See Also:
-
SEARCH_PARAM_FIELD_NUMBER
public static final int SEARCH_PARAM_FIELD_NUMBER- See Also:
-
VECTORS_FIELD_NUMBER
public static final int VECTORS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasRequestInfo
public boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
hasRequestInfoin interfaceDiskann.VectorSearchRequestOrBuilder- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoin interfaceDiskann.VectorSearchRequestOrBuilder- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoOrBuilderin interfaceDiskann.VectorSearchRequestOrBuilder
-
getVectorIndexId
public long getVectorIndexId()vector index ID is equivalent to region_id
int64 vector_index_id = 2;- Specified by:
getVectorIndexIdin interfaceDiskann.VectorSearchRequestOrBuilder- Returns:
- The vectorIndexId.
-
getTopN
public int getTopN()uint32 top_n = 3;- Specified by:
getTopNin interfaceDiskann.VectorSearchRequestOrBuilder- Returns:
- The topN.
-
hasSearchParam
public boolean hasSearchParam().dingodb.pb.common.SearchDiskAnnParam search_param = 4;- Specified by:
hasSearchParamin interfaceDiskann.VectorSearchRequestOrBuilder- Returns:
- Whether the searchParam field is set.
-
getSearchParam
.dingodb.pb.common.SearchDiskAnnParam search_param = 4;- Specified by:
getSearchParamin interfaceDiskann.VectorSearchRequestOrBuilder- Returns:
- The searchParam.
-
getSearchParamOrBuilder
.dingodb.pb.common.SearchDiskAnnParam search_param = 4;- Specified by:
getSearchParamOrBuilderin interfaceDiskann.VectorSearchRequestOrBuilder
-
getVectorsList
repeated .dingodb.pb.common.Vector vectors = 5;- Specified by:
getVectorsListin interfaceDiskann.VectorSearchRequestOrBuilder
-
getVectorsOrBuilderList
repeated .dingodb.pb.common.Vector vectors = 5;- Specified by:
getVectorsOrBuilderListin interfaceDiskann.VectorSearchRequestOrBuilder
-
getVectorsCount
public int getVectorsCount()repeated .dingodb.pb.common.Vector vectors = 5;- Specified by:
getVectorsCountin interfaceDiskann.VectorSearchRequestOrBuilder
-
getVectors
repeated .dingodb.pb.common.Vector vectors = 5;- Specified by:
getVectorsin interfaceDiskann.VectorSearchRequestOrBuilder
-
getVectorsOrBuilder
repeated .dingodb.pb.common.Vector vectors = 5;- Specified by:
getVectorsOrBuilderin interfaceDiskann.VectorSearchRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Diskann.VectorSearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Diskann.VectorSearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Diskann.VectorSearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-