public static class LoggingSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>
| Modifier and Type | Method and Description |
|---|---|
LoggingSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
LoggingSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,com.google.protobuf.Empty> |
deleteLogSettings()
Returns the builder for the settings used for calls to deleteLog.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,PagedResponseWrappers.ListLogEntriesPagedResponse> |
listLogEntriesSettings()
Returns the builder for the settings used for calls to listLogEntries.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListLogsRequest,com.google.logging.v2.ListLogsResponse,PagedResponseWrappers.ListLogsPagedResponse> |
listLogsSettings()
Returns the builder for the settings used for calls to listLogs.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,PagedResponseWrappers.ListMonitoredResourceDescriptorsPagedResponse> |
listMonitoredResourceDescriptorsSettings()
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
|
com.google.api.gax.rpc.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, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setTransportChannelProvider, toStringpublic LoggingSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exceptionpublic com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,com.google.protobuf.Empty> deleteLogSettings()
public com.google.api.gax.rpc.BatchingCallSettings.Builder<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> writeLogEntriesSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,PagedResponseWrappers.ListLogEntriesPagedResponse> listLogEntriesSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,PagedResponseWrappers.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListLogsRequest,com.google.logging.v2.ListLogsResponse,PagedResponseWrappers.ListLogsPagedResponse> listLogsSettings()
public LoggingSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>IOExceptionCopyright © 2017 Google. All rights reserved.