public static class LoggingSettings.Builder extends ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(LoggingServiceV2StubSettings.Builder stubSettings) |
protected |
Builder(LoggingSettings settings) |
Modifier and Type | Method and Description |
---|---|
LoggingSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
LoggingSettings |
build() |
UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,Empty> |
deleteLogSettings()
Returns the builder for the settings used for calls to deleteLog.
|
LoggingServiceV2StubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,LoggingClient.ListLogEntriesPagedResponse> |
listLogEntriesSettings()
Returns the builder for the settings used for calls to listLogEntries.
|
PagedCallSettings.Builder<com.google.logging.v2.ListLogsRequest,com.google.logging.v2.ListLogsResponse,LoggingClient.ListLogsPagedResponse> |
listLogsSettings()
Returns the builder for the settings used for calls to listLogs.
|
PagedCallSettings.Builder<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> |
listMonitoredResourceDescriptorsSettings()
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
|
BatchingCallSettings.Builder<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> |
writeLogEntriesSettings()
Returns the builder for the settings used for calls to writeLogEntries.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(LoggingSettings settings)
protected Builder(LoggingServiceV2StubSettings.Builder stubSettings)
public LoggingServiceV2StubSettings.Builder getStubSettingsBuilder()
public LoggingSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,Empty> deleteLogSettings()
public BatchingCallSettings.Builder<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> writeLogEntriesSettings()
public PagedCallSettings.Builder<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesSettings()
public PagedCallSettings.Builder<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings()
public PagedCallSettings.Builder<com.google.logging.v2.ListLogsRequest,com.google.logging.v2.ListLogsResponse,LoggingClient.ListLogsPagedResponse> listLogsSettings()
public LoggingSettings build() throws IOException
build
in class ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.