@Generated(value="by gapic-generator") @BetaApi public class ForwardingRuleStubSettings extends StubSettings<ForwardingRuleStubSettings>
ForwardingRuleStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of deleteForwardingRule to 30 seconds:
ForwardingRuleStubSettings.Builder forwardingRuleSettingsBuilder =
ForwardingRuleStubSettings.newBuilder();
forwardingRuleSettingsBuilder.deleteForwardingRuleSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
ForwardingRuleStubSettings forwardingRuleSettings = forwardingRuleSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
ForwardingRuleStubSettings.Builder
Builder for ForwardingRuleStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
ForwardingRuleStubSettings(ForwardingRuleStubSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
protected ForwardingRuleStubSettings(ForwardingRuleStubSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListForwardingRulesHttpRequest,ForwardingRuleAggregatedList,ForwardingRuleClient.AggregatedListForwardingRulesPagedResponse> aggregatedListForwardingRulesSettings()
public UnaryCallSettings<DeleteForwardingRuleHttpRequest,Operation> deleteForwardingRuleSettings()
public UnaryCallSettings<GetForwardingRuleHttpRequest,ForwardingRule> getForwardingRuleSettings()
public UnaryCallSettings<InsertForwardingRuleHttpRequest,Operation> insertForwardingRuleSettings()
public PagedCallSettings<ListForwardingRulesHttpRequest,ForwardingRuleList,ForwardingRuleClient.ListForwardingRulesPagedResponse> listForwardingRulesSettings()
public UnaryCallSettings<SetTargetForwardingRuleHttpRequest,Operation> setTargetForwardingRuleSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public ForwardingRuleStub createStub() throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static ForwardingRuleStubSettings.Builder newBuilder()
public static ForwardingRuleStubSettings.Builder newBuilder(ClientContext clientContext)
public ForwardingRuleStubSettings.Builder toBuilder()
toBuilder
in class StubSettings<ForwardingRuleStubSettings>
Copyright © 2019 Google LLC. All rights reserved.