public static class OrgPolicyStubSettings.Builder extends StubSettings.Builder<OrgPolicyStubSettings,OrgPolicyStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(OrgPolicyStubSettings settings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(OrgPolicyStubSettings settings)
public OrgPolicyStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListConstraintsRequest,ListConstraintsResponse,OrgPolicyClient.ListConstraintsPagedResponse> listConstraintsSettings()
public PagedCallSettings.Builder<ListPoliciesRequest,ListPoliciesResponse,OrgPolicyClient.ListPoliciesPagedResponse> listPoliciesSettings()
public UnaryCallSettings.Builder<GetPolicyRequest,Policy> getPolicySettings()
public UnaryCallSettings.Builder<GetEffectivePolicyRequest,Policy> getEffectivePolicySettings()
public UnaryCallSettings.Builder<CreatePolicyRequest,Policy> createPolicySettings()
public UnaryCallSettings.Builder<UpdatePolicyRequest,Policy> updatePolicySettings()
public UnaryCallSettings.Builder<DeletePolicyRequest,Empty> deletePolicySettings()
public OrgPolicyStubSettings build() throws IOException
build
in class StubSettings.Builder<OrgPolicyStubSettings,OrgPolicyStubSettings.Builder>
IOException
Copyright © 2021 Google LLC. All rights reserved.