Class ToolsGrpc (4.87.0)

public final class ToolsGrpc

Tool Service for LLM powered Agent Assist. Tools can be used to interact with remote APIs (e.g. fetching orders) to retrieve additional information as input to LLM.

Inheritance

java.lang.Object > ToolsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ToolsGrpc.AsyncService service)

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

getCreateToolMethod()

public static MethodDescriptor<CreateToolRequest,Tool> getCreateToolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateToolRequest,Tool>

getDeleteToolMethod()

public static MethodDescriptor<DeleteToolRequest,Empty> getDeleteToolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteToolRequest,Empty>

getGetToolMethod()

public static MethodDescriptor<GetToolRequest,Tool> getGetToolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetToolRequest,Tool>

getListToolsMethod()

public static MethodDescriptor<ListToolsRequest,ListToolsResponse> getListToolsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListToolsRequest,ListToolsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateToolMethod()

public static MethodDescriptor<UpdateToolRequest,Tool> getUpdateToolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateToolRequest,Tool>

newBlockingStub(Channel channel)

public static ToolsGrpc.ToolsBlockingStub 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
ToolsGrpc.ToolsBlockingStub

newBlockingV2Stub(Channel channel)

public static ToolsGrpc.ToolsBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ToolsGrpc.ToolsBlockingV2Stub

newFutureStub(Channel channel)

public static ToolsGrpc.ToolsFutureStub 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
ToolsGrpc.ToolsFutureStub

newStub(Channel channel)

public static ToolsGrpc.ToolsStub 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
ToolsGrpc.ToolsStub