Uses of Class
com.google.genai.types.TokensInfo
Packages that use TokensInfo
-
Uses of TokensInfo in com.google.genai.types
Methods in com.google.genai.types that return TokensInfoModifier and TypeMethodDescriptionabstract TokensInfo
TokensInfo.Builder.build()
static TokensInfo
Deserializes a JSON string to a TokensInfo object.Methods in com.google.genai.types that return types with arguments of type TokensInfoModifier and TypeMethodDescriptionabstract Optional<List<TokensInfo>>
ComputeTokensResponse.tokensInfo()
Lists of tokens info from the input.abstract Optional<List<TokensInfo>>
ComputeTokensResult.tokensInfo()
Lists of tokens info from the input.Methods in com.google.genai.types with parameters of type TokensInfoModifier and TypeMethodDescriptionComputeTokensResponse.Builder.tokensInfo
(TokensInfo... tokensInfo) Setter for tokensInfo.ComputeTokensResult.Builder.tokensInfo
(TokensInfo... tokensInfo) Setter for tokensInfo.Method parameters in com.google.genai.types with type arguments of type TokensInfoModifier and TypeMethodDescriptionabstract ComputeTokensResponse.Builder
ComputeTokensResponse.Builder.tokensInfo
(List<TokensInfo> tokensInfo) Setter for tokensInfo.abstract ComputeTokensResult.Builder
ComputeTokensResult.Builder.tokensInfo
(List<TokensInfo> tokensInfo) Setter for tokensInfo.