Class Transcription.Logprob
-
- All Implemented Interfaces:
public final class Transcription.Logprob
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Transcription.Logprob.Builder
A builder for Logprob.
-
Method Summary
Modifier and Type Method Description final Optional<String>
token()
The token in the transcription. final Optional<List<Double>>
bytes()
The bytes of the token. final Optional<Double>
logprob()
The log probability of the token. final JsonField<String>
_token()
Returns the raw JSON value of token. final JsonField<List<Double>>
_bytes()
Returns the raw JSON value of bytes. final JsonField<Double>
_logprob()
Returns the raw JSON value of logprob. final Map<String, JsonValue>
_additionalProperties()
final Transcription.Logprob.Builder
toBuilder()
final Transcription.Logprob
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Transcription.Logprob.Builder
builder()
Returns a mutable builder for constructing an instance of Logprob. -
-
Method Detail
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_bytes
final JsonField<List<Double>> _bytes()
Returns the raw JSON value of bytes.
Unlike bytes, this method doesn't throw if the JSON field has an unexpected type.
-
_logprob
final JsonField<Double> _logprob()
Returns the raw JSON value of logprob.
Unlike logprob, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Transcription.Logprob.Builder toBuilder()
-
validate
final Transcription.Logprob validate()
-
builder
final static Transcription.Logprob.Builder builder()
Returns a mutable builder for constructing an instance of Logprob.
-
-
-
-