# Class Model

java.lang.Object
com.google.adk.models.Model

public abstract class Model extends Object
Represents a model by name or instance.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `Model.Builder`
  Builder for `Model`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Model()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Model.Builder`
  `builder()`
  `abstract Optional<BaseLlm>`
  `model()`
  `abstract Optional<String>`
  `modelName()`
  `abstract Model.Builder`
  `toBuilder()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Model

    public Model()

- ## Method Details

  - ### modelName

    public abstract Optional<String> modelName()

  - ### model

    public abstract Optional<BaseLlm> model()

  - ### builder

    public static Model.Builder builder()

  - ### toBuilder

    public abstract Model.Builder toBuilder()