Class HttpJsonStorageInsightsStub (0.19.0)

public class HttpJsonStorageInsightsStub extends StorageInsightsStub

REST stub implementation for the StorageInsights service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > StorageInsightsStub > HttpJsonStorageInsightsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(StorageInsightsStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext)

protected HttpJsonStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonStorageInsightsStub, 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

HttpJsonStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonStorageInsightsStub(StorageInsightsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonStorageInsightsStub, 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 HttpJsonStubCallableFactory

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

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