Package io.milvus.grpc
Class SearchRequestV2
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.SearchRequestV2
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SearchRequestV2OrBuilder,Serializable
public final class SearchRequestV2 extends com.google.protobuf.GeneratedMessageV3 implements SearchRequestV2OrBuilder
Protobuf typemilvus.proto.milvus.SearchRequestV2- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchRequestV2.BuilderProtobuf typemilvus.proto.milvus.SearchRequestV2-
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 SearchRequestV2getDefaultInstance()SearchRequestV2getDefaultInstanceForType()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<SearchRequestV2>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 SearchRequestV2.BuildernewBuilder()static SearchRequestV2.BuildernewBuilder(SearchRequestV2 prototype)SearchRequestV2.BuildernewBuilderForType()protected SearchRequestV2.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SearchRequestV2parseDelimitedFrom(InputStream input)static SearchRequestV2parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestV2parseFrom(byte[] data)static SearchRequestV2parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestV2parseFrom(com.google.protobuf.ByteString data)static SearchRequestV2parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestV2parseFrom(com.google.protobuf.CodedInputStream input)static SearchRequestV2parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestV2parseFrom(InputStream input)static SearchRequestV2parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SearchRequestV2parseFrom(ByteBuffer data)static SearchRequestV2parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SearchRequestV2>parser()SearchRequestV2.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 interfaceSearchRequestV2OrBuilder- Returns:
- Whether the base field is set.
-
getBase
public MsgBase getBase()
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceSearchRequestV2OrBuilder- Returns:
- The base.
-
getBaseOrBuilder
public MsgBaseOrBuilder getBaseOrBuilder()
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceSearchRequestV2OrBuilder
-
getDbName
public String getDbName()
string db_name = 2;- Specified by:
getDbNamein interfaceSearchRequestV2OrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
string db_name = 2;- Specified by:
getDbNameBytesin interfaceSearchRequestV2OrBuilder- Returns:
- The bytes for dbName.
-
getCollectionName
public String getCollectionName()
must
string collection_name = 3;- Specified by:
getCollectionNamein interfaceSearchRequestV2OrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
must
string collection_name = 3;- Specified by:
getCollectionNameBytesin interfaceSearchRequestV2OrBuilder- Returns:
- The bytes for collectionName.
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesListin interfaceSearchRequestV2OrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesCountin interfaceSearchRequestV2OrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
public String getPartitionNames(int index)
must
repeated string partition_names = 4;- Specified by:
getPartitionNamesin interfaceSearchRequestV2OrBuilder- 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 interfaceSearchRequestV2OrBuilder- 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 interfaceSearchRequestV2OrBuilder
-
getRequestsOrBuilderList
public List<? extends SearchRequestOrBuilder> getRequestsOrBuilderList()
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsOrBuilderListin interfaceSearchRequestV2OrBuilder
-
getRequestsCount
public int getRequestsCount()
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsCountin interfaceSearchRequestV2OrBuilder
-
getRequests
public SearchRequest getRequests(int index)
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsin interfaceSearchRequestV2OrBuilder
-
getRequestsOrBuilder
public SearchRequestOrBuilder getRequestsOrBuilder(int index)
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsOrBuilderin interfaceSearchRequestV2OrBuilder
-
getRankParamsList
public List<KeyValuePair> getRankParamsList()
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsListin interfaceSearchRequestV2OrBuilder
-
getRankParamsOrBuilderList
public List<? extends KeyValuePairOrBuilder> getRankParamsOrBuilderList()
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsOrBuilderListin interfaceSearchRequestV2OrBuilder
-
getRankParamsCount
public int getRankParamsCount()
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsCountin interfaceSearchRequestV2OrBuilder
-
getRankParams
public KeyValuePair getRankParams(int index)
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsin interfaceSearchRequestV2OrBuilder
-
getRankParamsOrBuilder
public KeyValuePairOrBuilder getRankParamsOrBuilder(int index)
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsOrBuilderin interfaceSearchRequestV2OrBuilder
-
getTravelTimestamp
public long getTravelTimestamp()
uint64 travel_timestamp = 7;- Specified by:
getTravelTimestampin interfaceSearchRequestV2OrBuilder- Returns:
- The travelTimestamp.
-
getGuaranteeTimestamp
public long getGuaranteeTimestamp()
guarantee_timestamp
uint64 guarantee_timestamp = 8;- Specified by:
getGuaranteeTimestampin interfaceSearchRequestV2OrBuilder- Returns:
- The guaranteeTimestamp.
-
getNotReturnAllMeta
public boolean getNotReturnAllMeta()
bool not_return_all_meta = 9;- Specified by:
getNotReturnAllMetain interfaceSearchRequestV2OrBuilder- Returns:
- The notReturnAllMeta.
-
getOutputFieldsList
public com.google.protobuf.ProtocolStringList getOutputFieldsList()
repeated string output_fields = 10;- Specified by:
getOutputFieldsListin interfaceSearchRequestV2OrBuilder- Returns:
- A list containing the outputFields.
-
getOutputFieldsCount
public int getOutputFieldsCount()
repeated string output_fields = 10;- Specified by:
getOutputFieldsCountin interfaceSearchRequestV2OrBuilder- Returns:
- The count of outputFields.
-
getOutputFields
public String getOutputFields(int index)
repeated string output_fields = 10;- Specified by:
getOutputFieldsin interfaceSearchRequestV2OrBuilder- 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 interfaceSearchRequestV2OrBuilder- 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 interfaceSearchRequestV2OrBuilder- Returns:
- The enum numeric value on the wire for consistencyLevel.
-
getConsistencyLevel
public ConsistencyLevel getConsistencyLevel()
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Specified by:
getConsistencyLevelin interfaceSearchRequestV2OrBuilder- Returns:
- The consistencyLevel.
-
getUseDefaultConsistency
public boolean getUseDefaultConsistency()
bool use_default_consistency = 12;- Specified by:
getUseDefaultConsistencyin interfaceSearchRequestV2OrBuilder- 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 SearchRequestV2 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequestV2 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequestV2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequestV2 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequestV2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequestV2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchRequestV2 parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchRequestV2 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchRequestV2 parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SearchRequestV2 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchRequestV2 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SearchRequestV2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SearchRequestV2.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SearchRequestV2.Builder newBuilder()
-
newBuilder
public static SearchRequestV2.Builder newBuilder(SearchRequestV2 prototype)
-
toBuilder
public SearchRequestV2.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchRequestV2.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SearchRequestV2 getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SearchRequestV2> parser()
-
getParserForType
public com.google.protobuf.Parser<SearchRequestV2> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SearchRequestV2 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-