Package com.google.cloud.dialogflow.v2
Class GeneratorsGrpc.GeneratorsFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<GeneratorsGrpc.GeneratorsFutureStub>
com.google.cloud.dialogflow.v2.GeneratorsGrpc.GeneratorsFutureStub
- Enclosing class:
- GeneratorsGrpc
public static final class GeneratorsGrpc.GeneratorsFutureStub
extends io.grpc.stub.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.
-
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.GeneratorsFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Generator>createGenerator(CreateGeneratorRequest request) Creates a generator.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteGenerator(DeleteGeneratorRequest request) Deletes a generator.com.google.common.util.concurrent.ListenableFuture<Generator>getGenerator(GetGeneratorRequest request) Retrieves a generator.com.google.common.util.concurrent.ListenableFuture<ListGeneratorsResponse>listGenerators(ListGeneratorsRequest request) Lists generators.com.google.common.util.concurrent.ListenableFuture<Generator>updateGenerator(UpdateGeneratorRequest request) Updates a generator.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.GeneratorsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GeneratorsGrpc.GeneratorsFutureStub>
-
createGenerator
public com.google.common.util.concurrent.ListenableFuture<Generator> createGenerator(CreateGeneratorRequest request) Creates a generator.
-
getGenerator
public com.google.common.util.concurrent.ListenableFuture<Generator> getGenerator(GetGeneratorRequest request) Retrieves a generator.
-
listGenerators
public com.google.common.util.concurrent.ListenableFuture<ListGeneratorsResponse> listGenerators(ListGeneratorsRequest request) Lists generators.
-
deleteGenerator
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteGenerator(DeleteGeneratorRequest request) Deletes a generator.
-
updateGenerator
public com.google.common.util.concurrent.ListenableFuture<Generator> updateGenerator(UpdateGeneratorRequest request) Updates a generator.
-