Class StorageInsightsSettings.Builder (0.3.0)

public static class StorageInsightsSettings.Builder extends ClientSettings.Builder<StorageInsightsSettings,StorageInsightsSettings.Builder>

Builder for StorageInsightsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > StorageInsightsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(StorageInsightsSettings settings)

protected Builder(StorageInsightsSettings settings)
Parameter
NameDescription
settingsStorageInsightsSettings

Builder(StorageInsightsStubSettings.Builder stubSettings)

protected Builder(StorageInsightsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsStorageInsightsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public StorageInsightsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
StorageInsightsSettings.Builder

build()

public StorageInsightsSettings build()
Returns
TypeDescription
StorageInsightsSettings
Overrides
Exceptions
TypeDescription
IOException

createReportConfigSettings()

public UnaryCallSettings.Builder<CreateReportConfigRequest,ReportConfig> createReportConfigSettings()

Returns the builder for the settings used for calls to createReportConfig.

Returns
TypeDescription
Builder<CreateReportConfigRequest,ReportConfig>

deleteReportConfigSettings()

public UnaryCallSettings.Builder<DeleteReportConfigRequest,Empty> deleteReportConfigSettings()

Returns the builder for the settings used for calls to deleteReportConfig.

Returns
TypeDescription
Builder<DeleteReportConfigRequest,Empty>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getReportConfigSettings()

public UnaryCallSettings.Builder<GetReportConfigRequest,ReportConfig> getReportConfigSettings()

Returns the builder for the settings used for calls to getReportConfig.

Returns
TypeDescription
Builder<GetReportConfigRequest,ReportConfig>

getReportDetailSettings()

public UnaryCallSettings.Builder<GetReportDetailRequest,ReportDetail> getReportDetailSettings()

Returns the builder for the settings used for calls to getReportDetail.

Returns
TypeDescription
Builder<GetReportDetailRequest,ReportDetail>

getStubSettingsBuilder()

public StorageInsightsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
StorageInsightsStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,StorageInsightsClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listReportConfigsSettings()

public PagedCallSettings.Builder<ListReportConfigsRequest,ListReportConfigsResponse,StorageInsightsClient.ListReportConfigsPagedResponse> listReportConfigsSettings()

Returns the builder for the settings used for calls to listReportConfigs.

Returns
TypeDescription
Builder<ListReportConfigsRequest,ListReportConfigsResponse,ListReportConfigsPagedResponse>

listReportDetailsSettings()

public PagedCallSettings.Builder<ListReportDetailsRequest,ListReportDetailsResponse,StorageInsightsClient.ListReportDetailsPagedResponse> listReportDetailsSettings()

Returns the builder for the settings used for calls to listReportDetails.

Returns
TypeDescription
Builder<ListReportDetailsRequest,ListReportDetailsResponse,ListReportDetailsPagedResponse>

updateReportConfigSettings()

public UnaryCallSettings.Builder<UpdateReportConfigRequest,ReportConfig> updateReportConfigSettings()

Returns the builder for the settings used for calls to updateReportConfig.

Returns
TypeDescription
Builder<UpdateReportConfigRequest,ReportConfig>