Class AppOptimizeGrpc.AppOptimizeStub

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

public static final class AppOptimizeGrpc.AppOptimizeStub extends io.grpc.stub.AbstractAsyncStub<AppOptimizeGrpc.AppOptimizeStub>
A stub to allow clients to do asynchronous 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)
     
    void
    createReport(CreateReportRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Creates a new report.
    void
    deleteReport(DeleteReportRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Deletes the specified report.
    void
    getReport(GetReportRequest request, io.grpc.stub.StreamObserver<Report> responseObserver)
    Retrieves the details of a report configuration.
    void
    listReports(ListReportsRequest request, io.grpc.stub.StreamObserver<ListReportsResponse> responseObserver)
    Lists reports within a given project.
    void
    readReport(ReadReportRequest request, io.grpc.stub.StreamObserver<ReadReportResponse> responseObserver)
    Reads data within a specified report.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

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

      public void createReport(CreateReportRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void getReport(GetReportRequest request, io.grpc.stub.StreamObserver<Report> responseObserver)
       Retrieves the details of a report configuration.
       
    • listReports

      public void listReports(ListReportsRequest request, io.grpc.stub.StreamObserver<ListReportsResponse> responseObserver)
       Lists reports within a given project.
       
    • deleteReport

      public void deleteReport(DeleteReportRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes the specified report.
       
    • readReport

      public void readReport(ReadReportRequest request, io.grpc.stub.StreamObserver<ReadReportResponse> responseObserver)
       Reads data within a specified report.