public static final class VersionsGrpc.VersionsFutureStub extends AbstractFutureStub<VersionsGrpc.VersionsFutureStub>
Service for managing [Versions][google.cloud.dialogflow.v2.Version].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected VersionsGrpc.VersionsFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Version> |
createVersion(CreateVersionRequest request)
Creates an agent version.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteVersion(DeleteVersionRequest request)
Delete the specified agent version.
|
com.google.common.util.concurrent.ListenableFuture<Version> |
getVersion(GetVersionRequest request)
Retrieves the specified agent version.
|
com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> |
listVersions(ListVersionsRequest request)
Returns the list of all versions of the specified agent.
|
com.google.common.util.concurrent.ListenableFuture<Version> |
updateVersion(UpdateVersionRequest request)
Updates the specified agent version.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected VersionsGrpc.VersionsFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<VersionsGrpc.VersionsFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)
Returns the list of all versions of the specified agent.
public com.google.common.util.concurrent.ListenableFuture<Version> getVersion(GetVersionRequest request)
Retrieves the specified agent version.
public com.google.common.util.concurrent.ListenableFuture<Version> createVersion(CreateVersionRequest request)
Creates an agent version. The new version points to the agent instance in the "default" environment.
public com.google.common.util.concurrent.ListenableFuture<Version> updateVersion(UpdateVersionRequest request)
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.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteVersion(DeleteVersionRequest request)
Delete the specified agent version.
Copyright © 2022 Google LLC. All rights reserved.