public static class AddressStubSettings.Builder extends StubSettings.Builder<AddressStubSettings,AddressStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AddressStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
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(AddressStubSettings settings)
public AddressStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<AggregatedListAddressesHttpRequest,AddressAggregatedList,AddressClient.AggregatedListAddressesPagedResponse> aggregatedListAddressesSettings()
public UnaryCallSettings.Builder<DeleteAddressHttpRequest,Operation> deleteAddressSettings()
public UnaryCallSettings.Builder<GetAddressHttpRequest,Address> getAddressSettings()
public UnaryCallSettings.Builder<InsertAddressHttpRequest,Operation> insertAddressSettings()
public PagedCallSettings.Builder<ListAddressesHttpRequest,AddressList,AddressClient.ListAddressesPagedResponse> listAddressesSettings()
public AddressStubSettings build() throws IOException
build
in class StubSettings.Builder<AddressStubSettings,AddressStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.