public static class TargetPoolStubSettings.Builder extends StubSettings.Builder<TargetPoolStubSettings,TargetPoolStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TargetPoolStubSettings settings) |
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(TargetPoolStubSettings settings)
public TargetPoolStubSettings.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 UnaryCallSettings.Builder<AddHealthCheckTargetPoolHttpRequest,Operation> addHealthCheckTargetPoolSettings()
public UnaryCallSettings.Builder<AddInstanceTargetPoolHttpRequest,Operation> addInstanceTargetPoolSettings()
public PagedCallSettings.Builder<AggregatedListTargetPoolsHttpRequest,TargetPoolAggregatedList,TargetPoolClient.AggregatedListTargetPoolsPagedResponse> aggregatedListTargetPoolsSettings()
public UnaryCallSettings.Builder<DeleteTargetPoolHttpRequest,Operation> deleteTargetPoolSettings()
public UnaryCallSettings.Builder<GetTargetPoolHttpRequest,TargetPool> getTargetPoolSettings()
public UnaryCallSettings.Builder<GetHealthTargetPoolHttpRequest,TargetPoolInstanceHealth> getHealthTargetPoolSettings()
public UnaryCallSettings.Builder<InsertTargetPoolHttpRequest,Operation> insertTargetPoolSettings()
public PagedCallSettings.Builder<ListTargetPoolsHttpRequest,TargetPoolList,TargetPoolClient.ListTargetPoolsPagedResponse> listTargetPoolsSettings()
public UnaryCallSettings.Builder<RemoveHealthCheckTargetPoolHttpRequest,Operation> removeHealthCheckTargetPoolSettings()
public UnaryCallSettings.Builder<RemoveInstanceTargetPoolHttpRequest,Operation> removeInstanceTargetPoolSettings()
public UnaryCallSettings.Builder<SetBackupTargetPoolHttpRequest,Operation> setBackupTargetPoolSettings()
public TargetPoolStubSettings build() throws IOException
build
in class StubSettings.Builder<TargetPoolStubSettings,TargetPoolStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.