Class LoggingServiceV2StubSettings.Builder (3.8.0)

public static class LoggingServiceV2StubSettings.Builder extends StubSettings.Builder<LoggingServiceV2StubSettings,LoggingServiceV2StubSettings.Builder>

Builder for LoggingServiceV2StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LoggingServiceV2StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(LoggingServiceV2StubSettings settings)

protected Builder(LoggingServiceV2StubSettings settings)
Parameter
NameDescription
settingsLoggingServiceV2StubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public LoggingServiceV2StubSettings.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
TypeDescription
LoggingServiceV2StubSettings.Builder

build()

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

deleteLogSettings()

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

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

Returns
TypeDescription
Builder<DeleteLogRequest,Empty>

listLogEntriesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse,ListMonitoredResourceDescriptorsPagedResponse>

tailLogEntriesSettings()

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

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

Returns
TypeDescription
Builder<TailLogEntriesRequest,TailLogEntriesResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

writeLogEntriesSettings()

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

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

Returns
TypeDescription
Builder<WriteLogEntriesRequest,WriteLogEntriesResponse>