Package io.milvus.grpc
Class SubSearchRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.SubSearchRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SubSearchRequestOrBuilder,Serializable
public final class SubSearchRequest extends com.google.protobuf.GeneratedMessageV3 implements SubSearchRequestOrBuilder
Protobuf typemilvus.proto.milvus.SubSearchRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubSearchRequest.BuilderProtobuf typemilvus.proto.milvus.SubSearchRequest-
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 intDSL_FIELD_NUMBERstatic intDSL_TYPE_FIELD_NUMBERstatic intEXPR_TEMPLATE_VALUES_FIELD_NUMBERstatic intNAMESPACE_FIELD_NUMBERstatic intNQ_FIELD_NUMBERstatic intPLACEHOLDER_GROUP_FIELD_NUMBERstatic intSEARCH_PARAMS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsExprTemplateValues(String key)map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;booleanequals(Object obj)static SubSearchRequestgetDefaultInstance()SubSearchRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDsl()mustcom.google.protobuf.ByteStringgetDslBytes()mustDslTypegetDslType()mustintgetDslTypeValue()mustMap<String,TemplateValue>getExprTemplateValues()Deprecated.intgetExprTemplateValuesCount()map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;Map<String,TemplateValue>getExprTemplateValuesMap()map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;TemplateValuegetExprTemplateValuesOrDefault(String key, TemplateValue defaultValue)map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;TemplateValuegetExprTemplateValuesOrThrow(String key)map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;StringgetNamespace()optional string namespace = 7;com.google.protobuf.ByteStringgetNamespaceBytes()optional string namespace = 7;longgetNq()int64 nq = 5;com.google.protobuf.Parser<SubSearchRequest>getParserForType()com.google.protobuf.ByteStringgetPlaceholderGroup()serialized `PlaceholderGroup`KeyValuePairgetSearchParams(int index)mustintgetSearchParamsCount()mustList<KeyValuePair>getSearchParamsList()mustKeyValuePairOrBuildergetSearchParamsOrBuilder(int index)mustList<? extends KeyValuePairOrBuilder>getSearchParamsOrBuilderList()mustintgetSerializedSize()inthashCode()booleanhasNamespace()optional string namespace = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static SubSearchRequest.BuildernewBuilder()static SubSearchRequest.BuildernewBuilder(SubSearchRequest prototype)SubSearchRequest.BuildernewBuilderForType()protected SubSearchRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SubSearchRequestparseDelimitedFrom(InputStream input)static SubSearchRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubSearchRequestparseFrom(byte[] data)static SubSearchRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubSearchRequestparseFrom(com.google.protobuf.ByteString data)static SubSearchRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubSearchRequestparseFrom(com.google.protobuf.CodedInputStream input)static SubSearchRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubSearchRequestparseFrom(InputStream input)static SubSearchRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubSearchRequestparseFrom(ByteBuffer data)static SubSearchRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SubSearchRequest>parser()SubSearchRequest.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
-
DSL_FIELD_NUMBER
public static final int DSL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLACEHOLDER_GROUP_FIELD_NUMBER
public static final int PLACEHOLDER_GROUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DSL_TYPE_FIELD_NUMBER
public static final int DSL_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_PARAMS_FIELD_NUMBER
public static final int SEARCH_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NQ_FIELD_NUMBER
public static final int NQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPR_TEMPLATE_VALUES_FIELD_NUMBER
public static final int EXPR_TEMPLATE_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDsl
public String getDsl()
must
string dsl = 1;- Specified by:
getDslin interfaceSubSearchRequestOrBuilder- Returns:
- The dsl.
-
getDslBytes
public com.google.protobuf.ByteString getDslBytes()
must
string dsl = 1;- Specified by:
getDslBytesin interfaceSubSearchRequestOrBuilder- Returns:
- The bytes for dsl.
-
getPlaceholderGroup
public com.google.protobuf.ByteString getPlaceholderGroup()
serialized `PlaceholderGroup`
bytes placeholder_group = 2;- Specified by:
getPlaceholderGroupin interfaceSubSearchRequestOrBuilder- Returns:
- The placeholderGroup.
-
getDslTypeValue
public int getDslTypeValue()
must
.milvus.proto.common.DslType dsl_type = 3;- Specified by:
getDslTypeValuein interfaceSubSearchRequestOrBuilder- Returns:
- The enum numeric value on the wire for dslType.
-
getDslType
public DslType getDslType()
must
.milvus.proto.common.DslType dsl_type = 3;- Specified by:
getDslTypein interfaceSubSearchRequestOrBuilder- Returns:
- The dslType.
-
getSearchParamsList
public List<KeyValuePair> getSearchParamsList()
must
repeated .milvus.proto.common.KeyValuePair search_params = 4;- Specified by:
getSearchParamsListin interfaceSubSearchRequestOrBuilder
-
getSearchParamsOrBuilderList
public List<? extends KeyValuePairOrBuilder> getSearchParamsOrBuilderList()
must
repeated .milvus.proto.common.KeyValuePair search_params = 4;- Specified by:
getSearchParamsOrBuilderListin interfaceSubSearchRequestOrBuilder
-
getSearchParamsCount
public int getSearchParamsCount()
must
repeated .milvus.proto.common.KeyValuePair search_params = 4;- Specified by:
getSearchParamsCountin interfaceSubSearchRequestOrBuilder
-
getSearchParams
public KeyValuePair getSearchParams(int index)
must
repeated .milvus.proto.common.KeyValuePair search_params = 4;- Specified by:
getSearchParamsin interfaceSubSearchRequestOrBuilder
-
getSearchParamsOrBuilder
public KeyValuePairOrBuilder getSearchParamsOrBuilder(int index)
must
repeated .milvus.proto.common.KeyValuePair search_params = 4;- Specified by:
getSearchParamsOrBuilderin interfaceSubSearchRequestOrBuilder
-
getNq
public long getNq()
int64 nq = 5;- Specified by:
getNqin interfaceSubSearchRequestOrBuilder- Returns:
- The nq.
-
getExprTemplateValuesCount
public int getExprTemplateValuesCount()
Description copied from interface:SubSearchRequestOrBuildermap<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;- Specified by:
getExprTemplateValuesCountin interfaceSubSearchRequestOrBuilder
-
containsExprTemplateValues
public boolean containsExprTemplateValues(String key)
map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;- Specified by:
containsExprTemplateValuesin interfaceSubSearchRequestOrBuilder
-
getExprTemplateValues
@Deprecated public Map<String,TemplateValue> getExprTemplateValues()
Deprecated.UsegetExprTemplateValuesMap()instead.- Specified by:
getExprTemplateValuesin interfaceSubSearchRequestOrBuilder
-
getExprTemplateValuesMap
public Map<String,TemplateValue> getExprTemplateValuesMap()
map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;- Specified by:
getExprTemplateValuesMapin interfaceSubSearchRequestOrBuilder
-
getExprTemplateValuesOrDefault
public TemplateValue getExprTemplateValuesOrDefault(String key, TemplateValue defaultValue)
map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;- Specified by:
getExprTemplateValuesOrDefaultin interfaceSubSearchRequestOrBuilder
-
getExprTemplateValuesOrThrow
public TemplateValue getExprTemplateValuesOrThrow(String key)
map<string, .milvus.proto.schema.TemplateValue> expr_template_values = 6;- Specified by:
getExprTemplateValuesOrThrowin interfaceSubSearchRequestOrBuilder
-
hasNamespace
public boolean hasNamespace()
optional string namespace = 7;- Specified by:
hasNamespacein interfaceSubSearchRequestOrBuilder- Returns:
- Whether the namespace field is set.
-
getNamespace
public String getNamespace()
optional string namespace = 7;- Specified by:
getNamespacein interfaceSubSearchRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
optional string namespace = 7;- Specified by:
getNamespaceBytesin interfaceSubSearchRequestOrBuilder- Returns:
- The bytes for namespace.
-
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 SubSearchRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubSearchRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubSearchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubSearchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubSearchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubSearchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubSearchRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubSearchRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubSearchRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubSearchRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SubSearchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubSearchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SubSearchRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SubSearchRequest.Builder newBuilder()
-
newBuilder
public static SubSearchRequest.Builder newBuilder(SubSearchRequest prototype)
-
toBuilder
public SubSearchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SubSearchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SubSearchRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SubSearchRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<SubSearchRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SubSearchRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-