Class GrpcStorageInsightsStub
java.lang.Object
com.google.cloud.storageinsights.v1.stub.StorageInsightsStub
com.google.cloud.storageinsights.v1.stub.GrpcStorageInsightsStub
- All Implemented Interfaces:
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
ConstructorsModifierConstructorDescriptionprotectedGrpcStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcStorageInsightsStub, using the given settings.protectedGrpcStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcStorageInsightsStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcStorageInsightsStubcreate(ClientContext clientContext) static final GrpcStorageInsightsStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcStorageInsightsStubcreate(StorageInsightsStubSettings settings) OperationCallable<DeleteDatasetConfigRequest,com.google.protobuf.Empty, OperationMetadata> UnaryCallable<DeleteReportConfigRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()voidOperationCallable<UnlinkDatasetRequest,com.google.protobuf.Empty, OperationMetadata> Methods inherited from class com.google.cloud.storageinsights.v1.stub.StorageInsightsStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcStorageInsightsStub
protected GrpcStorageInsightsStub(StorageInsightsStubSettings settings, 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, ClientContext clientContext, 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 Details
-
create
public static final GrpcStorageInsightsStub create(StorageInsightsStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcStorageInsightsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classStorageInsightsStub
-
listReportConfigsCallable
public UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> listReportConfigsCallable()- Overrides:
listReportConfigsCallablein classStorageInsightsStub
-
listReportConfigsPagedCallable
public UnaryCallable<ListReportConfigsRequest,StorageInsightsClient.ListReportConfigsPagedResponse> listReportConfigsPagedCallable()- Overrides:
listReportConfigsPagedCallablein classStorageInsightsStub
-
getReportConfigCallable
- Overrides:
getReportConfigCallablein classStorageInsightsStub
-
createReportConfigCallable
- Overrides:
createReportConfigCallablein classStorageInsightsStub
-
updateReportConfigCallable
- Overrides:
updateReportConfigCallablein classStorageInsightsStub
-
deleteReportConfigCallable
public UnaryCallable<DeleteReportConfigRequest,com.google.protobuf.Empty> deleteReportConfigCallable()- Overrides:
deleteReportConfigCallablein classStorageInsightsStub
-
listReportDetailsCallable
public UnaryCallable<ListReportDetailsRequest,ListReportDetailsResponse> listReportDetailsCallable()- Overrides:
listReportDetailsCallablein classStorageInsightsStub
-
listReportDetailsPagedCallable
public UnaryCallable<ListReportDetailsRequest,StorageInsightsClient.ListReportDetailsPagedResponse> listReportDetailsPagedCallable()- Overrides:
listReportDetailsPagedCallablein classStorageInsightsStub
-
getReportDetailCallable
- Overrides:
getReportDetailCallablein classStorageInsightsStub
-
listDatasetConfigsCallable
public UnaryCallable<ListDatasetConfigsRequest,ListDatasetConfigsResponse> listDatasetConfigsCallable()- Overrides:
listDatasetConfigsCallablein classStorageInsightsStub
-
listDatasetConfigsPagedCallable
public UnaryCallable<ListDatasetConfigsRequest,StorageInsightsClient.ListDatasetConfigsPagedResponse> listDatasetConfigsPagedCallable()- Overrides:
listDatasetConfigsPagedCallablein classStorageInsightsStub
-
getDatasetConfigCallable
- Overrides:
getDatasetConfigCallablein classStorageInsightsStub
-
createDatasetConfigCallable
- Overrides:
createDatasetConfigCallablein classStorageInsightsStub
-
createDatasetConfigOperationCallable
public OperationCallable<CreateDatasetConfigRequest,DatasetConfig, createDatasetConfigOperationCallable()OperationMetadata> - Overrides:
createDatasetConfigOperationCallablein classStorageInsightsStub
-
updateDatasetConfigCallable
- Overrides:
updateDatasetConfigCallablein classStorageInsightsStub
-
updateDatasetConfigOperationCallable
public OperationCallable<UpdateDatasetConfigRequest,DatasetConfig, updateDatasetConfigOperationCallable()OperationMetadata> - Overrides:
updateDatasetConfigOperationCallablein classStorageInsightsStub
-
deleteDatasetConfigCallable
- Overrides:
deleteDatasetConfigCallablein classStorageInsightsStub
-
deleteDatasetConfigOperationCallable
public OperationCallable<DeleteDatasetConfigRequest,com.google.protobuf.Empty, deleteDatasetConfigOperationCallable()OperationMetadata> - Overrides:
deleteDatasetConfigOperationCallablein classStorageInsightsStub
-
linkDatasetCallable
- Overrides:
linkDatasetCallablein classStorageInsightsStub
-
linkDatasetOperationCallable
public OperationCallable<LinkDatasetRequest,LinkDatasetResponse, linkDatasetOperationCallable()OperationMetadata> - Overrides:
linkDatasetOperationCallablein classStorageInsightsStub
-
unlinkDatasetCallable
- Overrides:
unlinkDatasetCallablein classStorageInsightsStub
-
unlinkDatasetOperationCallable
public OperationCallable<UnlinkDatasetRequest,com.google.protobuf.Empty, unlinkDatasetOperationCallable()OperationMetadata> - Overrides:
unlinkDatasetOperationCallablein classStorageInsightsStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classStorageInsightsStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,StorageInsightsClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classStorageInsightsStub
-
getLocationCallable
- Overrides:
getLocationCallablein classStorageInsightsStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classStorageInsightsStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-