Class VersionsGrpc.VersionsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<VersionsGrpc.VersionsBlockingStub>
-
- com.google.cloud.dialogflow.v2beta1.VersionsGrpc.VersionsBlockingStub
-
- Enclosing class:
- VersionsGrpc
public static final class VersionsGrpc.VersionsBlockingStub extends io.grpc.stub.AbstractBlockingStub<VersionsGrpc.VersionsBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Versions.Service for managing [Versions][google.cloud.dialogflow.v2beta1.Version].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VersionsGrpc.VersionsBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Version
createVersion(CreateVersionRequest request)
Creates an agent version.com.google.protobuf.Empty
deleteVersion(DeleteVersionRequest request)
Delete the specified agent version.Version
getVersion(GetVersionRequest request)
Retrieves the specified agent version.ListVersionsResponse
listVersions(ListVersionsRequest request)
Returns the list of all versions of the specified agent.Version
updateVersion(UpdateVersionRequest request)
Updates the specified agent version.
-
-
-
Method Detail
-
build
protected VersionsGrpc.VersionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<VersionsGrpc.VersionsBlockingStub>
-
listVersions
public ListVersionsResponse listVersions(ListVersionsRequest request)
Returns the list of all versions of the specified agent.
-
getVersion
public Version getVersion(GetVersionRequest request)
Retrieves the specified agent version.
-
createVersion
public Version createVersion(CreateVersionRequest request)
Creates an agent version. The new version points to the agent instance in the "default" environment.
-
updateVersion
public 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.
-
deleteVersion
public com.google.protobuf.Empty deleteVersion(DeleteVersionRequest request)
Delete the specified agent version.
-
-