Class LoggingSettings.Builder (3.36.0)
3.36.0 (latest)
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-05 UTC."],[],[]]