public static class TargetInstanceSettings.Builder extends ClientSettings.Builder<TargetInstanceSettings,TargetInstanceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TargetInstanceSettings settings) |
protected |
Builder(TargetInstanceStubSettings.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(TargetInstanceSettings settings)
protected Builder(TargetInstanceStubSettings.Builder stubSettings)
public TargetInstanceStubSettings.Builder getStubSettingsBuilder()
public TargetInstanceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<AggregatedListTargetInstancesHttpRequest,TargetInstanceAggregatedList,TargetInstanceClient.AggregatedListTargetInstancesPagedResponse> aggregatedListTargetInstancesSettings()
public UnaryCallSettings.Builder<DeleteTargetInstanceHttpRequest,Operation> deleteTargetInstanceSettings()
public UnaryCallSettings.Builder<GetTargetInstanceHttpRequest,TargetInstance> getTargetInstanceSettings()
public UnaryCallSettings.Builder<InsertTargetInstanceHttpRequest,Operation> insertTargetInstanceSettings()
public PagedCallSettings.Builder<ListTargetInstancesHttpRequest,TargetInstanceList,TargetInstanceClient.ListTargetInstancesPagedResponse> listTargetInstancesSettings()
public TargetInstanceSettings build() throws IOException
build
in class ClientSettings.Builder<TargetInstanceSettings,TargetInstanceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.