Class AppOptimizeGrpc.AppOptimizeBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AppOptimizeGrpc.AppOptimizeBlockingV2Stub>
com.google.cloud.appoptimize.v1beta.AppOptimizeGrpc.AppOptimizeBlockingV2Stub
- Enclosing class:
- AppOptimizeGrpc
public static final class AppOptimizeGrpc.AppOptimizeBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AppOptimizeGrpc.AppOptimizeBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createReport(CreateReportRequest request) Creates a new report.com.google.protobuf.EmptydeleteReport(DeleteReportRequest request) Deletes the specified report.getReport(GetReportRequest request) Retrieves the details of a report configuration.listReports(ListReportsRequest request) Lists reports within a given project.readReport(ReadReportRequest request) Reads data within a specified report.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AppOptimizeGrpc.AppOptimizeBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AppOptimizeGrpc.AppOptimizeBlockingV2Stub>
-
createReport
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`.
- Throws:
io.grpc.StatusException
-
getReport
Retrieves the details of a report configuration.
- Throws:
io.grpc.StatusException
-
listReports
Lists reports within a given project.
- Throws:
io.grpc.StatusException
-
deleteReport
public com.google.protobuf.Empty deleteReport(DeleteReportRequest request) throws io.grpc.StatusException Deletes the specified report.
- Throws:
io.grpc.StatusException
-
readReport
Reads data within a specified report.
- Throws:
io.grpc.StatusException
-