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<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> |
createExclusionSettings()
Returns the builder for the settings used for calls to createExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkSettings()
Returns the builder for the settings used for calls to createSink.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteExclusionRequest,com.google.protobuf.Empty> |
deleteExclusionSettings()
Returns the builder for the settings used for calls to deleteExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> |
deleteSinkSettings()
Returns the builder for the settings used for calls to deleteSink.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> |
getExclusionSettings()
Returns the builder for the settings used for calls to getExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> |
getSinkSettings()
Returns the builder for the settings used for calls to getSink.
|
ConfigServiceV2StubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListExclusionsRequest,com.google.logging.v2.ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> |
listExclusionsSettings()
Returns the builder for the settings used for calls to listExclusions.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,ConfigClient.ListSinksPagedResponse> |
listSinksSettings()
Returns the builder for the settings used for calls to listSinks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> |
updateExclusionSettings()
Returns the builder for the settings used for calls to updateExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.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, toStringprotected Builder()
throws IOException
IOExceptionprotected 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.
Exceptionpublic com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,ConfigClient.ListSinksPagedResponse> listSinksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListExclusionsRequest,com.google.logging.v2.ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> listExclusionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> getExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> createExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> updateExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteExclusionRequest,com.google.protobuf.Empty> deleteExclusionSettings()
public ConfigSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>IOExceptionCopyright © 2018 Google LLC. All rights reserved.