Class LiveSendClientContentParameters

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveSendClientContentParameters

public abstract class LiveSendClientContentParameters extends JsonSerializable
Parameters for sending client content to the live API.
  • Constructor Details

    • LiveSendClientContentParameters

      public LiveSendClientContentParameters()
  • Method Details

    • turns

      public abstract Optional<List<Content>> turns()
      Client content to send to the session.
    • turnComplete

      public abstract Optional<Boolean> turnComplete()
      If true, indicates that the server content generation should start with the currently accumulated prompt. Otherwise, the server will await additional messages before starting generation.
    • builder

      public static LiveSendClientContentParameters.Builder builder()
      Instantiates a builder for LiveSendClientContentParameters.
    • toBuilder

      public abstract LiveSendClientContentParameters.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static LiveSendClientContentParameters fromJson(String jsonString)
      Deserializes a JSON string to a LiveSendClientContentParameters object.