Package io.milvus.grpc
Class HybridSearchRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HybridSearchRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
io.milvus.grpc.HybridSearchRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HybridSearchRequestOrBuilder,Cloneable
- Enclosing class:
HybridSearchRequest
public static final class HybridSearchRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
implements HybridSearchRequestOrBuilder
Protobuf type
milvus.proto.milvus.HybridSearchRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllOutputFields(Iterable<String> values) repeated string output_fields = 10;addAllPartitionNames(Iterable<String> values) mustaddAllRankParams(Iterable<? extends KeyValuePair> values) mustaddAllRequests(Iterable<? extends SearchRequest> values) repeated .milvus.proto.milvus.SearchRequest requests = 5;addOutputFields(String value) repeated string output_fields = 10;addOutputFieldsBytes(com.google.protobuf.ByteString value) repeated string output_fields = 10;addPartitionNames(String value) mustaddPartitionNamesBytes(com.google.protobuf.ByteString value) mustaddRankParams(int index, KeyValuePair value) mustaddRankParams(int index, KeyValuePair.Builder builderForValue) mustaddRankParams(KeyValuePair value) mustaddRankParams(KeyValuePair.Builder builderForValue) mustmustaddRankParamsBuilder(int index) mustaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRequests(int index, SearchRequest value) repeated .milvus.proto.milvus.SearchRequest requests = 5;addRequests(int index, SearchRequest.Builder builderForValue) repeated .milvus.proto.milvus.SearchRequest requests = 5;addRequests(SearchRequest value) repeated .milvus.proto.milvus.SearchRequest requests = 5;addRequests(SearchRequest.Builder builderForValue) repeated .milvus.proto.milvus.SearchRequest requests = 5;repeated .milvus.proto.milvus.SearchRequest requests = 5;addRequestsBuilder(int index) repeated .milvus.proto.milvus.SearchRequest requests = 5;build()clear()mustmust.milvus.proto.common.ConsistencyLevel consistency_level = 11;string db_name = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .milvus.proto.schema.FunctionScore function_score = 13;guarantee_timestampbool not_return_all_meta = 9;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated string output_fields = 10;mustmustrepeated .milvus.proto.milvus.SearchRequest requests = 5;uint64 travel_timestamp = 7;bool use_default_consistency = 12;clone()getBase()mustmustmustmustcom.google.protobuf.ByteStringmust.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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.milvus.proto.schema.FunctionScore function_score = 13;.milvus.proto.schema.FunctionScore function_score = 13;.milvus.proto.schema.FunctionScore function_score = 13;longguarantee_timestampbooleanbool not_return_all_meta = 9;getOutputFields(int index) repeated string output_fields = 10;com.google.protobuf.ByteStringgetOutputFieldsBytes(int index) repeated string output_fields = 10;intrepeated string output_fields = 10;com.google.protobuf.ProtocolStringListrepeated string output_fields = 10;getPartitionNames(int index) mustcom.google.protobuf.ByteStringgetPartitionNamesBytes(int index) mustintmustcom.google.protobuf.ProtocolStringListmustgetRankParams(int index) mustgetRankParamsBuilder(int index) mustmustintmustmustgetRankParamsOrBuilder(int index) mustList<? extends KeyValuePairOrBuilder> mustgetRequests(int index) repeated .milvus.proto.milvus.SearchRequest requests = 5;getRequestsBuilder(int index) repeated .milvus.proto.milvus.SearchRequest requests = 5;repeated .milvus.proto.milvus.SearchRequest requests = 5;intrepeated .milvus.proto.milvus.SearchRequest requests = 5;repeated .milvus.proto.milvus.SearchRequest requests = 5;getRequestsOrBuilder(int index) repeated .milvus.proto.milvus.SearchRequest requests = 5;List<? extends SearchRequestOrBuilder> repeated .milvus.proto.milvus.SearchRequest requests = 5;longuint64 travel_timestamp = 7;booleanbool use_default_consistency = 12;booleanhasBase()mustboolean.milvus.proto.schema.FunctionScore function_score = 13;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmustmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HybridSearchRequest other) mergeFunctionScore(FunctionScore value) .milvus.proto.schema.FunctionScore function_score = 13;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRankParams(int index) mustremoveRequests(int index) repeated .milvus.proto.milvus.SearchRequest requests = 5;mustsetBase(MsgBase.Builder builderForValue) mustsetCollectionName(String value) mustsetCollectionNameBytes(com.google.protobuf.ByteString value) must.milvus.proto.common.ConsistencyLevel consistency_level = 11;setConsistencyLevelValue(int value) .milvus.proto.common.ConsistencyLevel consistency_level = 11;string db_name = 2;setDbNameBytes(com.google.protobuf.ByteString value) string db_name = 2;setFunctionScore(FunctionScore value) .milvus.proto.schema.FunctionScore function_score = 13;setFunctionScore(FunctionScore.Builder builderForValue) .milvus.proto.schema.FunctionScore function_score = 13;setGuaranteeTimestamp(long value) guarantee_timestampsetNotReturnAllMeta(boolean value) bool not_return_all_meta = 9;setOutputFields(int index, String value) repeated string output_fields = 10;setPartitionNames(int index, String value) mustsetRankParams(int index, KeyValuePair value) mustsetRankParams(int index, KeyValuePair.Builder builderForValue) mustsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequests(int index, SearchRequest value) repeated .milvus.proto.milvus.SearchRequest requests = 5;setRequests(int index, SearchRequest.Builder builderForValue) repeated .milvus.proto.milvus.SearchRequest requests = 5;setTravelTimestamp(long value) uint64 travel_timestamp = 7;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUseDefaultConsistency(boolean value) bool use_default_consistency = 12;Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<HybridSearchRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
setField
public HybridSearchRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
clearField
public HybridSearchRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
clearOneof
public HybridSearchRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
setRepeatedField
public HybridSearchRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
addRepeatedField
public HybridSearchRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HybridSearchRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
mergeFrom
public HybridSearchRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HybridSearchRequest.Builder>- Throws:
IOException
-
hasBase
public boolean hasBase()must
.milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceHybridSearchRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceHybridSearchRequestOrBuilder- Returns:
- The base.
-
setBase
must
.milvus.proto.common.MsgBase base = 1; -
setBase
must
.milvus.proto.common.MsgBase base = 1; -
mergeBase
must
.milvus.proto.common.MsgBase base = 1; -
clearBase
must
.milvus.proto.common.MsgBase base = 1; -
getBaseBuilder
must
.milvus.proto.common.MsgBase base = 1; -
getBaseOrBuilder
must
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceHybridSearchRequestOrBuilder
-
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.
-
setDbName
string db_name = 2;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
string db_name = 2;- Returns:
- This builder for chaining.
-
setDbNameBytes
string db_name = 2;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
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.
-
setCollectionName
must
string collection_name = 3;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
must
string collection_name = 3;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
must
string collection_name = 3;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
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
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.
-
setPartitionNames
must
repeated string partition_names = 4;- Parameters:
index- The index to set the value at.value- The partitionNames to set.- Returns:
- This builder for chaining.
-
addPartitionNames
must
repeated string partition_names = 4;- Parameters:
value- The partitionNames to add.- Returns:
- This builder for chaining.
-
addAllPartitionNames
must
repeated string partition_names = 4;- Parameters:
values- The partitionNames to add.- Returns:
- This builder for chaining.
-
clearPartitionNames
must
repeated string partition_names = 4;- Returns:
- This builder for chaining.
-
addPartitionNamesBytes
must
repeated string partition_names = 4;- Parameters:
value- The bytes of the partitionNames to add.- Returns:
- This builder for chaining.
-
getRequestsList
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsListin interfaceHybridSearchRequestOrBuilder
-
getRequestsCount
public int getRequestsCount()repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsCountin interfaceHybridSearchRequestOrBuilder
-
getRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsin interfaceHybridSearchRequestOrBuilder
-
setRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
setRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
addRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
addRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
addRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
addRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
addAllRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
clearRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
removeRequests
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
getRequestsBuilder
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
getRequestsOrBuilder
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsOrBuilderin interfaceHybridSearchRequestOrBuilder
-
getRequestsOrBuilderList
repeated .milvus.proto.milvus.SearchRequest requests = 5;- Specified by:
getRequestsOrBuilderListin interfaceHybridSearchRequestOrBuilder
-
addRequestsBuilder
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
addRequestsBuilder
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
getRequestsBuilderList
repeated .milvus.proto.milvus.SearchRequest requests = 5; -
getRankParamsList
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsListin interfaceHybridSearchRequestOrBuilder
-
getRankParamsCount
public int getRankParamsCount()must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsCountin interfaceHybridSearchRequestOrBuilder
-
getRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsin interfaceHybridSearchRequestOrBuilder
-
setRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
setRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
addRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
addRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
addRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
addRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
addAllRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
clearRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
removeRankParams
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
getRankParamsBuilder
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
getRankParamsOrBuilder
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsOrBuilderin interfaceHybridSearchRequestOrBuilder
-
getRankParamsOrBuilderList
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6;- Specified by:
getRankParamsOrBuilderListin interfaceHybridSearchRequestOrBuilder
-
addRankParamsBuilder
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
addRankParamsBuilder
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
getRankParamsBuilderList
must
repeated .milvus.proto.common.KeyValuePair rank_params = 6; -
getTravelTimestamp
public long getTravelTimestamp()uint64 travel_timestamp = 7;- Specified by:
getTravelTimestampin interfaceHybridSearchRequestOrBuilder- Returns:
- The travelTimestamp.
-
setTravelTimestamp
uint64 travel_timestamp = 7;- Parameters:
value- The travelTimestamp to set.- Returns:
- This builder for chaining.
-
clearTravelTimestamp
uint64 travel_timestamp = 7;- Returns:
- This builder for chaining.
-
getGuaranteeTimestamp
public long getGuaranteeTimestamp()guarantee_timestamp
uint64 guarantee_timestamp = 8;- Specified by:
getGuaranteeTimestampin interfaceHybridSearchRequestOrBuilder- Returns:
- The guaranteeTimestamp.
-
setGuaranteeTimestamp
guarantee_timestamp
uint64 guarantee_timestamp = 8;- Parameters:
value- The guaranteeTimestamp to set.- Returns:
- This builder for chaining.
-
clearGuaranteeTimestamp
guarantee_timestamp
uint64 guarantee_timestamp = 8;- Returns:
- This builder for chaining.
-
getNotReturnAllMeta
public boolean getNotReturnAllMeta()bool not_return_all_meta = 9;- Specified by:
getNotReturnAllMetain interfaceHybridSearchRequestOrBuilder- Returns:
- The notReturnAllMeta.
-
setNotReturnAllMeta
bool not_return_all_meta = 9;- Parameters:
value- The notReturnAllMeta to set.- Returns:
- This builder for chaining.
-
clearNotReturnAllMeta
bool not_return_all_meta = 9;- Returns:
- This builder for chaining.
-
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
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.
-
setOutputFields
repeated string output_fields = 10;- Parameters:
index- The index to set the value at.value- The outputFields to set.- Returns:
- This builder for chaining.
-
addOutputFields
repeated string output_fields = 10;- Parameters:
value- The outputFields to add.- Returns:
- This builder for chaining.
-
addAllOutputFields
repeated string output_fields = 10;- Parameters:
values- The outputFields to add.- Returns:
- This builder for chaining.
-
clearOutputFields
repeated string output_fields = 10;- Returns:
- This builder for chaining.
-
addOutputFieldsBytes
repeated string output_fields = 10;- Parameters:
value- The bytes of the outputFields to add.- Returns:
- This builder for chaining.
-
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.
-
setConsistencyLevelValue
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Parameters:
value- The enum numeric value on the wire for consistencyLevel to set.- Returns:
- This builder for chaining.
-
getConsistencyLevel
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Specified by:
getConsistencyLevelin interfaceHybridSearchRequestOrBuilder- Returns:
- The consistencyLevel.
-
setConsistencyLevel
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Parameters:
value- The consistencyLevel to set.- Returns:
- This builder for chaining.
-
clearConsistencyLevel
.milvus.proto.common.ConsistencyLevel consistency_level = 11;- Returns:
- This builder for chaining.
-
getUseDefaultConsistency
public boolean getUseDefaultConsistency()bool use_default_consistency = 12;- Specified by:
getUseDefaultConsistencyin interfaceHybridSearchRequestOrBuilder- Returns:
- The useDefaultConsistency.
-
setUseDefaultConsistency
bool use_default_consistency = 12;- Parameters:
value- The useDefaultConsistency to set.- Returns:
- This builder for chaining.
-
clearUseDefaultConsistency
bool use_default_consistency = 12;- Returns:
- This builder for chaining.
-
hasFunctionScore
public boolean hasFunctionScore().milvus.proto.schema.FunctionScore function_score = 13;- Specified by:
hasFunctionScorein interfaceHybridSearchRequestOrBuilder- Returns:
- Whether the functionScore field is set.
-
getFunctionScore
.milvus.proto.schema.FunctionScore function_score = 13;- Specified by:
getFunctionScorein interfaceHybridSearchRequestOrBuilder- Returns:
- The functionScore.
-
setFunctionScore
.milvus.proto.schema.FunctionScore function_score = 13; -
setFunctionScore
.milvus.proto.schema.FunctionScore function_score = 13; -
mergeFunctionScore
.milvus.proto.schema.FunctionScore function_score = 13; -
clearFunctionScore
.milvus.proto.schema.FunctionScore function_score = 13; -
getFunctionScoreBuilder
.milvus.proto.schema.FunctionScore function_score = 13; -
getFunctionScoreOrBuilder
.milvus.proto.schema.FunctionScore function_score = 13;- Specified by:
getFunctionScoreOrBuilderin interfaceHybridSearchRequestOrBuilder
-
setUnknownFields
public final HybridSearchRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-
mergeUnknownFields
public final HybridSearchRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSearchRequest.Builder>
-