public static class ContextsSettings.Builder extends ClientSettings.Builder<ContextsSettings,ContextsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ContextsSettings settings) |
protected |
Builder(ContextsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ContextsSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ContextsSettings |
build() |
UnaryCallSettings.Builder<CreateContextRequest,Context> |
createContextSettings()
Returns the builder for the settings used for calls to createContext.
|
UnaryCallSettings.Builder<DeleteAllContextsRequest,Empty> |
deleteAllContextsSettings()
Returns the builder for the settings used for calls to deleteAllContexts.
|
UnaryCallSettings.Builder<DeleteContextRequest,Empty> |
deleteContextSettings()
Returns the builder for the settings used for calls to deleteContext.
|
UnaryCallSettings.Builder<GetContextRequest,Context> |
getContextSettings()
Returns the builder for the settings used for calls to getContext.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
ContextsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListContextsRequest,ListContextsResponse,ContextsClient.ListContextsPagedResponse> |
listContextsSettings()
Returns the builder for the settings used for calls to listContexts.
|
PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ContextsClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
UnaryCallSettings.Builder<UpdateContextRequest,Context> |
updateContextSettings()
Returns the builder for the settings used for calls to updateContext.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ContextsSettings settings)
protected Builder(ContextsStubSettings.Builder stubSettings)
public ContextsStubSettings.Builder getStubSettingsBuilder()
public ContextsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public PagedCallSettings.Builder<ListContextsRequest,ListContextsResponse,ContextsClient.ListContextsPagedResponse> listContextsSettings()
public UnaryCallSettings.Builder<GetContextRequest,Context> getContextSettings()
public UnaryCallSettings.Builder<CreateContextRequest,Context> createContextSettings()
public UnaryCallSettings.Builder<UpdateContextRequest,Context> updateContextSettings()
public UnaryCallSettings.Builder<DeleteContextRequest,Empty> deleteContextSettings()
public UnaryCallSettings.Builder<DeleteAllContextsRequest,Empty> deleteAllContextsSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ContextsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public ContextsSettings build() throws IOException
build
in class ClientSettings.Builder<ContextsSettings,ContextsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.