public static class TargetTcpProxySettings.Builder extends ClientSettings.Builder<TargetTcpProxySettings,TargetTcpProxySettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TargetTcpProxySettings settings) |
protected |
Builder(TargetTcpProxyStubSettings.Builder stubSettings) |
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(TargetTcpProxySettings settings)
protected Builder(TargetTcpProxyStubSettings.Builder stubSettings)
public TargetTcpProxyStubSettings.Builder getStubSettingsBuilder()
public TargetTcpProxySettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<DeleteTargetTcpProxyHttpRequest,Operation> deleteTargetTcpProxySettings()
public UnaryCallSettings.Builder<GetTargetTcpProxyHttpRequest,TargetTcpProxy> getTargetTcpProxySettings()
public UnaryCallSettings.Builder<InsertTargetTcpProxyHttpRequest,Operation> insertTargetTcpProxySettings()
public PagedCallSettings.Builder<ListTargetTcpProxiesHttpRequest,TargetTcpProxyList,TargetTcpProxyClient.ListTargetTcpProxiesPagedResponse> listTargetTcpProxiesSettings()
public UnaryCallSettings.Builder<SetBackendServiceTargetTcpProxyHttpRequest,Operation> setBackendServiceTargetTcpProxySettings()
public UnaryCallSettings.Builder<SetProxyHeaderTargetTcpProxyHttpRequest,Operation> setProxyHeaderTargetTcpProxySettings()
public TargetTcpProxySettings build() throws IOException
build
in class ClientSettings.Builder<TargetTcpProxySettings,TargetTcpProxySettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.