Class VersionsGrpc.VersionsFutureStub

  • Enclosing class:
    VersionsGrpc

    public static final class VersionsGrpc.VersionsFutureStub
    extends io.grpc.stub.AbstractFutureStub<VersionsGrpc.VersionsFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service Versions.
     Service for managing [Versions][google.cloud.dialogflow.cx.v3beta1.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected VersionsGrpc.VersionsFutureStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      com.google.common.util.concurrent.ListenableFuture<CompareVersionsResponse> compareVersions​(CompareVersionsRequest request)
      Compares the specified base version with target version.
      com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createVersion​(CreateVersionRequest request)
      Creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].
      com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteVersion​(DeleteVersionRequest request)
      Deletes the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].
      com.google.common.util.concurrent.ListenableFuture<Version> getVersion​(GetVersionRequest request)
      Retrieves the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].
      com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions​(ListVersionsRequest request)
      Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].
      com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> loadVersion​(LoadVersionRequest request)
      Loads resources in the specified version to the draft flow.
      com.google.common.util.concurrent.ListenableFuture<Version> updateVersion​(UpdateVersionRequest request)
      Updates the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • listVersions

        public com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions​(ListVersionsRequest request)
         Returns the list of all versions in the specified
         [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].
         
      • getVersion

        public com.google.common.util.concurrent.ListenableFuture<Version> getVersion​(GetVersionRequest request)
         Retrieves the specified
         [Version][google.cloud.dialogflow.cx.v3beta1.Version].
         
      • createVersion

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createVersion​(CreateVersionRequest request)
         Creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the
         specified [Flow][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.CreateVersionOperationMetadata]
         - `response`: [Version][google.cloud.dialogflow.cx.v3beta1.Version]
         
      • updateVersion

        public com.google.common.util.concurrent.ListenableFuture<Version> updateVersion​(UpdateVersionRequest request)
         Updates the specified
         [Version][google.cloud.dialogflow.cx.v3beta1.Version].
         
      • deleteVersion

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteVersion​(DeleteVersionRequest request)
         Deletes the specified
         [Version][google.cloud.dialogflow.cx.v3beta1.Version].
         
      • loadVersion

        public com.google.common.util.concurrent.ListenableFuture<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)