Package com.anthropic.models.messages
Class RawMessageDeltaEvent.Delta
-
- All Implemented Interfaces:
public final class RawMessageDeltaEvent.Delta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRawMessageDeltaEvent.Delta.BuilderA builder for Delta.
-
Method Summary
Modifier and Type Method Description final Optional<StopReason>stopReason()final Optional<String>stopSequence()final JsonField<StopReason>_stopReason()Returns the raw JSON value of stopReason. final JsonField<String>_stopSequence()Returns the raw JSON value of stopSequence. final Map<String, JsonValue>_additionalProperties()final RawMessageDeltaEvent.Delta.BuildertoBuilder()final RawMessageDeltaEvent.Deltavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RawMessageDeltaEvent.Delta.Builderbuilder()Returns a mutable builder for constructing an instance of Delta. -
-
Method Detail
-
stopReason
final Optional<StopReason> stopReason()
-
stopSequence
final Optional<String> stopSequence()
-
_stopReason
final JsonField<StopReason> _stopReason()
Returns the raw JSON value of stopReason.
Unlike stopReason, this method doesn't throw if the JSON field has an unexpected type.
-
_stopSequence
final JsonField<String> _stopSequence()
Returns the raw JSON value of stopSequence.
Unlike stopSequence, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RawMessageDeltaEvent.Delta.Builder toBuilder()
-
validate
final RawMessageDeltaEvent.Delta validate()
-
builder
final static RawMessageDeltaEvent.Delta.Builder builder()
Returns a mutable builder for constructing an instance of Delta.
The following fields are required:
.stopReason() .stopSequence()
-
-
-
-