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 class ActivityEnd.Builder

      Builder for ActivityEnd.

    • Constructor Summary

      Constructors 
      Constructor Description
      ActivityEnd()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static ActivityEnd.Builder builder() Instantiates a builder for ActivityEnd.
      abstract ActivityEnd.Builder toBuilder() Creates a builder with the same values as this instance.
      static ActivityEnd fromJson(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