Class GeneratorsGrpc.GeneratorsStub (4.54.0)

public static final class GeneratorsGrpc.GeneratorsStub extends AbstractAsyncStub<GeneratorsGrpc.GeneratorsStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > GeneratorsGrpc.GeneratorsStub

Methods

build(Channel channel, CallOptions callOptions)

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

createGenerator(CreateGeneratorRequest request, StreamObserver<Generator> responseObserver)

public void createGenerator(CreateGeneratorRequest request, StreamObserver<Generator> responseObserver)

Creates a generator.

Parameters
Name Description
request CreateGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>

deleteGenerator(DeleteGeneratorRequest request, StreamObserver<Empty> responseObserver)

public void deleteGenerator(DeleteGeneratorRequest request, StreamObserver<Empty> responseObserver)

Deletes a generator.

Parameters
Name Description
request DeleteGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getGenerator(GetGeneratorRequest request, StreamObserver<Generator> responseObserver)

public void getGenerator(GetGeneratorRequest request, StreamObserver<Generator> responseObserver)

Retrieves a generator.

Parameters
Name Description
request GetGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>

listGenerators(ListGeneratorsRequest request, StreamObserver<ListGeneratorsResponse> responseObserver)

public void listGenerators(ListGeneratorsRequest request, StreamObserver<ListGeneratorsResponse> responseObserver)

Lists generators.

Parameters
Name Description
request ListGeneratorsRequest
responseObserver io.grpc.stub.StreamObserver<ListGeneratorsResponse>

updateGenerator(UpdateGeneratorRequest request, StreamObserver<Generator> responseObserver)

public void updateGenerator(UpdateGeneratorRequest request, StreamObserver<Generator> responseObserver)

Updates a generator.

Parameters
Name Description
request UpdateGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>