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