public static class FirewallStubSettings.Builder extends StubSettings.Builder<FirewallStubSettings,FirewallStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(FirewallStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
FirewallStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
FirewallStubSettings |
build() |
UnaryCallSettings.Builder<DeleteFirewallHttpRequest,Operation> |
deleteFirewallSettings()
Returns the builder for the settings used for calls to deleteFirewall.
|
UnaryCallSettings.Builder<GetFirewallHttpRequest,Firewall> |
getFirewallSettings()
Returns the builder for the settings used for calls to getFirewall.
|
UnaryCallSettings.Builder<InsertFirewallHttpRequest,Operation> |
insertFirewallSettings()
Returns the builder for the settings used for calls to insertFirewall.
|
PagedCallSettings.Builder<ListFirewallsHttpRequest,FirewallList,FirewallClient.ListFirewallsPagedResponse> |
listFirewallsSettings()
Returns the builder for the settings used for calls to listFirewalls.
|
UnaryCallSettings.Builder<PatchFirewallHttpRequest,Operation> |
patchFirewallSettings()
Returns the builder for the settings used for calls to patchFirewall.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateFirewallHttpRequest,Operation> |
updateFirewallSettings()
Returns the builder for the settings used for calls to updateFirewall.
|
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(FirewallStubSettings settings)
public FirewallStubSettings.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 UnaryCallSettings.Builder<DeleteFirewallHttpRequest,Operation> deleteFirewallSettings()
public UnaryCallSettings.Builder<GetFirewallHttpRequest,Firewall> getFirewallSettings()
public UnaryCallSettings.Builder<InsertFirewallHttpRequest,Operation> insertFirewallSettings()
public PagedCallSettings.Builder<ListFirewallsHttpRequest,FirewallList,FirewallClient.ListFirewallsPagedResponse> listFirewallsSettings()
public UnaryCallSettings.Builder<PatchFirewallHttpRequest,Operation> patchFirewallSettings()
public UnaryCallSettings.Builder<UpdateFirewallHttpRequest,Operation> updateFirewallSettings()
public FirewallStubSettings build() throws IOException
build
in class StubSettings.Builder<FirewallStubSettings,FirewallStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.