public static class ConfigServiceV2StubSettings.Builder extends StubSettings.Builder<ConfigServiceV2StubSettings,ConfigServiceV2StubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ConfigServiceV2StubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ConfigServiceV2StubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ConfigServiceV2StubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ConfigServiceV2StubSettings settings)
public ConfigServiceV2StubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 ConfigServiceV2StubSettings build() throws IOException
build
in class StubSettings.Builder<ConfigServiceV2StubSettings,ConfigServiceV2StubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.