public static class LoggingServiceV2StubSettings.Builder extends StubSettings.Builder<LoggingServiceV2StubSettings,LoggingServiceV2StubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(LoggingServiceV2StubSettings settings) |
Modifier and Type | Method and Description |
---|---|
LoggingServiceV2StubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
LoggingServiceV2StubSettings |
build() |
UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,Empty> |
deleteLogSettings()
Returns the builder for the settings used for calls to deleteLog.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(LoggingServiceV2StubSettings settings)
public LoggingServiceV2StubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 LoggingServiceV2StubSettings build() throws IOException
build
in class StubSettings.Builder<LoggingServiceV2StubSettings,LoggingServiceV2StubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.