Class LlmUtilityServiceGrpc (3.33.0)

public final class LlmUtilityServiceGrpc

Service for LLM related utility functions.

Inheritance

java.lang.Object > LlmUtilityServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(LlmUtilityServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(LlmUtilityServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceLlmUtilityServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getComputeTokensMethod()

public static MethodDescriptor<ComputeTokensRequest,ComputeTokensResponse> getComputeTokensMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ComputeTokensRequest,ComputeTokensResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static LlmUtilityServiceGrpc.LlmUtilityServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LlmUtilityServiceGrpc.LlmUtilityServiceBlockingStub

newFutureStub(Channel channel)

public static LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LlmUtilityServiceGrpc.LlmUtilityServiceFutureStub

newStub(Channel channel)

public static LlmUtilityServiceGrpc.LlmUtilityServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
LlmUtilityServiceGrpc.LlmUtilityServiceStub