Class CompanyServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<CompanyServiceStubSettings,CompanyServiceStubSettings.Builder>
com.google.cloud.talent.v4beta1.stub.CompanyServiceStubSettings.Builder
- Enclosing class:
- CompanyServiceStubSettings
public static class CompanyServiceStubSettings.Builder
extends StubSettings.Builder<CompanyServiceStubSettings,CompanyServiceStubSettings.Builder>
Builder for CompanyServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CompanyServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateCompany.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public CompanyServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<CompanyServiceStubSettings,CompanyServiceStubSettings.Builder> - Throws:
IOException
-