Class GrpcStorageInsightsStub (0.27.0)

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.

Inheritance

java.lang.Object > StorageInsightsStub > GrpcStorageInsightsStub

Static Methods

create(ClientContext clientContext)

public static final GrpcStorageInsightsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcStorageInsightsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcStorageInsightsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcStorageInsightsStub
Exceptions
Type Description
IOException

create(StorageInsightsStubSettings settings)

public static final GrpcStorageInsightsStub create(StorageInsightsStubSettings settings)
Parameter
Name Description
settings StorageInsightsStubSettings
Returns
Type Description
GrpcStorageInsightsStub
Exceptions
Type Description
IOException

Constructors

GrpcStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext)

protected GrpcStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings StorageInsightsStubSettings
clientContext ClientContext

GrpcStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings StorageInsightsStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createReportConfigCallable()

public UnaryCallable<CreateReportConfigRequest,ReportConfig> createReportConfigCallable()
Returns
Type Description
UnaryCallable<CreateReportConfigRequest,ReportConfig>
Overrides

deleteReportConfigCallable()

public UnaryCallable<DeleteReportConfigRequest,Empty> deleteReportConfigCallable()
Returns
Type Description
UnaryCallable<DeleteReportConfigRequest,Empty>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getReportConfigCallable()

public UnaryCallable<GetReportConfigRequest,ReportConfig> getReportConfigCallable()
Returns
Type Description
UnaryCallable<GetReportConfigRequest,ReportConfig>
Overrides

getReportDetailCallable()

public UnaryCallable<GetReportDetailRequest,ReportDetail> getReportDetailCallable()
Returns
Type Description
UnaryCallable<GetReportDetailRequest,ReportDetail>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,StorageInsightsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listReportConfigsCallable()

public UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> listReportConfigsCallable()
Returns
Type Description
UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse>
Overrides

listReportConfigsPagedCallable()

public UnaryCallable<ListReportConfigsRequest,StorageInsightsClient.ListReportConfigsPagedResponse> listReportConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListReportConfigsRequest,ListReportConfigsPagedResponse>
Overrides

listReportDetailsCallable()

public UnaryCallable<ListReportDetailsRequest,ListReportDetailsResponse> listReportDetailsCallable()
Returns
Type Description
UnaryCallable<ListReportDetailsRequest,ListReportDetailsResponse>
Overrides

listReportDetailsPagedCallable()

public UnaryCallable<ListReportDetailsRequest,StorageInsightsClient.ListReportDetailsPagedResponse> listReportDetailsPagedCallable()
Returns
Type Description
UnaryCallable<ListReportDetailsRequest,ListReportDetailsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateReportConfigCallable()

public UnaryCallable<UpdateReportConfigRequest,ReportConfig> updateReportConfigCallable()
Returns
Type Description
UnaryCallable<UpdateReportConfigRequest,ReportConfig>
Overrides