public static class TargetInstanceStubSettings.Builder extends StubSettings.Builder<TargetInstanceStubSettings,TargetInstanceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TargetInstanceStubSettings settings) |
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(TargetInstanceStubSettings settings)
public TargetInstanceStubSettings.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<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 TargetInstanceStubSettings build() throws IOException
build
in class StubSettings.Builder<TargetInstanceStubSettings,TargetInstanceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.