@Generated(value="by gapic-generator") @BetaApi public class AddressSettings extends ClientSettings<AddressSettings>
AddressClient
.
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 deleteAddress to 30 seconds:
AddressSettings.Builder addressSettingsBuilder =
AddressSettings.newBuilder();
addressSettingsBuilder.deleteAddressSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
AddressSettings addressSettings = addressSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
AddressSettings.Builder
Builder for AddressSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
AddressSettings(AddressSettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected AddressSettings(AddressSettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListAddressesHttpRequest,AddressAggregatedList,AddressClient.AggregatedListAddressesPagedResponse> aggregatedListAddressesSettings()
public UnaryCallSettings<DeleteAddressHttpRequest,Operation> deleteAddressSettings()
public UnaryCallSettings<GetAddressHttpRequest,Address> getAddressSettings()
public UnaryCallSettings<InsertAddressHttpRequest,Operation> insertAddressSettings()
public PagedCallSettings<ListAddressesHttpRequest,AddressList,AddressClient.ListAddressesPagedResponse> listAddressesSettings()
public static final AddressSettings create(AddressStubSettings stub) 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 AddressSettings.Builder newBuilder()
public static AddressSettings.Builder newBuilder(ClientContext clientContext)
public AddressSettings.Builder toBuilder()
toBuilder
in class ClientSettings<AddressSettings>
Copyright © 2019 Google LLC. All rights reserved.