public static class ForwardingRuleStubSettings.Builder extends StubSettings.Builder<ForwardingRuleStubSettings,ForwardingRuleStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ForwardingRuleStubSettings 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(ForwardingRuleStubSettings settings)
public ForwardingRuleStubSettings.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<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 ForwardingRuleStubSettings build() throws IOException
build
in class StubSettings.Builder<ForwardingRuleStubSettings,ForwardingRuleStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.