Class StorageInsightsSettings.Builder (0.39.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
Name Description
clientContext ClientContext

Builder(StorageInsightsSettings settings)

protected Builder(StorageInsightsSettings settings)
Parameter
Name Description
settings StorageInsightsSettings

Builder(StorageInsightsStubSettings.Builder stubSettings)

protected Builder(StorageInsightsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings StorageInsightsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
StorageInsightsSettings.Builder

build()

public StorageInsightsSettings build()
Returns
Type Description
StorageInsightsSettings
Overrides
Exceptions
Type Description
IOException

createReportConfigSettings()

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

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

Returns
Type Description
Builder<CreateReportConfigRequest,ReportConfig>

deleteReportConfigSettings()

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

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

Returns
Type Description
Builder<DeleteReportConfigRequest,Empty>

getLocationSettings()

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

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

Returns
Type Description
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
Type Description
Builder<GetReportConfigRequest,ReportConfig>

getReportDetailSettings()

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

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

Returns
Type Description
Builder<GetReportDetailRequest,ReportDetail>

getStubSettingsBuilder()

public StorageInsightsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
StorageInsightsStubSettings.Builder

listLocationsSettings()

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

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

Returns
Type Description
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
Type Description
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
Type Description
Builder<ListReportDetailsRequest,ListReportDetailsResponse,ListReportDetailsPagedResponse>

updateReportConfigSettings()

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

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

Returns
Type Description
Builder<UpdateReportConfigRequest,ReportConfig>