Class DashboardsServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DashboardsServiceStubSettings,DashboardsServiceStubSettings.Builder>
com.google.cloud.monitoring.dashboard.v1.stub.DashboardsServiceStubSettings.Builder
- Enclosing class:
- DashboardsServiceStubSettings
public static class DashboardsServiceStubSettings.Builder
extends StubSettings.Builder<DashboardsServiceStubSettings,DashboardsServiceStubSettings.Builder>
Builder for DashboardsServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DashboardsServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateDashboard.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<DashboardsServiceStubSettings,DashboardsServiceStubSettings.Builder> - Throws:
IOException
-