Package com.google.genai.types
Class SearchEntryPoint
-
- All Implemented Interfaces:
public abstract class SearchEntryPoint extends JsonSerializable
The entry point used to search for grounding sources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classSearchEntryPoint.BuilderBuilder for SearchEntryPoint.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description SearchEntryPoint()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>renderedContent()Optional. abstract Optional<Array<byte>>sdkBlob()Optional. static SearchEntryPoint.Builderbuilder()Instantiates a builder for SearchEntryPoint. abstract SearchEntryPoint.BuildertoBuilder()Creates a builder with the same values as this instance. static SearchEntryPointfromJson(String jsonString)Deserializes a JSON string to a SearchEntryPoint object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
renderedContent
abstract Optional<String> renderedContent()
Optional. Web content snippet that can be embedded in a web page or an app webview.
-
builder
static SearchEntryPoint.Builder builder()
Instantiates a builder for SearchEntryPoint.
-
toBuilder
abstract SearchEntryPoint.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static SearchEntryPoint fromJson(String jsonString)
Deserializes a JSON string to a SearchEntryPoint object.
-
-
-
-