Package com.google.genai.types
Class ActivityEnd
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ActivityEnd
Marks the end 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 ActivityEnd.Builder
builder()
Instantiates a builder for ActivityEnd.static ActivityEnd
Deserializes a JSON string to a ActivityEnd object.abstract ActivityEnd.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
ActivityEnd
public ActivityEnd()
-
-
Method Details
-
builder
Instantiates a builder for ActivityEnd. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ActivityEnd object.
-