Send feedback
Class LoggingSettings.Builder (3.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
3.44.0 (latest)
3.40.0
3.36.0
3.35.0
3.34.0
3.32.0
3.29.0
3.28.0
3.26.0
3.24.0
3.23.10
3.22.6
3.21.4
3.20.7
3.19.0
3.18.0
3.17.2
3.16.2
3.15.17
3.14.9
3.13.7
3.12.1
3.11.10
3.10.7
3.9.0
3.8.0
3.7.6
3.6.4
3.5.3
public static class LoggingSettings . Builder extends ClientSettings . Builder<LoggingSettings , LoggingSettings . Builder >
Builder for LoggingSettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder ( @Nullable ClientContext clientContext )
Parameter
Name
Description
clientContext
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
Builder(LoggingSettings settings)
protected Builder ( LoggingSettings settings )
Builder(LoggingServiceV2StubSettings.Builder stubSettings)
protected Builder ( LoggingServiceV2StubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public LoggingSettings . Builder applyToAllUnaryMethods ( ApiFunction<UnaryCallSettings . Builder <? , ? >, Void > settingsUpdater )
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public LoggingSettings build ()
Overrides
deleteLogSettings()
public UnaryCallSettings . Builder<DeleteLogRequest , Empty > deleteLogSettings ()
Returns the builder for the settings used for calls to deleteLog.
getStubSettingsBuilder()
public LoggingServiceV2StubSettings . Builder getStubSettingsBuilder ()
listLogEntriesSettings()
public PagedCallSettings . Builder<ListLogEntriesRequest , ListLogEntriesResponse , LoggingClient . ListLogEntriesPagedResponse > listLogEntriesSettings ()
Returns the builder for the settings used for calls to listLogEntries.
listLogsSettings()
public PagedCallSettings . Builder<ListLogsRequest , ListLogsResponse , LoggingClient . ListLogsPagedResponse > listLogsSettings ()
Returns the builder for the settings used for calls to listLogs.
public PagedCallSettings . Builder<ListMonitoredResourceDescriptorsRequest , ListMonitoredResourceDescriptorsResponse , LoggingClient . ListMonitoredResourceDescriptorsPagedResponse > listMonitoredResourceDescriptorsSettings ()
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
tailLogEntriesSettings()
public StreamingCallSettings . Builder<TailLogEntriesRequest , TailLogEntriesResponse > tailLogEntriesSettings ()
Returns the builder for the settings used for calls to tailLogEntries.
writeLogEntriesSettings()
public BatchingCallSettings . Builder<WriteLogEntriesRequest , WriteLogEntriesResponse > writeLogEntriesSettings ()
Returns the builder for the settings used for calls to writeLogEntries.
Send feedback
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-19 UTC."],[],[]]