Class GrpcStorageInsightsStub
- java.lang.Object
-
- com.google.cloud.storageinsights.v1.stub.StorageInsightsStub
-
- com.google.cloud.storageinsights.v1.stub.GrpcStorageInsightsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcStorageInsightsStub extends StorageInsightsStub
gRPC stub implementation for the StorageInsights service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcStorageInsightsStub(StorageInsightsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcStorageInsightsStub, using the given settings.protected
GrpcStorageInsightsStub(StorageInsightsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcStorageInsightsStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static GrpcStorageInsightsStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcStorageInsightsStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcStorageInsightsStub
create(StorageInsightsStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateReportConfigRequest,ReportConfig>
createReportConfigCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteReportConfigRequest,com.google.protobuf.Empty>
deleteReportConfigCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationCallable()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<GetReportConfigRequest,ReportConfig>
getReportConfigCallable()
com.google.api.gax.rpc.UnaryCallable<GetReportDetailRequest,ReportDetail>
getReportDetailCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
listLocationsCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,StorageInsightsClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse>
listReportConfigsCallable()
com.google.api.gax.rpc.UnaryCallable<ListReportConfigsRequest,StorageInsightsClient.ListReportConfigsPagedResponse>
listReportConfigsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListReportDetailsRequest,ListReportDetailsResponse>
listReportDetailsCallable()
com.google.api.gax.rpc.UnaryCallable<ListReportDetailsRequest,StorageInsightsClient.ListReportDetailsPagedResponse>
listReportDetailsPagedCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<UpdateReportConfigRequest,ReportConfig>
updateReportConfigCallable()
-
-
-
Constructor Detail
-
GrpcStorageInsightsStub
protected GrpcStorageInsightsStub(StorageInsightsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcStorageInsightsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcStorageInsightsStub
protected GrpcStorageInsightsStub(StorageInsightsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcStorageInsightsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcStorageInsightsStub create(StorageInsightsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcStorageInsightsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcStorageInsightsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listReportConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> listReportConfigsCallable()
- Overrides:
listReportConfigsCallable
in classStorageInsightsStub
-
listReportConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListReportConfigsRequest,StorageInsightsClient.ListReportConfigsPagedResponse> listReportConfigsPagedCallable()
- Overrides:
listReportConfigsPagedCallable
in classStorageInsightsStub
-
getReportConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetReportConfigRequest,ReportConfig> getReportConfigCallable()
- Overrides:
getReportConfigCallable
in classStorageInsightsStub
-
createReportConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateReportConfigRequest,ReportConfig> createReportConfigCallable()
- Overrides:
createReportConfigCallable
in classStorageInsightsStub
-
updateReportConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateReportConfigRequest,ReportConfig> updateReportConfigCallable()
- Overrides:
updateReportConfigCallable
in classStorageInsightsStub
-
deleteReportConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteReportConfigRequest,com.google.protobuf.Empty> deleteReportConfigCallable()
- Overrides:
deleteReportConfigCallable
in classStorageInsightsStub
-
listReportDetailsCallable
public com.google.api.gax.rpc.UnaryCallable<ListReportDetailsRequest,ListReportDetailsResponse> listReportDetailsCallable()
- Overrides:
listReportDetailsCallable
in classStorageInsightsStub
-
listReportDetailsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListReportDetailsRequest,StorageInsightsClient.ListReportDetailsPagedResponse> listReportDetailsPagedCallable()
- Overrides:
listReportDetailsPagedCallable
in classStorageInsightsStub
-
getReportDetailCallable
public com.google.api.gax.rpc.UnaryCallable<GetReportDetailRequest,ReportDetail> getReportDetailCallable()
- Overrides:
getReportDetailCallable
in classStorageInsightsStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classStorageInsightsStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,StorageInsightsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classStorageInsightsStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classStorageInsightsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classStorageInsightsStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-