public static class CompanyServiceSettings.Builder extends ClientSettings.Builder<CompanyServiceSettings,CompanyServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CompanyServiceSettings settings) |
protected |
Builder(CompanyServiceStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(CompanyServiceSettings settings)
protected Builder(CompanyServiceStubSettings.Builder stubSettings)
public CompanyServiceStubSettings.Builder getStubSettingsBuilder()
public CompanyServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<CreateCompanyRequest,Company> createCompanySettings()
public UnaryCallSettings.Builder<GetCompanyRequest,Company> getCompanySettings()
public UnaryCallSettings.Builder<UpdateCompanyRequest,Company> updateCompanySettings()
public UnaryCallSettings.Builder<DeleteCompanyRequest,Empty> deleteCompanySettings()
public PagedCallSettings.Builder<ListCompaniesRequest,ListCompaniesResponse,CompanyServiceClient.ListCompaniesPagedResponse> listCompaniesSettings()
public CompanyServiceSettings build() throws IOException
build
in class ClientSettings.Builder<CompanyServiceSettings,CompanyServiceSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.