public static class ConfigSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ConfigServiceV2StubSettings.Builder stubSettings) |
protected |
Builder(ConfigSettings settings) |
Modifier and Type | Method and Description |
---|---|
ConfigSettings.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.
|
ConfigSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExclusionRequest,LogExclusion> |
createExclusionSettings()
Returns the builder for the settings used for calls to createExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSinkRequest,LogSink> |
createSinkSettings()
Returns the builder for the settings used for calls to createSink.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExclusionRequest,Empty> |
deleteExclusionSettings()
Returns the builder for the settings used for calls to deleteExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSinkRequest,Empty> |
deleteSinkSettings()
Returns the builder for the settings used for calls to deleteSink.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExclusionRequest,LogExclusion> |
getExclusionSettings()
Returns the builder for the settings used for calls to getExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSinkRequest,LogSink> |
getSinkSettings()
Returns the builder for the settings used for calls to getSink.
|
ConfigServiceV2StubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> |
listExclusionsSettings()
Returns the builder for the settings used for calls to listExclusions.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse> |
listSinksSettings()
Returns the builder for the settings used for calls to listSinks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExclusionRequest,LogExclusion> |
updateExclusionSettings()
Returns the builder for the settings used for calls to updateExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSinkRequest,LogSink> |
updateSinkSettings()
Returns the builder for the settings used for calls to updateSink.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ConfigSettings settings)
protected Builder(ConfigServiceV2StubSettings.Builder stubSettings)
public ConfigServiceV2StubSettings.Builder getStubSettingsBuilder()
public ConfigSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse> listSinksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSinkRequest,LogSink> getSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSinkRequest,LogSink> createSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSinkRequest,LogSink> updateSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSinkRequest,Empty> deleteSinkSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> listExclusionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExclusionRequest,LogExclusion> getExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateExclusionRequest,LogExclusion> createExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateExclusionRequest,LogExclusion> updateExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteExclusionRequest,Empty> deleteExclusionSettings()
public ConfigSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.