Class LoggingSettings.Builder (3.13.6)

See more code actions.
public static class LoggingSettings.Builder extends ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>

Builder for LoggingSettings.

java.lang.Object > ClientSettings.Builder > LoggingSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(LoggingSettings settings)

protected Builder(LoggingSettings settings)
Parameter
NameDescription
settingsLoggingSettings

Builder(LoggingServiceV2StubSettings.Builder stubSettings)

protected Builder(LoggingServiceV2StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsLoggingServiceV2StubSettings.Builder

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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns

build()

public LoggingSettings build()
Returns
TypeDescription
LoggingSettings
Overrides Exceptions
TypeDescription
IOException

deleteLogSettings()

public UnaryCallSettings.Builder<DeleteLogRequest,Empty> deleteLogSettings()

Returns the builder for the settings used for calls to deleteLog.

Returns

getStubSettingsBuilder()

public LoggingServiceV2StubSettings.Builder getStubSettingsBuilder()
Returns

listLogEntriesSettings()

public PagedCallSettings.Builder<ListLogEntriesRequest,ListLogEntriesResponse,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesSettings()

Returns the builder for the settings used for calls to listLogEntries.

Returns

listLogsSettings()

public PagedCallSettings.Builder<ListLogsRequest,ListLogsResponse,LoggingClient.ListLogsPagedResponse> listLogsSettings()

Returns the builder for the settings used for calls to listLogs.

Returns

listMonitoredResourceDescriptorsSettings()

public PagedCallSettings.Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings()

Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.

Returns

tailLogEntriesSettings()

public StreamingCallSettings.Builder<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesSettings()

Returns the builder for the settings used for calls to tailLogEntries.

Returns

writeLogEntriesSettings()

public BatchingCallSettings.Builder<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesSettings()

Returns the builder for the settings used for calls to writeLogEntries.

Returns