Class DashboardsServiceSettings.Builder (2.39.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
NameDescription
clientContextClientContext

Builder(DashboardsServiceSettings settings)

protected Builder(DashboardsServiceSettings settings)
Parameter
NameDescription
settingsDashboardsServiceSettings

Builder(DashboardsServiceStubSettings.Builder stubSettings)

protected Builder(DashboardsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDashboardsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DashboardsServiceSettings.Builder

build()

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

createDashboardSettings()

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

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

Returns
TypeDescription
Builder<CreateDashboardRequest,Dashboard>

deleteDashboardSettings()

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

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

Returns
TypeDescription
Builder<DeleteDashboardRequest,Empty>

getDashboardSettings()

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

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

Returns
TypeDescription
Builder<GetDashboardRequest,Dashboard>

getStubSettingsBuilder()

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

listDashboardsSettings()

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

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

Returns
TypeDescription
Builder<ListDashboardsRequest,ListDashboardsResponse,ListDashboardsPagedResponse>

updateDashboardSettings()

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

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

Returns
TypeDescription
Builder<UpdateDashboardRequest,Dashboard>