public static class ContextsStubSettings.Builder extends StubSettings.Builder<ContextsStubSettings,ContextsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ContextsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ContextsStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ContextsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateContextRequest,Context> |
updateContextSettings()
Returns the builder for the settings used for calls to updateContext.
|
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(ContextsStubSettings settings)
public ContextsStubSettings.Builder applyToAllUnaryMethods(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 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 ContextsStubSettings build() throws IOException
build
in class StubSettings.Builder<ContextsStubSettings,ContextsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.