Class DashboardsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<DashboardsServiceSettings,DashboardsServiceSettings.Builder>
com.google.cloud.monitoring.dashboard.v1.DashboardsServiceSettings.Builder
- Enclosing class:
- DashboardsServiceSettings
public static class DashboardsServiceSettings.Builder
extends ClientSettings.Builder<DashboardsServiceSettings,DashboardsServiceSettings.Builder>
Builder for DashboardsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DashboardsServiceSettings settings) protectedBuilder(DashboardsServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createDashboard.UnaryCallSettings.Builder<DeleteDashboardRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteDashboard.Returns the builder for the settings used for calls to getDashboard.PagedCallSettings.Builder<ListDashboardsRequest,ListDashboardsResponse, DashboardsServiceClient.ListDashboardsPagedResponse> Returns the builder for the settings used for calls to listDashboards.Returns the builder for the settings used for calls to updateDashboard.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
createDashboardSettings
Returns the builder for the settings used for calls to createDashboard. -
listDashboardsSettings
public PagedCallSettings.Builder<ListDashboardsRequest,ListDashboardsResponse, listDashboardsSettings()DashboardsServiceClient.ListDashboardsPagedResponse> Returns the builder for the settings used for calls to listDashboards. -
getDashboardSettings
Returns the builder for the settings used for calls to getDashboard. -
deleteDashboardSettings
public UnaryCallSettings.Builder<DeleteDashboardRequest,com.google.protobuf.Empty> deleteDashboardSettings()Returns the builder for the settings used for calls to deleteDashboard. -
updateDashboardSettings
Returns the builder for the settings used for calls to updateDashboard. -
build
- Specified by:
buildin classClientSettings.Builder<DashboardsServiceSettings,DashboardsServiceSettings.Builder> - Throws:
IOException
-