Class DashboardsServiceStubSettings.Builder (2.54.0)

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

Builder for DashboardsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DashboardsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DashboardsServiceStubSettings settings)

protected Builder(DashboardsServiceStubSettings settings)
Parameter
Name Description
settings DashboardsServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateDashboardSettings()

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

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

Returns
Type Description
Builder<UpdateDashboardRequest,Dashboard>