public static final class LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub extends io.grpc.stub.AbstractFutureStub<LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub>
Service for LLM related utility functions.
| Modifier and Type | Method and Description |
|---|---|
protected LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<ComputeTokensResponse> |
computeTokens(ComputeTokensRequest request)
Return a list of tokens based on the input text.
|
com.google.common.util.concurrent.ListenableFuture<CountTokensResponse> |
countTokens(CountTokensRequest request)
Perform a token counting.
|
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReadyprotected LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<CountTokensResponse> countTokens(CountTokensRequest request)
Perform a token counting.
public com.google.common.util.concurrent.ListenableFuture<ComputeTokensResponse> computeTokens(ComputeTokensRequest request)
Return a list of tokens based on the input text.
Copyright © 2026 Google LLC. All rights reserved.