Package com.google.genai.gaos.utils
Class GenericTypeIdResolver<T>
java.lang.Object
com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
com.google.genai.gaos.utils.GenericTypeIdResolver<T>
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Direct Known Subclasses:
AgentToolTypeIdResolver,AnnotationTypeIdResolver,ContentTypeIdResolver,CreateAgentInteractionAgentConfigTypeIdResolver,FunctionResultSubcontentTypeIdResolver,InteractionAgentConfigTypeIdResolver,InteractionSSEEventTypeIdResolver,StepDeltaDataTypeIdResolver,StepTypeIdResolver,ThoughtSummaryContentTypeIdResolver,ToolTypeIdResolver,TranscriptionModeTypeIdResolver
public abstract class GenericTypeIdResolver<T>
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
Generic type resolver that supports both manual type registration and automatic
fallback to unknown types for unrecognized discriminator values.
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.annotation.JsonTypeInfo.IdidFromValueAndType(Object value, Class<?> suggestedType) com.fasterxml.jackson.databind.JavaTypetypeFromId(com.fasterxml.jackson.databind.DatabindContext context, String id) Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
getDescForKnownTypeIds, idFromBaseType, initMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
idFromValue
-
Method Details
-
idFromValueAndType
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism() -
typeFromId
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context, String id) throws IOException - Specified by:
typeFromIdin interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver- Overrides:
typeFromIdin classcom.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase- Throws:
IOException
-