Class VersionsGrpc.VersionsBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<VersionsGrpc.VersionsBlockingStub>
-
- com.google.cloud.dialogflow.cx.v3.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.cx.v3.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)
CompareVersionsResponse
compareVersions(CompareVersionsRequest request)
Compares the specified base version with target version.com.google.longrunning.Operation
createVersion(CreateVersionRequest request)
Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].com.google.protobuf.Empty
deleteVersion(DeleteVersionRequest request)
Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].Version
getVersion(GetVersionRequest request)
Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].ListVersionsResponse
listVersions(ListVersionsRequest request)
Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].com.google.longrunning.Operation
loadVersion(LoadVersionRequest request)
Loads resources in the specified version to the draft flow.Version
updateVersion(UpdateVersionRequest request)
Updates the specified [Version][google.cloud.dialogflow.cx.v3.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 in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
-
getVersion
public Version getVersion(GetVersionRequest request)
Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
-
createVersion
public com.google.longrunning.Operation createVersion(CreateVersionRequest request)
Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3.Version]
-
updateVersion
public Version updateVersion(UpdateVersionRequest request)
Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
-
deleteVersion
public com.google.protobuf.Empty deleteVersion(DeleteVersionRequest request)
Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
-
loadVersion
public com.google.longrunning.Operation loadVersion(LoadVersionRequest request)
Loads resources in the specified version to the draft flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
-
compareVersions
public CompareVersionsResponse compareVersions(CompareVersionsRequest request)
Compares the specified base version with target version.
-
-