Class GeneratorsGrpc.GeneratorsFutureStub (4.58.0)

public static final class GeneratorsGrpc.GeneratorsFutureStub extends AbstractFutureStub<GeneratorsGrpc.GeneratorsFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > GeneratorsGrpc.GeneratorsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createGenerator(CreateGeneratorRequest request)

public ListenableFuture<Generator> createGenerator(CreateGeneratorRequest request)

Creates a generator.

Parameter
Name Description
request CreateGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Generator>

deleteGenerator(DeleteGeneratorRequest request)

public ListenableFuture<Empty> deleteGenerator(DeleteGeneratorRequest request)

Deletes a generator.

Parameter
Name Description
request DeleteGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getGenerator(GetGeneratorRequest request)

public ListenableFuture<Generator> getGenerator(GetGeneratorRequest request)

Retrieves a generator.

Parameter
Name Description
request GetGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Generator>

listGenerators(ListGeneratorsRequest request)

public ListenableFuture<ListGeneratorsResponse> listGenerators(ListGeneratorsRequest request)

Lists generators.

Parameter
Name Description
request ListGeneratorsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListGeneratorsResponse>

updateGenerator(UpdateGeneratorRequest request)

public ListenableFuture<Generator> updateGenerator(UpdateGeneratorRequest request)

Updates a generator.

Parameter
Name Description
request UpdateGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Generator>