Class GeneratorsGrpc.GeneratorsBlockingStub (4.54.0)

public static final class GeneratorsGrpc.GeneratorsBlockingStub extends AbstractBlockingStub<GeneratorsGrpc.GeneratorsBlockingStub>

A stub to allow clients to do synchronous rpc calls to service Generators.

Generator Service for LLM powered Agent Assist. This service manages the configurations of user owned Generators, such as description, context and instruction, input/output format, etc. The generator resources will be used inside a conversation and will be triggered by TriggerEvent to query LLM for answers.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > GeneratorsGrpc.GeneratorsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected GeneratorsGrpc.GeneratorsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
GeneratorsGrpc.GeneratorsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createGenerator(CreateGeneratorRequest request)

public Generator createGenerator(CreateGeneratorRequest request)

Creates a generator.

Parameter
Name Description
request CreateGeneratorRequest
Returns
Type Description
Generator

deleteGenerator(DeleteGeneratorRequest request)

public Empty deleteGenerator(DeleteGeneratorRequest request)

Deletes a generator.

Parameter
Name Description
request DeleteGeneratorRequest
Returns
Type Description
Empty

getGenerator(GetGeneratorRequest request)

public Generator getGenerator(GetGeneratorRequest request)

Retrieves a generator.

Parameter
Name Description
request GetGeneratorRequest
Returns
Type Description
Generator

listGenerators(ListGeneratorsRequest request)

public ListGeneratorsResponse listGenerators(ListGeneratorsRequest request)

Lists generators.

Parameter
Name Description
request ListGeneratorsRequest
Returns
Type Description
ListGeneratorsResponse

updateGenerator(UpdateGeneratorRequest request)

public Generator updateGenerator(UpdateGeneratorRequest request)

Updates a generator.

Parameter
Name Description
request UpdateGeneratorRequest
Returns
Type Description
Generator