Package com.google.cloud.talent.v4
Class CompanyServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<CompanyServiceSettings,CompanyServiceSettings.Builder>
com.google.cloud.talent.v4.CompanyServiceSettings.Builder
- Enclosing class:
- CompanyServiceSettings
public static class CompanyServiceSettings.Builder
extends ClientSettings.Builder<CompanyServiceSettings,CompanyServiceSettings.Builder>
Builder for CompanyServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CompanyServiceSettings settings) protectedBuilder(CompanyServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createCompany.UnaryCallSettings.Builder<DeleteCompanyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteCompany.Returns the builder for the settings used for calls to getCompany.PagedCallSettings.Builder<ListCompaniesRequest,ListCompaniesResponse, CompanyServiceClient.ListCompaniesPagedResponse> Returns the builder for the settings used for calls to listCompanies.Returns the builder for the settings used for calls to updateCompany.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public CompanyServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createCompanySettings
Returns the builder for the settings used for calls to createCompany. -
getCompanySettings
Returns the builder for the settings used for calls to getCompany. -
updateCompanySettings
Returns the builder for the settings used for calls to updateCompany. -
deleteCompanySettings
public UnaryCallSettings.Builder<DeleteCompanyRequest,com.google.protobuf.Empty> deleteCompanySettings()Returns the builder for the settings used for calls to deleteCompany. -
listCompaniesSettings
public PagedCallSettings.Builder<ListCompaniesRequest,ListCompaniesResponse, listCompaniesSettings()CompanyServiceClient.ListCompaniesPagedResponse> Returns the builder for the settings used for calls to listCompanies. -
build
- Specified by:
buildin classClientSettings.Builder<CompanyServiceSettings,CompanyServiceSettings.Builder> - Throws:
IOException
-