Class HttpJsonStorageInsightsStub (0.1.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonStorageInsightsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonStorageInsightsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonStorageInsightsStub
Exceptions
TypeDescription
IOException

create(StorageInsightsStubSettings settings)

public static final HttpJsonStorageInsightsStub create(StorageInsightsStubSettings settings)
Parameter
NameDescription
settingsStorageInsightsStubSettings
Returns
TypeDescription
HttpJsonStorageInsightsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsStorageInsightsStubSettings
clientContextClientContext

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
NameDescription
settingsStorageInsightsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createReportConfigCallable()

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

deleteReportConfigCallable()

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

getLocationCallable()

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

getReportConfigCallable()

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

getReportDetailCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listLocationsCallable()

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

listLocationsPagedCallable()

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

listReportConfigsCallable()

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

listReportConfigsPagedCallable()

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

listReportDetailsCallable()

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

listReportDetailsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateReportConfigCallable()

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