public static class ZoneSettings.Builder extends ClientSettings.Builder<ZoneSettings,ZoneSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ZoneSettings settings) |
protected |
Builder(ZoneStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ZoneSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ZoneSettings |
build() |
ZoneStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<GetZoneHttpRequest,Zone> |
getZoneSettings()
Returns the builder for the settings used for calls to getZone.
|
PagedCallSettings.Builder<ListZonesHttpRequest,ZoneList,ZoneClient.ListZonesPagedResponse> |
listZonesSettings()
Returns the builder for the settings used for calls to listZones.
|
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(ZoneSettings settings)
protected Builder(ZoneStubSettings.Builder stubSettings)
public ZoneStubSettings.Builder getStubSettingsBuilder()
public ZoneSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<GetZoneHttpRequest,Zone> getZoneSettings()
public PagedCallSettings.Builder<ListZonesHttpRequest,ZoneList,ZoneClient.ListZonesPagedResponse> listZonesSettings()
public ZoneSettings build() throws IOException
build
in class ClientSettings.Builder<ZoneSettings,ZoneSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.