Package io.milvus.grpc
Class HybridSearchRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.HybridSearchRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HybridSearchRequestOrBuilder,Serializable
public final class HybridSearchRequest extends com.google.protobuf.GeneratedMessageV3 implements HybridSearchRequestOrBuilder
Protobuf typemilvus.proto.milvus.HybridSearchRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHybridSearchRequest.BuilderProtobuf typemilvus.proto.milvus.HybridSearchRequest-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intBASE_FIELD_NUMBERstatic intCOLLECTION_NAME_FIELD_NUMBERstatic intCONSISTENCY_LEVEL_FIELD_NUMBERstatic intDB_NAME_FIELD_NUMBERstatic intGUARANTEE_TIMESTAMP_FIELD_NUMBERstatic intNOT_RETURN_ALL_META_FIELD_NUMBERstatic intOUTPUT_FIELDS_FIELD_NUMBERstatic intPARTITION_NAMES_FIELD_NUMBERstatic intRANK_PARAMS_FIELD_NUMBERstatic intREQUESTS_FIELD_NUMBERstatic intTRAVEL_TIMESTAMP_FIELD_NUMBERstatic intUSE_DEFAULT_CONSISTENCY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)MsgBasegetBase()mustMsgBaseOrBuildergetBaseOrBuilder()mustStringgetCollectionName()mustcom.google.protobuf.ByteStringgetCollectionNameBytes()mustConsistencyLevelgetConsistencyLevel().milvus.proto.common.ConsistencyLevel consistency_level = 11;intgetConsistencyLevelValue().milvus.proto.common.ConsistencyLevel consistency_level = 11;StringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;static HybridSearchRequestgetDefaultInstance()HybridSearchRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetGuaranteeTimestamp()guarantee_timestampbooleangetNotReturnAllMeta()bool not_return_all_meta = 9;StringgetOutputFields(int index)repeated string output_fields = 10;com.google.protobuf.ByteStringgetOutputFieldsBytes(int index)repeated string output_fields = 10;intgetOutputFieldsCount()repeated string output_fields = 10;com.google.protobuf.ProtocolStringListgetOutputFieldsList()repeated string output_fields = 10;com.google.protobuf.Parser<HybridSearchRequest>getParserForType()StringgetPartitionNames(int index)mustcom.google.protobuf.ByteStringgetPartitionNamesBytes(int index)mustintgetPartitionNamesCount()mustcom.google.protobuf.ProtocolStringListgetPartitionNamesList()mustKeyValuePairgetRankParams(int index)mustintgetRankParamsCount()mustList<KeyValuePair>getRankParamsList()mustKeyValuePairOrBuildergetRankParamsOrBuilder(int index)mustList<? extends KeyValuePairOrBuilder>getRankParamsOrBuilderList()mustSearchRequestgetRequests(int index)repeated .milvus.proto.milvus.SearchRequest requests = 5;intgetRequestsCount()repeated .milvus.proto.milvus.SearchRequest requests = 5;List<SearchRequest>getRequestsList()repeated .milvus.proto.milvus.SearchRequest requests = 5;SearchRequestOrBuildergetRequestsOrBuilder(int index)repeated .milvus.proto.milvus.SearchRequest requests = 5;List<? extends SearchRequestOrBuilder>getRequestsOrBuilderList()repeated .milvus.proto.milvus.SearchRequest requests = 5;intgetSerializedSize()longgetTravelTimestamp()uint64 travel_timestamp = 7;booleangetUseDefaultConsistency()bool use_default_consistency = 12;booleanhasBase()mustinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HybridSearchRequest.BuildernewBuilder()static HybridSearchRequest.BuildernewBuilder(HybridSearchRequest prototype)HybridSearchRequest.BuildernewBuilderForType()protected HybridSearchRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HybridSearchRequestparseDelimitedFrom(InputStream input)static HybridSearchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HybridSearchRequestparseFrom(byte[] data)static HybridSearchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HybridSearchRequestparseFrom(com.google.protobuf.ByteString data)static HybridSearchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HybridSearchRequestparseFrom(com.google.protobuf.CodedInputStream input)static HybridSearchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HybridSearchRequestparseFrom(InputStream input)static HybridSearchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HybridSearchRequestparseFrom(ByteBuffer data)static HybridSearchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HybridSearchRequest>parser()HybridSearchRequest.BuildertoBuilder()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, 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, 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
-
BASE_FIELD_NUMBER
public static final int BASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_NAMES_FIELD_NUMBER
public static final int PARTITION_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUESTS_FIELD_NUMBER
public static final int REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANK_PARAMS_FIELD_NUMBER
public static final int RANK_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRAVEL_TIMESTAMP_FIELD_NUMBER
public static final int TRAVEL_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GUARANTEE_TIMESTAMP_FIELD_NUMBER
public static final int GUARANTEE_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_RETURN_ALL_META_FIELD_NUMBER
public static final int NOT_RETURN_ALL_META_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_FIELDS_FIELD_NUMBER
public static final int OUTPUT_FIELDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSISTENCY_LEVEL_FIELD_NUMBER
public static final int CONSISTENCY_LEVEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_DEFAULT_CONSISTENCY_FIELD_NUMBER
public static final int USE_DEFAULT_CONSISTENCY_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
-
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
-
hasBase
public boolean hasBase()
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceHybridSearchRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
public MsgBase getBase()
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceHybridSearchRequestOrBuilder- Returns:
- The base.
-
getBaseOrBuilder
public MsgBaseOrBuilder getBaseOrBuilder()
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceHybridSearchRequestOrBuilder
-
getDbName
public String getDbName()
string db_name = 2;- Specified by:
getDbNamein interfaceHybridSearchRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
string db_name = 2;- Specified by:
getDbNameBytesin interfaceHybridSearchRequestOrBuilder- Returns:
- The bytes for dbName.
-
getCollectionName
public String getCollectionName()
must
string collection_name = 3;- Specified by:
getCollectionNamein interfaceHybridSearchRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
must
string collection_name = 3;- Specified by:
getCollectionNameBytesin interfaceHybridSearchRequestOrBuilder- Returns:
- The bytes for collectionName.
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesListin interfaceHybridSearchRequestOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesCountin interfaceHybridSearchRequestOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
public String getPartitionNames(int index)
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesin interfaceHybridSearchRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionNames at the given index.
-
getPartitionNamesBytes
public com.google.protobuf.ByteString getPartitionNamesBytes(int index)
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesBytesin interfaceHybridSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
getRequestsList
public List<SearchRequest> getRequestsList()
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsListin interfaceHybridSearchRequestOrBuilder
-
getRequestsOrBuilderList
public List<? extends SearchRequestOrBuilder> getRequestsOrBuilderList()
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsOrBuilderListin interfaceHybridSearchRequestOrBuilder
-
getRequestsCount
public int getRequestsCount()
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsCountin interfaceHybridSearchRequestOrBuilder
-
getRequests
public SearchRequest getRequests(int index)
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsin interfaceHybridSearchRequestOrBuilder
-
getRequestsOrBuilder
public SearchRequestOrBuilder getRequestsOrBuilder(int index)
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsOrBuilderin interfaceHybridSearchRequestOrBuilder
-
getRankParamsList
public List<KeyValuePair> getRankParamsList()
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsListin interfaceHybridSearchRequestOrBuilder
-
getRankParamsOrBuilderList
public List<? extends KeyValuePairOrBuilder> getRankParamsOrBuilderList()
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsOrBuilderListin interfaceHybridSearchRequestOrBuilder
-
getRankParamsCount
public int getRankParamsCount()
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsCountin interfaceHybridSearchRequestOrBuilder
-
getRankParams
public KeyValuePair getRankParams(int index)
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsin interfaceHybridSearchRequestOrBuilder
-
getRankParamsOrBuilder
public KeyValuePairOrBuilder getRankParamsOrBuilder(int index)
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsOrBuilderin interfaceHybridSearchRequestOrBuilder
-
getTravelTimestamp
public long getTravelTimestamp()
uint64 travel_timestamp = 7;- Specified by:
getTravelTimestampin interfaceHybridSearchRequestOrBuilder- Returns:
- The travelTimestamp.
-
getGuaranteeTimestamp
public long getGuaranteeTimestamp()
guarantee_timestamp
uint64 guarantee_timestamp = 8;- Specified by:
getGuaranteeTimestampin interfaceHybridSearchRequestOrBuilder- Returns:
- The guaranteeTimestamp.
-
getNotReturnAllMeta
public boolean getNotReturnAllMeta()
bool not_return_all_meta = 9;- Specified by:
getNotReturnAllMetain interfaceHybridSearchRequestOrBuilder- Returns:
- The notReturnAllMeta.
-
getOutputFieldsList
public com.google.protobuf.ProtocolStringList getOutputFieldsList()
repeated string output_fields = 10;- Specified by:
getOutputFieldsListin interfaceHybridSearchRequestOrBuilder- Returns:
- A list containing the outputFields.
-
getOutputFieldsCount
public int getOutputFieldsCount()
repeated string output_fields = 10;- Specified by:
getOutputFieldsCountin interfaceHybridSearchRequestOrBuilder- Returns:
- The count of outputFields.
-
getOutputFields
public String getOutputFields(int index)
repeated string output_fields = 10;- Specified by:
getOutputFieldsin interfaceHybridSearchRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputFields at the given index.
-
getOutputFieldsBytes
public com.google.protobuf.ByteString getOutputFieldsBytes(int index)
repeated string output_fields = 10;- Specified by:
getOutputFieldsBytesin interfaceHybridSearchRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFields at the given index.
-
getConsistencyLevelValue
public int getConsistencyLevelValue()
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Specified by:
getConsistencyLevelValuein interfaceHybridSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for consistencyLevel.
-
getConsistencyLevel
public ConsistencyLevel getConsistencyLevel()
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Specified by:
getConsistencyLevelin interfaceHybridSearchRequestOrBuilder- Returns:
- The consistencyLevel.
-
getUseDefaultConsistency
public boolean getUseDefaultConsistency()
bool use_default_consistency = 12;- Specified by:
getUseDefaultConsistencyin interfaceHybridSearchRequestOrBuilder- Returns:
- The useDefaultConsistency.
-
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 HybridSearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HybridSearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HybridSearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HybridSearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HybridSearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HybridSearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HybridSearchRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HybridSearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HybridSearchRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HybridSearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HybridSearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HybridSearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HybridSearchRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HybridSearchRequest.Builder newBuilder()
-
newBuilder
public static HybridSearchRequest.Builder newBuilder(HybridSearchRequest prototype)
-
toBuilder
public HybridSearchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HybridSearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HybridSearchRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HybridSearchRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<HybridSearchRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HybridSearchRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-