public static class ConfigSettings.Builder extends ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ConfigServiceV2StubSettings.Builder stubSettings) |
protected |
Builder(ConfigSettings settings) |
Modifier and Type | Method and Description |
---|---|
ConfigSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ConfigSettings |
build() |
UnaryCallSettings.Builder<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> |
createExclusionSettings()
Returns the builder for the settings used for calls to createExclusion.
|
UnaryCallSettings.Builder<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkSettings()
Returns the builder for the settings used for calls to createSink.
|
UnaryCallSettings.Builder<com.google.logging.v2.DeleteExclusionRequest,Empty> |
deleteExclusionSettings()
Returns the builder for the settings used for calls to deleteExclusion.
|
UnaryCallSettings.Builder<com.google.logging.v2.DeleteSinkRequest,Empty> |
deleteSinkSettings()
Returns the builder for the settings used for calls to deleteSink.
|
UnaryCallSettings.Builder<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> |
getExclusionSettings()
Returns the builder for the settings used for calls to getExclusion.
|
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() |
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.
|
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.
|
UnaryCallSettings.Builder<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> |
updateExclusionSettings()
Returns the builder for the settings used for calls to updateExclusion.
|
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, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ConfigSettings settings)
protected Builder(ConfigServiceV2StubSettings.Builder stubSettings)
public ConfigServiceV2StubSettings.Builder getStubSettingsBuilder()
public ConfigSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,ConfigClient.ListSinksPagedResponse> listSinksSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.DeleteSinkRequest,Empty> deleteSinkSettings()
public PagedCallSettings.Builder<com.google.logging.v2.ListExclusionsRequest,com.google.logging.v2.ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> listExclusionsSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> getExclusionSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> createExclusionSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> updateExclusionSettings()
public UnaryCallSettings.Builder<com.google.logging.v2.DeleteExclusionRequest,Empty> deleteExclusionSettings()
public ConfigSettings build() throws IOException
build
in class ClientSettings.Builder<ConfigSettings,ConfigSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.