public interface LogprobsResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChosenCandidates(int index)
public abstract LogprobsResult.Candidate getChosenCandidates(int index)Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogprobsResult.Candidate |
|
getChosenCandidatesCount()
public abstract int getChosenCandidatesCount()Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getChosenCandidatesList()
public abstract List<LogprobsResult.Candidate> getChosenCandidatesList()Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Returns | |
|---|---|
| Type | Description |
List<Candidate> |
|
getChosenCandidatesOrBuilder(int index)
public abstract LogprobsResult.CandidateOrBuilder getChosenCandidatesOrBuilder(int index)Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogprobsResult.CandidateOrBuilder |
|
getChosenCandidatesOrBuilderList()
public abstract List<? extends LogprobsResult.CandidateOrBuilder> getChosenCandidatesOrBuilderList()Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates.
repeated .google.cloud.vertexai.v1.LogprobsResult.Candidate chosen_candidates = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vertexai.api.LogprobsResult.CandidateOrBuilder> |
|
getTopCandidates(int index)
public abstract LogprobsResult.TopCandidates getTopCandidates(int index)Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogprobsResult.TopCandidates |
|
getTopCandidatesCount()
public abstract int getTopCandidatesCount()Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTopCandidatesList()
public abstract List<LogprobsResult.TopCandidates> getTopCandidatesList()Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Returns | |
|---|---|
| Type | Description |
List<TopCandidates> |
|
getTopCandidatesOrBuilder(int index)
public abstract LogprobsResult.TopCandidatesOrBuilder getTopCandidatesOrBuilder(int index)Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogprobsResult.TopCandidatesOrBuilder |
|
getTopCandidatesOrBuilderList()
public abstract List<? extends LogprobsResult.TopCandidatesOrBuilder> getTopCandidatesOrBuilderList()Length = total number of decoding steps.
repeated .google.cloud.vertexai.v1.LogprobsResult.TopCandidates top_candidates = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.vertexai.api.LogprobsResult.TopCandidatesOrBuilder> |
|