Interface RankResponseOrBuilder (0.40.0)

public interface RankResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRecords(int index)

public abstract RankingRecord getRecords(int index)

A list of records sorted by descending score.

repeated .google.cloud.discoveryengine.v1beta.RankingRecord records = 5;

Parameter
Name Description
index int
Returns
Type Description
RankingRecord

getRecordsCount()

public abstract int getRecordsCount()

A list of records sorted by descending score.

repeated .google.cloud.discoveryengine.v1beta.RankingRecord records = 5;

Returns
Type Description
int

getRecordsList()

public abstract List<RankingRecord> getRecordsList()

A list of records sorted by descending score.

repeated .google.cloud.discoveryengine.v1beta.RankingRecord records = 5;

Returns
Type Description
List<RankingRecord>

getRecordsOrBuilder(int index)

public abstract RankingRecordOrBuilder getRecordsOrBuilder(int index)

A list of records sorted by descending score.

repeated .google.cloud.discoveryengine.v1beta.RankingRecord records = 5;

Parameter
Name Description
index int
Returns
Type Description
RankingRecordOrBuilder

getRecordsOrBuilderList()

public abstract List<? extends RankingRecordOrBuilder> getRecordsOrBuilderList()

A list of records sorted by descending score.

repeated .google.cloud.discoveryengine.v1beta.RankingRecord records = 5;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.RankingRecordOrBuilder>