Package com.anthropic.models.messages
Class CacheMissPreviousMessageNotFound
-
- All Implemented Interfaces:
public final class CacheMissPreviousMessageNotFoundA
cache_miss_reasonfor when the API doesn't have a stored record of the request thatdiagnostics.previous_message_idreferences.This doesn't mean that this request changed.
See the cache diagnostics guide to learn what to change for each reason.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCacheMissPreviousMessageNotFound.BuilderA builder for CacheMissPreviousMessageNotFound.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("previous_message_not_found")final Map<String, JsonValue>_additionalProperties()final CacheMissPreviousMessageNotFound.BuildertoBuilder()final CacheMissPreviousMessageNotFoundvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CacheMissPreviousMessageNotFound.Builderbuilder()Returns a mutable builder for constructing an instance of CacheMissPreviousMessageNotFound. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("previous_message_not_found")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CacheMissPreviousMessageNotFound.Builder toBuilder()
-
validate
final CacheMissPreviousMessageNotFound validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static CacheMissPreviousMessageNotFound.Builder builder()
Returns a mutable builder for constructing an instance of CacheMissPreviousMessageNotFound.
-
-
-
-