Class AppOptimizeGrpc.AppOptimizeFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AppOptimizeGrpc.AppOptimizeFutureStub>
com.google.cloud.appoptimize.v1beta.AppOptimizeGrpc.AppOptimizeFutureStub
Enclosing class:
AppOptimizeGrpc

public static final class AppOptimizeGrpc.AppOptimizeFutureStub extends io.grpc.stub.AbstractFutureStub<AppOptimizeGrpc.AppOptimizeFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AppOptimize.
 Service for managing and querying optimization reports.
 
  • 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<Operation>
    Creates a new report.
    com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
    Deletes the specified report.
    com.google.common.util.concurrent.ListenableFuture<Report>
    Retrieves the details of a report configuration.
    com.google.common.util.concurrent.ListenableFuture<ListReportsResponse>
    Lists reports within a given project.
    com.google.common.util.concurrent.ListenableFuture<ReadReportResponse>
    Reads data within a specified report.

    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 AppOptimizeGrpc.AppOptimizeFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AppOptimizeGrpc.AppOptimizeFutureStub>
    • createReport

      public com.google.common.util.concurrent.ListenableFuture<Operation> createReport(CreateReportRequest request)
       Creates a new report.
       This initiates a long-running operation that, upon completion, results
       in a report resource. Once the report is created, its results can be read
       via `ReadReport`.
       
    • getReport

      public com.google.common.util.concurrent.ListenableFuture<Report> getReport(GetReportRequest request)
       Retrieves the details of a report configuration.
       
    • listReports

      public com.google.common.util.concurrent.ListenableFuture<ListReportsResponse> listReports(ListReportsRequest request)
       Lists reports within a given project.
       
    • deleteReport

      public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteReport(DeleteReportRequest request)
       Deletes the specified report.
       
    • readReport

      public com.google.common.util.concurrent.ListenableFuture<ReadReportResponse> readReport(ReadReportRequest request)
       Reads data within a specified report.