Class StorageInsightsStubSettings.Builder (0.5.0)

public static class StorageInsightsStubSettings.Builder extends StubSettings.Builder<StorageInsightsStubSettings,StorageInsightsStubSettings.Builder>

Builder for StorageInsightsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > StorageInsightsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StorageInsightsStubSettings settings)

protected Builder(StorageInsightsStubSettings settings)
Parameter
Name Description
settings StorageInsightsStubSettings

Methods

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

public StorageInsightsStubSettings.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
StorageInsightsStubSettings.Builder

build()

public StorageInsightsStubSettings build()
Returns
Type Description
StorageInsightsStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateReportConfigSettings()

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

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

Returns
Type Description
Builder<UpdateReportConfigRequest,ReportConfig>