Class LoggingSettings.Builder (3.20.2)

public static class LoggingSettings.Builder extends ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>

Builder for LoggingSettings.

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LoggingSettings settings)

protected Builder(LoggingSettings settings)
Parameter
Name Description
settings LoggingSettings

Builder(LoggingServiceV2StubSettings.Builder stubSettings)

protected Builder(LoggingServiceV2StubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings LoggingServiceV2StubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
LoggingSettings.Builder

build()

public LoggingSettings build()
Returns
Type Description
LoggingSettings
Overrides
Exceptions
Type Description
IOException

deleteLogSettings()

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

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

Returns
Type Description
Builder<DeleteLogRequest,Empty>

getStubSettingsBuilder()

public LoggingServiceV2StubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
LoggingServiceV2StubSettings.Builder

listLogEntriesSettings()

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

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

Returns
Type Description
Builder<ListLogEntriesRequest,ListLogEntriesResponse,ListLogEntriesPagedResponse>

listLogsSettings()

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

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

Returns
Type Description
Builder<ListLogsRequest,ListLogsResponse,ListLogsPagedResponse>

listMonitoredResourceDescriptorsSettings()

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

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

Returns
Type Description
Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse,ListMonitoredResourceDescriptorsPagedResponse>

tailLogEntriesSettings()

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

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

Returns
Type Description
Builder<TailLogEntriesRequest,TailLogEntriesResponse>

writeLogEntriesSettings()

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

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

Returns
Type Description
Builder<WriteLogEntriesRequest,WriteLogEntriesResponse>