Package io.milvus.grpc
Class QueryRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.QueryRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryRequestOrBuilder,Serializable
public final class QueryRequest
extends com.google.protobuf.GeneratedMessageV3
implements QueryRequestOrBuilder
Protobuf type
milvus.proto.milvus.QueryRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemilvus.proto.milvus.QueryRequestNested 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 intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleangetBase().milvus.proto.common.MsgBase base = 1;.milvus.proto.common.MsgBase base = 1;string collection_name = 3;com.google.protobuf.ByteStringstring collection_name = 3;.milvus.proto.common.ConsistencyLevel consistency_level = 11;int.milvus.proto.common.ConsistencyLevel consistency_level = 11;string db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;static QueryRequeststatic final com.google.protobuf.Descriptors.DescriptorgetExpr()string expr = 4;com.google.protobuf.ByteStringstring expr = 4;longguarantee_timestampbooleanbool not_return_all_meta = 10;getOutputFields(int index) repeated string output_fields = 5;com.google.protobuf.ByteStringgetOutputFieldsBytes(int index) repeated string output_fields = 5;intrepeated string output_fields = 5;com.google.protobuf.ProtocolStringListrepeated string output_fields = 5;com.google.protobuf.Parser<QueryRequest> getPartitionNames(int index) repeated string partition_names = 6;com.google.protobuf.ByteStringgetPartitionNamesBytes(int index) repeated string partition_names = 6;intrepeated string partition_names = 6;com.google.protobuf.ProtocolStringListrepeated string partition_names = 6;getQueryParams(int index) optionalintoptionaloptionalgetQueryParamsOrBuilder(int index) optionalList<? extends KeyValuePairOrBuilder> optionalintlonguint64 travel_timestamp = 7;booleanbool use_default_consistency = 12;booleanhasBase().milvus.proto.common.MsgBase base = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic QueryRequest.Builderstatic QueryRequest.BuildernewBuilder(QueryRequest prototype) protected QueryRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static QueryRequestparseDelimitedFrom(InputStream input) static QueryRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(byte[] data) static QueryRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(com.google.protobuf.ByteString data) static QueryRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(com.google.protobuf.CodedInputStream input) static QueryRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(InputStream input) static QueryRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryRequestparseFrom(ByteBuffer data) static QueryRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueryRequest> 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, 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
-
BASE_FIELD_NUMBER
public static final int BASE_FIELD_NUMBER- See Also:
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER- See Also:
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER- See Also:
-
EXPR_FIELD_NUMBER
public static final int EXPR_FIELD_NUMBER- See Also:
-
OUTPUT_FIELDS_FIELD_NUMBER
public static final int OUTPUT_FIELDS_FIELD_NUMBER- See Also:
-
PARTITION_NAMES_FIELD_NUMBER
public static final int PARTITION_NAMES_FIELD_NUMBER- See Also:
-
TRAVEL_TIMESTAMP_FIELD_NUMBER
public static final int TRAVEL_TIMESTAMP_FIELD_NUMBER- See Also:
-
GUARANTEE_TIMESTAMP_FIELD_NUMBER
public static final int GUARANTEE_TIMESTAMP_FIELD_NUMBER- See Also:
-
QUERY_PARAMS_FIELD_NUMBER
public static final int QUERY_PARAMS_FIELD_NUMBER- See Also:
-
NOT_RETURN_ALL_META_FIELD_NUMBER
public static final int NOT_RETURN_ALL_META_FIELD_NUMBER- See Also:
-
CONSISTENCY_LEVEL_FIELD_NUMBER
public static final int CONSISTENCY_LEVEL_FIELD_NUMBER- See Also:
-
USE_DEFAULT_CONSISTENCY_FIELD_NUMBER
public static final int USE_DEFAULT_CONSISTENCY_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
-
hasBase
public boolean hasBase().milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceQueryRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceQueryRequestOrBuilder- Returns:
- The base.
-
getBaseOrBuilder
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceQueryRequestOrBuilder
-
getDbName
string db_name = 2;- Specified by:
getDbNamein interfaceQueryRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()string db_name = 2;- Specified by:
getDbNameBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for dbName.
-
getCollectionName
string collection_name = 3;- Specified by:
getCollectionNamein interfaceQueryRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()string collection_name = 3;- Specified by:
getCollectionNameBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for collectionName.
-
getExpr
string expr = 4;- Specified by:
getExprin interfaceQueryRequestOrBuilder- Returns:
- The expr.
-
getExprBytes
public com.google.protobuf.ByteString getExprBytes()string expr = 4;- Specified by:
getExprBytesin interfaceQueryRequestOrBuilder- Returns:
- The bytes for expr.
-
getOutputFieldsList
public com.google.protobuf.ProtocolStringList getOutputFieldsList()repeated string output_fields = 5;- Specified by:
getOutputFieldsListin interfaceQueryRequestOrBuilder- Returns:
- A list containing the outputFields.
-
getOutputFieldsCount
public int getOutputFieldsCount()repeated string output_fields = 5;- Specified by:
getOutputFieldsCountin interfaceQueryRequestOrBuilder- Returns:
- The count of outputFields.
-
getOutputFields
repeated string output_fields = 5;- Specified by:
getOutputFieldsin interfaceQueryRequestOrBuilder- 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 = 5;- Specified by:
getOutputFieldsBytesin interfaceQueryRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFields at the given index.
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()repeated string partition_names = 6;- Specified by:
getPartitionNamesListin interfaceQueryRequestOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()repeated string partition_names = 6;- Specified by:
getPartitionNamesCountin interfaceQueryRequestOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
repeated string partition_names = 6;- Specified by:
getPartitionNamesin interfaceQueryRequestOrBuilder- 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) repeated string partition_names = 6;- Specified by:
getPartitionNamesBytesin interfaceQueryRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
getTravelTimestamp
public long getTravelTimestamp()uint64 travel_timestamp = 7;- Specified by:
getTravelTimestampin interfaceQueryRequestOrBuilder- Returns:
- The travelTimestamp.
-
getGuaranteeTimestamp
public long getGuaranteeTimestamp()guarantee_timestamp
uint64 guarantee_timestamp = 8;- Specified by:
getGuaranteeTimestampin interfaceQueryRequestOrBuilder- Returns:
- The guaranteeTimestamp.
-
getQueryParamsList
optional
repeated .milvus.proto.common.KeyValuePair query_params = 9;- Specified by:
getQueryParamsListin interfaceQueryRequestOrBuilder
-
getQueryParamsOrBuilderList
optional
repeated .milvus.proto.common.KeyValuePair query_params = 9;- Specified by:
getQueryParamsOrBuilderListin interfaceQueryRequestOrBuilder
-
getQueryParamsCount
public int getQueryParamsCount()optional
repeated .milvus.proto.common.KeyValuePair query_params = 9;- Specified by:
getQueryParamsCountin interfaceQueryRequestOrBuilder
-
getQueryParams
optional
repeated .milvus.proto.common.KeyValuePair query_params = 9;- Specified by:
getQueryParamsin interfaceQueryRequestOrBuilder
-
getQueryParamsOrBuilder
optional
repeated .milvus.proto.common.KeyValuePair query_params = 9;- Specified by:
getQueryParamsOrBuilderin interfaceQueryRequestOrBuilder
-
getNotReturnAllMeta
public boolean getNotReturnAllMeta()bool not_return_all_meta = 10;- Specified by:
getNotReturnAllMetain interfaceQueryRequestOrBuilder- Returns:
- The notReturnAllMeta.
-
getConsistencyLevelValue
public int getConsistencyLevelValue().milvus.proto.common.ConsistencyLevel consistency_level = 11;- Specified by:
getConsistencyLevelValuein interfaceQueryRequestOrBuilder- Returns:
- The enum numeric value on the wire for consistencyLevel.
-
getConsistencyLevel
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Specified by:
getConsistencyLevelin interfaceQueryRequestOrBuilder- Returns:
- The consistencyLevel.
-
getUseDefaultConsistency
public boolean getUseDefaultConsistency()bool use_default_consistency = 12;- Specified by:
getUseDefaultConsistencyin interfaceQueryRequestOrBuilder- Returns:
- The useDefaultConsistency.
-
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 QueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryRequest 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 QueryRequest.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
-