Package com.google.cloud.dialogflow.v2
Class VersionsGrpc.VersionsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<VersionsGrpc.VersionsBlockingV2Stub>
com.google.cloud.dialogflow.v2.VersionsGrpc.VersionsBlockingV2Stub
- Enclosing class:
- VersionsGrpc
public static final class VersionsGrpc.VersionsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<VersionsGrpc.VersionsBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Versions.
Service for managing [Versions][google.cloud.dialogflow.v2.Version].
-
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 VersionsGrpc.VersionsBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createVersion(CreateVersionRequest request) Creates an agent version.com.google.protobuf.EmptydeleteVersion(DeleteVersionRequest request) Delete the specified agent version.getVersion(GetVersionRequest request) Retrieves the specified agent version.listVersions(ListVersionsRequest request) Returns the list of all versions of the specified agent.updateVersion(UpdateVersionRequest request) Updates the specified agent version.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 VersionsGrpc.VersionsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<VersionsGrpc.VersionsBlockingV2Stub>
-
listVersions
public ListVersionsResponse listVersions(ListVersionsRequest request) throws io.grpc.StatusException Returns the list of all versions of the specified agent.
- Throws:
io.grpc.StatusException
-
getVersion
Retrieves the specified agent version.
- Throws:
io.grpc.StatusException
-
createVersion
Creates an agent version. The new version points to the agent instance in the "default" environment.
- Throws:
io.grpc.StatusException
-
updateVersion
Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.
- Throws:
io.grpc.StatusException
-
deleteVersion
public com.google.protobuf.Empty deleteVersion(DeleteVersionRequest request) throws io.grpc.StatusException Delete the specified agent version.
- Throws:
io.grpc.StatusException
-