public static class LicenseStubSettings.Builder extends StubSettings.Builder<LicenseStubSettings,LicenseStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(LicenseStubSettings 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(LicenseStubSettings settings)
public LicenseStubSettings.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<DeleteLicenseHttpRequest,Operation> deleteLicenseSettings()
public UnaryCallSettings.Builder<GetLicenseHttpRequest,License> getLicenseSettings()
public UnaryCallSettings.Builder<GetIamPolicyLicenseHttpRequest,Policy> getIamPolicyLicenseSettings()
public UnaryCallSettings.Builder<InsertLicenseHttpRequest,Operation> insertLicenseSettings()
public PagedCallSettings.Builder<ListLicensesHttpRequest,LicensesListResponse,LicenseClient.ListLicensesPagedResponse> listLicensesSettings()
public UnaryCallSettings.Builder<SetIamPolicyLicenseHttpRequest,Policy> setIamPolicyLicenseSettings()
public UnaryCallSettings.Builder<TestIamPermissionsLicenseHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseSettings()
public LicenseStubSettings build() throws IOException
build
in class StubSettings.Builder<LicenseStubSettings,LicenseStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.