public static class SecurityPolicyStubSettings.Builder extends StubSettings.Builder<SecurityPolicyStubSettings,SecurityPolicyStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SecurityPolicyStubSettings 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(SecurityPolicyStubSettings settings)
public SecurityPolicyStubSettings.Builder applyToAllUnaryMethods(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<AddRuleSecurityPolicyHttpRequest,Operation> addRuleSecurityPolicySettings()
public UnaryCallSettings.Builder<DeleteSecurityPolicyHttpRequest,Operation> deleteSecurityPolicySettings()
public UnaryCallSettings.Builder<GetSecurityPolicyHttpRequest,SecurityPolicy> getSecurityPolicySettings()
public UnaryCallSettings.Builder<GetRuleSecurityPolicyHttpRequest,SecurityPolicyRule> getRuleSecurityPolicySettings()
public UnaryCallSettings.Builder<InsertSecurityPolicyHttpRequest,Operation> insertSecurityPolicySettings()
public PagedCallSettings.Builder<ListSecurityPoliciesHttpRequest,SecurityPolicyList,SecurityPolicyClient.ListSecurityPoliciesPagedResponse> listSecurityPoliciesSettings()
public UnaryCallSettings.Builder<PatchSecurityPolicyHttpRequest,Operation> patchSecurityPolicySettings()
public UnaryCallSettings.Builder<PatchRuleSecurityPolicyHttpRequest,Operation> patchRuleSecurityPolicySettings()
public UnaryCallSettings.Builder<RemoveRuleSecurityPolicyHttpRequest,Operation> removeRuleSecurityPolicySettings()
public SecurityPolicyStubSettings build() throws IOException
build
in class StubSettings.Builder<SecurityPolicyStubSettings,SecurityPolicyStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.