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