public static interface LogprobsResult.TopCandidatesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCandidates(int index)
public abstract LogprobsResult.Candidate getCandidates(int index)Sorted by log probability in descending order.
repeated .google.cloud.vertexai.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.vertexai.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.vertexai.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.vertexai.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.vertexai.v1.LogprobsResult.Candidate candidates = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vertexai.api.LogprobsResult.CandidateOrBuilder> |
|