Class ComputeTokensResponse.Builder
- Enclosing class:
- ComputeTokensResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ComputeTokensResponse
build()
abstract ComputeTokensResponse.Builder
sdkHttpResponse
(HttpResponse sdkHttpResponse) Setter for sdkHttpResponse.sdkHttpResponse
(HttpResponse.Builder sdkHttpResponseBuilder) Setter for sdkHttpResponse builder.tokensInfo
(TokensInfo... tokensInfo) Setter for tokensInfo.tokensInfo
(TokensInfo.Builder... tokensInfoBuilders) Setter for tokensInfo builder.abstract ComputeTokensResponse.Builder
tokensInfo
(List<TokensInfo> tokensInfo) Setter for tokensInfo.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sdkHttpResponse
Setter for sdkHttpResponse.sdkHttpResponse: Used to retain the full HTTP response.
-
sdkHttpResponse
Setter for sdkHttpResponse builder.sdkHttpResponse: Used to retain the full HTTP response.
-
tokensInfo
Setter for tokensInfo.tokensInfo: Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
-
tokensInfo
Setter for tokensInfo.tokensInfo: Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
-
tokensInfo
Setter for tokensInfo builder.tokensInfo: Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
-
build
-