Class LlmUtilityServiceGrpc (3.47.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
Type Description
String

Static Methods

bindService(LlmUtilityServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(LlmUtilityServiceGrpc.AsyncService service)
Parameter
Name Description
service LlmUtilityServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getComputeTokensMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
LlmUtilityServiceGrpc.LlmUtilityServiceStub