# Class LangChain4j.Builder

java.lang.Object
com.google.adk.models.langchain4j.LangChain4j.Builder

Enclosing class:
  `LangChain4j`

public abstract static class LangChain4j.Builder extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract LangChain4j`
  `build()`
  `abstract LangChain4j.Builder`
  `chatModel(dev.langchain4j.model.chat.ChatModel chatModel)`
  `abstract LangChain4j.Builder`
  `modelName(String modelName)`
  `abstract LangChain4j.Builder`
  `objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)`
  `abstract LangChain4j.Builder`
  `streamingChatModel(dev.langchain4j.model.chat.StreamingChatModel streamingChatModel)`
  `abstract LangChain4j.Builder`
  `tokenCountEstimator(dev.langchain4j.model.TokenCountEstimator tokenCountEstimator)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### chatModel

    public abstract LangChain4j.Builder chatModel(dev.langchain4j.model.chat.ChatModel chatModel)

  - ### streamingChatModel

    public abstract LangChain4j.Builder streamingChatModel(dev.langchain4j.model.chat.StreamingChatModel streamingChatModel)

  - ### tokenCountEstimator

    public abstract LangChain4j.Builder tokenCountEstimator(dev.langchain4j.model.TokenCountEstimator tokenCountEstimator)

  - ### objectMapper

    public abstract LangChain4j.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)

  - ### modelName

    public abstract LangChain4j.Builder modelName(String modelName)

  - ### build

    public abstract LangChain4j build()