Package com.google.genai.types
Class ActivityEnd
-
- All Implemented Interfaces:
public abstract class ActivityEnd extends JsonSerializable
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 Modifier and Type Class Description public abstract classActivityEnd.BuilderBuilder for ActivityEnd.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description ActivityEnd()
-
Method Summary
Modifier and Type Method Description static ActivityEnd.Builderbuilder()Instantiates a builder for ActivityEnd. abstract ActivityEnd.BuildertoBuilder()Creates a builder with the same values as this instance. static ActivityEndfromJson(String jsonString)Deserializes a JSON string to a ActivityEnd 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
-
builder
static ActivityEnd.Builder builder()
Instantiates a builder for ActivityEnd.
-
toBuilder
abstract ActivityEnd.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static ActivityEnd fromJson(String jsonString)
Deserializes a JSON string to a ActivityEnd object.
-
-
-
-