Class LoggingServiceV2StubSettings.Builder (3.6.4)

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

Builder for LoggingServiceV2StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LoggingServiceV2StubSettings.Builder
com.google.api.gax.rpc.StubSettings.Builder.getApiKey()
com.google.api.gax.rpc.StubSettings.Builder.setApiKey(java.lang.String)

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

build()

public LoggingServiceV2StubSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

deleteLogSettings()

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

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

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

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