Class SearchEntryPoint

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.SearchEntryPoint

public abstract class SearchEntryPoint extends JsonSerializable
Google search entry point.
  • Constructor Details

    • SearchEntryPoint

      public SearchEntryPoint()
  • Method Details

    • renderedContent

      public abstract Optional<String> renderedContent()
      Optional. Web content snippet that can be embedded in a web page or an app webview.
    • sdkBlob

      public abstract Optional<byte[]> sdkBlob()
      Optional. Base64 encoded JSON representing array of tuple.
    • builder

      public static SearchEntryPoint.Builder builder()
      Instantiates a builder for SearchEntryPoint.
    • toBuilder

      public abstract SearchEntryPoint.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static SearchEntryPoint fromJson(String jsonString)
      Deserializes a JSON string to a SearchEntryPoint object.