Class GeneratorsGrpc.GeneratorsBlockingV2Stub (4.86.0)

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

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.GeneratorsBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected GeneratorsGrpc.GeneratorsBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
GeneratorsGrpc.GeneratorsBlockingV2Stub
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
Exceptions
Type Description
io.grpc.StatusException

deleteGenerator(DeleteGeneratorRequest request)

public Empty deleteGenerator(DeleteGeneratorRequest request)

Deletes a generator.

Parameter
Name Description
request DeleteGeneratorRequest
Returns
Type Description
Empty
Exceptions
Type Description
io.grpc.StatusException

getGenerator(GetGeneratorRequest request)

public Generator getGenerator(GetGeneratorRequest request)

Retrieves a generator.

Parameter
Name Description
request GetGeneratorRequest
Returns
Type Description
Generator
Exceptions
Type Description
io.grpc.StatusException

listGenerators(ListGeneratorsRequest request)

public ListGeneratorsResponse listGenerators(ListGeneratorsRequest request)

Lists generators.

Parameter
Name Description
request ListGeneratorsRequest
Returns
Type Description
ListGeneratorsResponse
Exceptions
Type Description
io.grpc.StatusException

updateGenerator(UpdateGeneratorRequest request)

public Generator updateGenerator(UpdateGeneratorRequest request)

Updates a generator.

Parameter
Name Description
request UpdateGeneratorRequest
Returns
Type Description
Generator
Exceptions
Type Description
io.grpc.StatusException