public static class TenantServiceStubSettings.Builder extends StubSettings.Builder<TenantServiceStubSettings,TenantServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TenantServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
TenantServiceStubSettings.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.
|
TenantServiceStubSettings |
build() |
UnaryCallSettings.Builder<CreateTenantRequest,Tenant> |
createTenantSettings()
Returns the builder for the settings used for calls to createTenant.
|
UnaryCallSettings.Builder<DeleteTenantRequest,Empty> |
deleteTenantSettings()
Returns the builder for the settings used for calls to deleteTenant.
|
UnaryCallSettings.Builder<GetTenantRequest,Tenant> |
getTenantSettings()
Returns the builder for the settings used for calls to getTenant.
|
PagedCallSettings.Builder<ListTenantsRequest,ListTenantsResponse,TenantServiceClient.ListTenantsPagedResponse> |
listTenantsSettings()
Returns the builder for the settings used for calls to listTenants.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateTenantRequest,Tenant> |
updateTenantSettings()
Returns the builder for the settings used for calls to updateTenant.
|
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(TenantServiceStubSettings settings)
public TenantServiceStubSettings.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<CreateTenantRequest,Tenant> createTenantSettings()
public UnaryCallSettings.Builder<GetTenantRequest,Tenant> getTenantSettings()
public UnaryCallSettings.Builder<UpdateTenantRequest,Tenant> updateTenantSettings()
public UnaryCallSettings.Builder<DeleteTenantRequest,Empty> deleteTenantSettings()
public PagedCallSettings.Builder<ListTenantsRequest,ListTenantsResponse,TenantServiceClient.ListTenantsPagedResponse> listTenantsSettings()
public TenantServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<TenantServiceStubSettings,TenantServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.