Package com.anthropic.models.messages
Class TextDelta
-
- All Implemented Interfaces:
public final class TextDelta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTextDelta.BuilderA builder for TextDelta.
-
Method Summary
Modifier and Type Method Description final Stringtext()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("text_delta")final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final TextDelta.BuildertoBuilder()final TextDeltavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TextDelta.Builderbuilder()Returns a mutable builder for constructing an instance of TextDelta. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("text_delta")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TextDelta.Builder toBuilder()
-
builder
final static TextDelta.Builder builder()
Returns a mutable builder for constructing an instance of TextDelta.
The following fields are required:
.text()
-
-
-
-