public static interface LogprobsResult.CandidateOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getLogProbability()
The candidate's log probability.
|
String |
getToken()
The candidate’s token string value.
|
com.google.protobuf.ByteString |
getTokenBytes()
The candidate’s token string value.
|
int |
getTokenId()
The candidate’s token id value.
|
boolean |
hasLogProbability()
The candidate's log probability.
|
boolean |
hasToken()
The candidate’s token string value.
|
boolean |
hasTokenId()
The candidate’s token id value.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasToken()
The candidate’s token string value.
optional string token = 1;String getToken()
The candidate’s token string value.
optional string token = 1;com.google.protobuf.ByteString getTokenBytes()
The candidate’s token string value.
optional string token = 1;boolean hasTokenId()
The candidate’s token id value.
optional int32 token_id = 3;int getTokenId()
The candidate’s token id value.
optional int32 token_id = 3;boolean hasLogProbability()
The candidate's log probability.
optional float log_probability = 2;float getLogProbability()
The candidate's log probability.
optional float log_probability = 2;Copyright © 2025 Google LLC. All rights reserved.