Class DashboardsServiceStubSettings.Builder (2.37.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
NameDescription
clientContextClientContext

Builder(DashboardsServiceStubSettings settings)

protected Builder(DashboardsServiceStubSettings settings)
Parameter
NameDescription
settingsDashboardsServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DashboardsServiceStubSettings.Builder

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateDashboardRequest,Dashboard>