Class ResponseOutputText.Logprob.TopLogprob.Builder
-
- All Implemented Interfaces:
public final class ResponseOutputText.Logprob.TopLogprob.Builder
A builder for TopLogprob.
-
-
Method Summary
-
-
Method Detail
-
token
final ResponseOutputText.Logprob.TopLogprob.Builder token(String token)
-
token
final ResponseOutputText.Logprob.TopLogprob.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bytes
final ResponseOutputText.Logprob.TopLogprob.Builder bytes(List<Long> bytes)
-
bytes
final ResponseOutputText.Logprob.TopLogprob.Builder bytes(JsonField<List<Long>> bytes)
Sets Builder.bytes to an arbitrary JSON value.
You should usually call Builder.bytes with a well-typed
List<Long>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addByte
final ResponseOutputText.Logprob.TopLogprob.Builder addByte(Long byte_)
-
logprob
final ResponseOutputText.Logprob.TopLogprob.Builder logprob(Double logprob)
-
logprob
final ResponseOutputText.Logprob.TopLogprob.Builder logprob(JsonField<Double> logprob)
Sets Builder.logprob to an arbitrary JSON value.
You should usually call Builder.logprob with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseOutputText.Logprob.TopLogprob.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseOutputText.Logprob.TopLogprob.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseOutputText.Logprob.TopLogprob.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseOutputText.Logprob.TopLogprob.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseOutputText.Logprob.TopLogprob.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseOutputText.Logprob.TopLogprob build()
Returns an immutable instance of TopLogprob.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.token() .bytes() .logprob()
-
-
-
-