Package io.milvus.grpc
Class SearchByIDParam
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.SearchByIDParam
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SearchByIDParamOrBuilder,Serializable
public final class SearchByIDParam extends com.google.protobuf.GeneratedMessageV3 implements SearchByIDParamOrBuilder
@brief Params for searching vector by ID
Protobuf typemilvus.grpc.SearchByIDParam- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchByIDParam.Builder@brief Params for searching vector by ID-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLLECTION_NAME_FIELD_NUMBERstatic intEXTRA_PARAMS_FIELD_NUMBERstatic intID_ARRAY_FIELD_NUMBERstatic intPARTITION_TAG_ARRAY_FIELD_NUMBERstatic intTOPK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCollectionName()string collection_name = 1;com.google.protobuf.ByteStringgetCollectionNameBytes()string collection_name = 1;static SearchByIDParamgetDefaultInstance()SearchByIDParamgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()KeyValuePairgetExtraParams(int index)repeated .milvus.grpc.KeyValuePair extra_params = 5;intgetExtraParamsCount()repeated .milvus.grpc.KeyValuePair extra_params = 5;List<KeyValuePair>getExtraParamsList()repeated .milvus.grpc.KeyValuePair extra_params = 5;KeyValuePairOrBuildergetExtraParamsOrBuilder(int index)repeated .milvus.grpc.KeyValuePair extra_params = 5;List<? extends KeyValuePairOrBuilder>getExtraParamsOrBuilderList()repeated .milvus.grpc.KeyValuePair extra_params = 5;longgetIdArray(int index)repeated int64 id_array = 3;intgetIdArrayCount()repeated int64 id_array = 3;List<Long>getIdArrayList()repeated int64 id_array = 3;com.google.protobuf.Parser<SearchByIDParam>getParserForType()StringgetPartitionTagArray(int index)repeated string partition_tag_array = 2;com.google.protobuf.ByteStringgetPartitionTagArrayBytes(int index)repeated string partition_tag_array = 2;intgetPartitionTagArrayCount()repeated string partition_tag_array = 2;com.google.protobuf.ProtocolStringListgetPartitionTagArrayList()repeated string partition_tag_array = 2;intgetSerializedSize()longgetTopk()int64 topk = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SearchByIDParam.BuildernewBuilder()static SearchByIDParam.BuildernewBuilder(SearchByIDParam prototype)SearchByIDParam.BuildernewBuilderForType()protected SearchByIDParam.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SearchByIDParamparseDelimitedFrom(InputStream input)static SearchByIDParamparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchByIDParamparseFrom(byte[] data)static SearchByIDParamparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchByIDParamparseFrom(com.google.protobuf.ByteString data)static SearchByIDParamparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchByIDParamparseFrom(com.google.protobuf.CodedInputStream input)static SearchByIDParamparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchByIDParamparseFrom(InputStream input)static SearchByIDParamparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchByIDParamparseFrom(ByteBuffer data)static SearchByIDParamparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SearchByIDParam>parser()SearchByIDParam.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_TAG_ARRAY_FIELD_NUMBER
public static final int PARTITION_TAG_ARRAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_ARRAY_FIELD_NUMBER
public static final int ID_ARRAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOPK_FIELD_NUMBER
public static final int TOPK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTRA_PARAMS_FIELD_NUMBER
public static final int EXTRA_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getCollectionName
public String getCollectionName()
string collection_name = 1;- Specified by:
getCollectionNamein interfaceSearchByIDParamOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
string collection_name = 1;- Specified by:
getCollectionNameBytesin interfaceSearchByIDParamOrBuilder- Returns:
- The bytes for collectionName.
-
getPartitionTagArrayList
public com.google.protobuf.ProtocolStringList getPartitionTagArrayList()
repeated string partition_tag_array = 2;- Specified by:
getPartitionTagArrayListin interfaceSearchByIDParamOrBuilder- Returns:
- A list containing the partitionTagArray.
-
getPartitionTagArrayCount
public int getPartitionTagArrayCount()
repeated string partition_tag_array = 2;- Specified by:
getPartitionTagArrayCountin interfaceSearchByIDParamOrBuilder- Returns:
- The count of partitionTagArray.
-
getPartitionTagArray
public String getPartitionTagArray(int index)
repeated string partition_tag_array = 2;- Specified by:
getPartitionTagArrayin interfaceSearchByIDParamOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionTagArray at the given index.
-
getPartitionTagArrayBytes
public com.google.protobuf.ByteString getPartitionTagArrayBytes(int index)
repeated string partition_tag_array = 2;- Specified by:
getPartitionTagArrayBytesin interfaceSearchByIDParamOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionTagArray at the given index.
-
getIdArrayList
public List<Long> getIdArrayList()
repeated int64 id_array = 3;- Specified by:
getIdArrayListin interfaceSearchByIDParamOrBuilder- Returns:
- A list containing the idArray.
-
getIdArrayCount
public int getIdArrayCount()
repeated int64 id_array = 3;- Specified by:
getIdArrayCountin interfaceSearchByIDParamOrBuilder- Returns:
- The count of idArray.
-
getIdArray
public long getIdArray(int index)
repeated int64 id_array = 3;- Specified by:
getIdArrayin interfaceSearchByIDParamOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The idArray at the given index.
-
getTopk
public long getTopk()
int64 topk = 4;- Specified by:
getTopkin interfaceSearchByIDParamOrBuilder- Returns:
- The topk.
-
getExtraParamsList
public List<KeyValuePair> getExtraParamsList()
repeated .milvus.grpc.KeyValuePair extra_params = 5;- Specified by:
getExtraParamsListin interfaceSearchByIDParamOrBuilder
-
getExtraParamsOrBuilderList
public List<? extends KeyValuePairOrBuilder> getExtraParamsOrBuilderList()
repeated .milvus.grpc.KeyValuePair extra_params = 5;- Specified by:
getExtraParamsOrBuilderListin interfaceSearchByIDParamOrBuilder
-
getExtraParamsCount
public int getExtraParamsCount()
repeated .milvus.grpc.KeyValuePair extra_params = 5;- Specified by:
getExtraParamsCountin interfaceSearchByIDParamOrBuilder
-
getExtraParams
public KeyValuePair getExtraParams(int index)
repeated .milvus.grpc.KeyValuePair extra_params = 5;- Specified by:
getExtraParamsin interfaceSearchByIDParamOrBuilder
-
getExtraParamsOrBuilder
public KeyValuePairOrBuilder getExtraParamsOrBuilder(int index)
repeated .milvus.grpc.KeyValuePair extra_params = 5;- Specified by:
getExtraParamsOrBuilderin interfaceSearchByIDParamOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 SearchByIDParam parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchByIDParam parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchByIDParam parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchByIDParam parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchByIDParam parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchByIDParam parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchByIDParam parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchByIDParam parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchByIDParam parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchByIDParam parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchByIDParam parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchByIDParam parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SearchByIDParam.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SearchByIDParam.Builder newBuilder()
-
newBuilder
public static SearchByIDParam.Builder newBuilder(SearchByIDParam prototype)
-
toBuilder
public SearchByIDParam.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchByIDParam.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SearchByIDParam getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SearchByIDParam> parser()
-
getParserForType
public com.google.protobuf.Parser<SearchByIDParam> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SearchByIDParam getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-