public static class ForwardingRuleSettings.Builder extends ClientSettings.Builder<ForwardingRuleSettings,ForwardingRuleSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ForwardingRuleSettings settings) |
protected |
Builder(ForwardingRuleStubSettings.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(ForwardingRuleSettings settings)
protected Builder(ForwardingRuleStubSettings.Builder stubSettings)
public ForwardingRuleStubSettings.Builder getStubSettingsBuilder()
public ForwardingRuleSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<AggregatedListForwardingRulesHttpRequest,ForwardingRuleAggregatedList,ForwardingRuleClient.AggregatedListForwardingRulesPagedResponse> aggregatedListForwardingRulesSettings()
public UnaryCallSettings.Builder<DeleteForwardingRuleHttpRequest,Operation> deleteForwardingRuleSettings()
public UnaryCallSettings.Builder<GetForwardingRuleHttpRequest,ForwardingRule> getForwardingRuleSettings()
public UnaryCallSettings.Builder<InsertForwardingRuleHttpRequest,Operation> insertForwardingRuleSettings()
public PagedCallSettings.Builder<ListForwardingRulesHttpRequest,ForwardingRuleList,ForwardingRuleClient.ListForwardingRulesPagedResponse> listForwardingRulesSettings()
public UnaryCallSettings.Builder<SetTargetForwardingRuleHttpRequest,Operation> setTargetForwardingRuleSettings()
public ForwardingRuleSettings build() throws IOException
build
in class ClientSettings.Builder<ForwardingRuleSettings,ForwardingRuleSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.