public static class ExamplesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ExamplesSettings,ExamplesSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ExamplesSettings settings) |
protected |
Builder(ExamplesStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
ExamplesSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ExamplesSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExampleRequest,Example> |
createExampleSettings()
Returns the builder for the settings used for calls to createExample.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExampleRequest,com.google.protobuf.Empty> |
deleteExampleSettings()
Returns the builder for the settings used for calls to deleteExample.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExampleRequest,Example> |
getExampleSettings()
Returns the builder for the settings used for calls to getExample.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
ExamplesStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,ExamplesClient.ListExamplesPagedResponse> |
listExamplesSettings()
Returns the builder for the settings used for calls to listExamples.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ExamplesClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExampleRequest,Example> |
updateExampleSettings()
Returns the builder for the settings used for calls to updateExample.
|
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ExamplesSettings settings)
protected Builder(ExamplesStubSettings.Builder stubSettings)
public ExamplesStubSettings.Builder getStubSettingsBuilder()
public ExamplesSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExampleRequest,Example> createExampleSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExampleRequest,com.google.protobuf.Empty> deleteExampleSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,ExamplesClient.ListExamplesPagedResponse> listExamplesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExampleRequest,Example> getExampleSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExampleRequest,Example> updateExampleSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ExamplesClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public ExamplesSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<ExamplesSettings,ExamplesSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.