public static class AutoscalerStubSettings.Builder extends StubSettings.Builder<AutoscalerStubSettings,AutoscalerStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AutoscalerStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(AutoscalerStubSettings settings)
public AutoscalerStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 AutoscalerStubSettings build() throws IOException
build
in class StubSettings.Builder<AutoscalerStubSettings,AutoscalerStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.