Package com.google.cloud.dialogflow.v2
Class GeneratorsGrpc.GeneratorsStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<GeneratorsGrpc.GeneratorsStub>
com.google.cloud.dialogflow.v2.GeneratorsGrpc.GeneratorsStub
- Enclosing class:
- GeneratorsGrpc
public static final class GeneratorsGrpc.GeneratorsStub
extends io.grpc.stub.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected GeneratorsGrpc.GeneratorsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateGenerator(CreateGeneratorRequest request, io.grpc.stub.StreamObserver<Generator> responseObserver) Creates a generator.voiddeleteGenerator(DeleteGeneratorRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a generator.voidgetGenerator(GetGeneratorRequest request, io.grpc.stub.StreamObserver<Generator> responseObserver) Retrieves a generator.voidlistGenerators(ListGeneratorsRequest request, io.grpc.stub.StreamObserver<ListGeneratorsResponse> responseObserver) Lists generators.voidupdateGenerator(UpdateGeneratorRequest request, io.grpc.stub.StreamObserver<Generator> responseObserver) Updates a generator.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GeneratorsGrpc.GeneratorsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GeneratorsGrpc.GeneratorsStub>
-
createGenerator
public void createGenerator(CreateGeneratorRequest request, io.grpc.stub.StreamObserver<Generator> responseObserver) Creates a generator.
-
getGenerator
public void getGenerator(GetGeneratorRequest request, io.grpc.stub.StreamObserver<Generator> responseObserver) Retrieves a generator.
-
listGenerators
public void listGenerators(ListGeneratorsRequest request, io.grpc.stub.StreamObserver<ListGeneratorsResponse> responseObserver) Lists generators.
-
deleteGenerator
public void deleteGenerator(DeleteGeneratorRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a generator.
-
updateGenerator
public void updateGenerator(UpdateGeneratorRequest request, io.grpc.stub.StreamObserver<Generator> responseObserver) Updates a generator.
-