Package com.google.genai.types
Class ActivityStart
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ActivityStart
Marks the start of user activity.
This can only be sent if automatic (i.e. server-side) activity detection is disabled.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivityStart.Builder
builder()
Instantiates a builder for ActivityStart.static ActivityStart
Deserializes a JSON string to a ActivityStart object.abstract ActivityStart.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ActivityStart
public ActivityStart()
-
-
Method Details
-
builder
Instantiates a builder for ActivityStart. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ActivityStart object.
-