Package com.google.cloud.talent.v4.stub
Class TenantServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<TenantServiceStubSettings,TenantServiceStubSettings.Builder>
com.google.cloud.talent.v4.stub.TenantServiceStubSettings.Builder
- Enclosing class:
- TenantServiceStubSettings
public static class TenantServiceStubSettings.Builder
extends StubSettings.Builder<TenantServiceStubSettings,TenantServiceStubSettings.Builder>
Builder for TenantServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(TenantServiceStubSettings 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 createTenant.UnaryCallSettings.Builder<DeleteTenantRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteTenant.Returns the builder for the settings used for calls to getTenant.PagedCallSettings.Builder<ListTenantsRequest,ListTenantsResponse, TenantServiceClient.ListTenantsPagedResponse> Returns the builder for the settings used for calls to listTenants.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateTenant.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 TenantServiceStubSettings.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() -
createTenantSettings
Returns the builder for the settings used for calls to createTenant. -
getTenantSettings
Returns the builder for the settings used for calls to getTenant. -
updateTenantSettings
Returns the builder for the settings used for calls to updateTenant. -
deleteTenantSettings
public UnaryCallSettings.Builder<DeleteTenantRequest,com.google.protobuf.Empty> deleteTenantSettings()Returns the builder for the settings used for calls to deleteTenant. -
listTenantsSettings
public PagedCallSettings.Builder<ListTenantsRequest,ListTenantsResponse, listTenantsSettings()TenantServiceClient.ListTenantsPagedResponse> Returns the builder for the settings used for calls to listTenants. -
build
- Specified by:
buildin classStubSettings.Builder<TenantServiceStubSettings,TenantServiceStubSettings.Builder> - Throws:
IOException
-