public static class CompanyServiceStubSettings.Builder extends StubSettings.Builder<CompanyServiceStubSettings,CompanyServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CompanyServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
CompanyServiceStubSettings.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.
|
CompanyServiceStubSettings |
build() |
UnaryCallSettings.Builder<CreateCompanyRequest,Company> |
createCompanySettings()
Returns the builder for the settings used for calls to createCompany.
|
UnaryCallSettings.Builder<DeleteCompanyRequest,Empty> |
deleteCompanySettings()
Returns the builder for the settings used for calls to deleteCompany.
|
UnaryCallSettings.Builder<GetCompanyRequest,Company> |
getCompanySettings()
Returns the builder for the settings used for calls to getCompany.
|
PagedCallSettings.Builder<ListCompaniesRequest,ListCompaniesResponse,CompanyServiceClient.ListCompaniesPagedResponse> |
listCompaniesSettings()
Returns the builder for the settings used for calls to listCompanies.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateCompanyRequest,Company> |
updateCompanySettings()
Returns the builder for the settings used for calls to updateCompany.
|
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(CompanyServiceStubSettings settings)
public CompanyServiceStubSettings.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 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 CompanyServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<CompanyServiceStubSettings,CompanyServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.