Class VersionsGrpc.VersionsFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VersionsGrpc.VersionsFutureStub>
com.google.cloud.dialogflow.v2.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.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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<Version>
    Creates an agent version.
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
    Delete the specified agent version.
    com.google.common.util.concurrent.ListenableFuture<Version>
    Retrieves the specified agent version.
    com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse>
    Returns the list of all versions of the specified agent.
    com.google.common.util.concurrent.ListenableFuture<Version>
    Updates the specified agent 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, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected VersionsGrpc.VersionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<VersionsGrpc.VersionsFutureStub>
    • listVersions

      public com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)
       Returns the list of all versions of the specified agent.
       
    • getVersion

      public com.google.common.util.concurrent.ListenableFuture<Version> getVersion(GetVersionRequest request)
       Retrieves the specified agent version.
       
    • createVersion

      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.
       
    • updateVersion

      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.
       
    • deleteVersion

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteVersion(DeleteVersionRequest request)
       Delete the specified agent version.