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<Container>container()Information about the container used in the request (for the code execution tool) final Optional<StopReason>stopReason()final Optional<String>stopSequence()final JsonField<Container>_container()Returns the raw JSON value of container. 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
-
container
final Optional<Container> container()
Information about the container used in the request (for the code execution tool)
-
stopReason
final Optional<StopReason> stopReason()
-
stopSequence
final Optional<String> stopSequence()
-
_container
final JsonField<Container> _container()
Returns the raw JSON value of container.
Unlike container, this method doesn't throw if the JSON field has an unexpected type.
-
_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:
.container() .stopReason() .stopSequence()
-
-
-
-