Class MaintenanceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<MaintenanceSettings,MaintenanceSettings.Builder>
com.google.cloud.maintenance.api.v1beta.MaintenanceSettings.Builder
- Enclosing class:
- MaintenanceSettings
public static class MaintenanceSettings.Builder
extends ClientSettings.Builder<MaintenanceSettings,MaintenanceSettings.Builder>
Builder for MaintenanceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MaintenanceSettings settings) protectedBuilder(MaintenanceStubSettings.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 getLocation.Returns the builder for the settings used for calls to getResourceMaintenance.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, MaintenanceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListResourceMaintenancesRequest,ListResourceMaintenancesResponse, MaintenanceClient.ListResourceMaintenancesPagedResponse> Returns the builder for the settings used for calls to listResourceMaintenances.PagedCallSettings.Builder<SummarizeMaintenancesRequest,SummarizeMaintenancesResponse, MaintenanceClient.SummarizeMaintenancesPagedResponse> Returns the builder for the settings used for calls to summarizeMaintenances.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 MaintenanceSettings.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.
-
summarizeMaintenancesSettings
public PagedCallSettings.Builder<SummarizeMaintenancesRequest,SummarizeMaintenancesResponse, summarizeMaintenancesSettings()MaintenanceClient.SummarizeMaintenancesPagedResponse> Returns the builder for the settings used for calls to summarizeMaintenances. -
listResourceMaintenancesSettings
public PagedCallSettings.Builder<ListResourceMaintenancesRequest,ListResourceMaintenancesResponse, listResourceMaintenancesSettings()MaintenanceClient.ListResourceMaintenancesPagedResponse> Returns the builder for the settings used for calls to listResourceMaintenances. -
getResourceMaintenanceSettings
public UnaryCallSettings.Builder<GetResourceMaintenanceRequest,ResourceMaintenance> getResourceMaintenanceSettings()Returns the builder for the settings used for calls to getResourceMaintenance. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()MaintenanceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<MaintenanceSettings,MaintenanceSettings.Builder> - Throws:
IOException
-