Class GoogleGenAiTokenUsage.Builder
java.lang.Object
dev.langchain4j.model.google.genai.GoogleGenAiTokenUsage.Builder
- Enclosing class:
GoogleGenAiTokenUsage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cachedContentTokenCount(Integer cachedContentTokenCount) inputTokenCount(Integer inputTokenCount) outputTokenCount(Integer outputTokenCount) thoughtsTokenCount(Integer thoughtsTokenCount) toolUsePromptTokenCount(Integer toolUsePromptTokenCount) totalTokenCount(Integer totalTokenCount)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputTokenCount
-
outputTokenCount
-
totalTokenCount
-
cachedContentTokenCount
-
thoughtsTokenCount
-
toolUsePromptTokenCount
-
build
-