Class AgentOption

java.lang.Object
com.google.genai.gaos.models.interactions.AgentOption

public class AgentOption extends Object
AgentOption

The agent to interact with.

  • Field Details

    • DEEP_RESEARCH_PRO_PREVIEW122025

      public static final AgentOption DEEP_RESEARCH_PRO_PREVIEW122025
    • DEEP_RESEARCH_PREVIEW042026

      public static final AgentOption DEEP_RESEARCH_PREVIEW042026
    • DEEP_RESEARCH_MAX_PREVIEW042026

      public static final AgentOption DEEP_RESEARCH_MAX_PREVIEW042026
    • ANTIGRAVITY_PREVIEW052026

      public static final AgentOption ANTIGRAVITY_PREVIEW052026
  • Method Details

    • of

      public static AgentOption of(String value)
      Returns a AgentOption with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.
      Parameters:
      value - value to be wrapped as AgentOption
    • value

      public String value()
    • asEnum

    • isKnown

      public boolean isKnown()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • values

      public static AgentOption[] values()