Send feedback
Class Ranker.Builder (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.8.0 (latest)
0.6.0
0.4.0
0.3.0
0.1.0
public static final class Ranker . Builder extends GeneratedMessage . Builder<Ranker . Builder > implements RankerOrBuilder
Defines a ranker to combine results from multiple searches.
Protobuf type google.cloud.vectorsearch.v1.Ranker
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
Returns
Type
Description
Ranker
buildPartial()
public Ranker buildPartial ()
Returns
Type
Description
Ranker
clear()
public Ranker . Builder clear ()
Overrides
clearRanker()
public Ranker . Builder clearRanker ()
clearRrf()
public Ranker . Builder clearRrf ()
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
getDefaultInstanceForType()
public Ranker getDefaultInstanceForType ()
Returns
Type
Description
Ranker
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRankerCase()
public Ranker . RankerCase getRankerCase ()
getRrf()
public ReciprocalRankFusion getRrf ()
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
getRrfBuilder()
public ReciprocalRankFusion . Builder getRrfBuilder ()
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
getRrfOrBuilder()
public ReciprocalRankFusionOrBuilder getRrfOrBuilder ()
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
hasRrf()
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
Returns
Type
Description
boolean
Whether the rrf field is set.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Ranker other)
public Ranker . Builder mergeFrom ( Ranker other )
Parameter
Name
Description
other
Ranker
public Ranker . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Ranker . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeRrf(ReciprocalRankFusion value)
public Ranker . Builder mergeRrf ( ReciprocalRankFusion value )
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
setRrf(ReciprocalRankFusion value)
public Ranker . Builder setRrf ( ReciprocalRankFusion value )
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
setRrf(ReciprocalRankFusion.Builder builderForValue)
public Ranker . Builder setRrf ( ReciprocalRankFusion . Builder builderForValue )
Reciprocal Rank Fusion ranking.
.google.cloud.vectorsearch.v1.ReciprocalRankFusion rrf = 1;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]