public static class AutoscalerSettings.Builder extends ClientSettings.Builder<AutoscalerSettings,AutoscalerSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AutoscalerSettings settings) |
protected |
Builder(AutoscalerStubSettings.Builder stubSettings) |
protected |
Builder(ClientContext clientContext) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(AutoscalerSettings settings)
protected Builder(AutoscalerStubSettings.Builder stubSettings)
public AutoscalerStubSettings.Builder getStubSettingsBuilder()
public AutoscalerSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<AggregatedListAutoscalersHttpRequest,AutoscalerAggregatedList,AutoscalerClient.AggregatedListAutoscalersPagedResponse> aggregatedListAutoscalersSettings()
public UnaryCallSettings.Builder<DeleteAutoscalerHttpRequest,Operation> deleteAutoscalerSettings()
public UnaryCallSettings.Builder<GetAutoscalerHttpRequest,Autoscaler> getAutoscalerSettings()
public UnaryCallSettings.Builder<InsertAutoscalerHttpRequest,Operation> insertAutoscalerSettings()
public PagedCallSettings.Builder<ListAutoscalersHttpRequest,AutoscalerList,AutoscalerClient.ListAutoscalersPagedResponse> listAutoscalersSettings()
public UnaryCallSettings.Builder<PatchAutoscalerHttpRequest,Operation> patchAutoscalerSettings()
public UnaryCallSettings.Builder<UpdateAutoscalerHttpRequest,Operation> updateAutoscalerSettings()
public AutoscalerSettings build() throws IOException
build
in class ClientSettings.Builder<AutoscalerSettings,AutoscalerSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.