Interface LogprobsResult.TopCandidatesOrBuilder (3.52.0)

public static interface LogprobsResult.TopCandidatesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCandidates(int index)

public abstract LogprobsResult.Candidate getCandidates(int index)

Sorted by log probability in descending order.

repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate candidates = 1;

Parameter
Name Description
index int
Returns
Type Description
LogprobsResult.Candidate

getCandidatesCount()

public abstract int getCandidatesCount()

Sorted by log probability in descending order.

repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate candidates = 1;

Returns
Type Description
int

getCandidatesList()

public abstract List<LogprobsResult.Candidate> getCandidatesList()

Sorted by log probability in descending order.

repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate candidates = 1;

Returns
Type Description
List<Candidate>

getCandidatesOrBuilder(int index)

public abstract LogprobsResult.CandidateOrBuilder getCandidatesOrBuilder(int index)

Sorted by log probability in descending order.

repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate candidates = 1;

Parameter
Name Description
index int
Returns
Type Description
LogprobsResult.CandidateOrBuilder

getCandidatesOrBuilderList()

public abstract List<? extends LogprobsResult.CandidateOrBuilder> getCandidatesOrBuilderList()

Sorted by log probability in descending order.

repeated .google.cloud.aiplatform.v1.LogprobsResult.Candidate candidates = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.LogprobsResult.CandidateOrBuilder>