Class DashboardsServiceSettings.Builder (2.57.0)

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

Builder for DashboardsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DashboardsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DashboardsServiceSettings settings)

protected Builder(DashboardsServiceSettings settings)
Parameter
Name Description
settings DashboardsServiceSettings

Builder(DashboardsServiceStubSettings.Builder stubSettings)

protected Builder(DashboardsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DashboardsServiceStubSettings.Builder

Methods

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

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

build()

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

createDashboardSettings()

public UnaryCallSettings.Builder<CreateDashboardRequest,Dashboard> createDashboardSettings()

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

Returns
Type Description
Builder<CreateDashboardRequest,Dashboard>

deleteDashboardSettings()

public UnaryCallSettings.Builder<DeleteDashboardRequest,Empty> deleteDashboardSettings()

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

Returns
Type Description
Builder<DeleteDashboardRequest,Empty>

getDashboardSettings()

public UnaryCallSettings.Builder<GetDashboardRequest,Dashboard> getDashboardSettings()

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

Returns
Type Description
Builder<GetDashboardRequest,Dashboard>

getStubSettingsBuilder()

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

listDashboardsSettings()

public PagedCallSettings.Builder<ListDashboardsRequest,ListDashboardsResponse,DashboardsServiceClient.ListDashboardsPagedResponse> listDashboardsSettings()

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

Returns
Type Description
Builder<ListDashboardsRequest,ListDashboardsResponse,ListDashboardsPagedResponse>

updateDashboardSettings()

public UnaryCallSettings.Builder<UpdateDashboardRequest,Dashboard> updateDashboardSettings()

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

Returns
Type Description
Builder<UpdateDashboardRequest,Dashboard>