public static class GlobalForwardingRuleSettings.Builder extends ClientSettings.Builder<GlobalForwardingRuleSettings,GlobalForwardingRuleSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(GlobalForwardingRuleSettings settings) |
protected |
Builder(GlobalForwardingRuleStubSettings.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(GlobalForwardingRuleSettings settings)
protected Builder(GlobalForwardingRuleStubSettings.Builder stubSettings)
public GlobalForwardingRuleStubSettings.Builder getStubSettingsBuilder()
public GlobalForwardingRuleSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<DeleteGlobalForwardingRuleHttpRequest,Operation> deleteGlobalForwardingRuleSettings()
public UnaryCallSettings.Builder<GetGlobalForwardingRuleHttpRequest,ForwardingRule> getGlobalForwardingRuleSettings()
public UnaryCallSettings.Builder<InsertGlobalForwardingRuleHttpRequest,Operation> insertGlobalForwardingRuleSettings()
public PagedCallSettings.Builder<ListGlobalForwardingRulesHttpRequest,ForwardingRuleList,GlobalForwardingRuleClient.ListGlobalForwardingRulesPagedResponse> listGlobalForwardingRulesSettings()
public UnaryCallSettings.Builder<SetTargetGlobalForwardingRuleHttpRequest,Operation> setTargetGlobalForwardingRuleSettings()
public GlobalForwardingRuleSettings build() throws IOException
build
in class ClientSettings.Builder<GlobalForwardingRuleSettings,GlobalForwardingRuleSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.