Package com.google.cloud.logging.v2
Class LoggingSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>
com.google.cloud.logging.v2.LoggingSettings.Builder
- Enclosing class:
- LoggingSettings
public static class LoggingSettings.Builder
extends ClientSettings.Builder<LoggingSettings,LoggingSettings.Builder>
Builder for LoggingSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(LoggingSettings settings) protectedBuilder(LoggingServiceV2StubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()UnaryCallSettings.Builder<DeleteLogRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteLog.PagedCallSettings.Builder<ListLogEntriesRequest,ListLogEntriesResponse, LoggingClient.ListLogEntriesPagedResponse> Returns the builder for the settings used for calls to listLogEntries.Returns the builder for the settings used for calls to listLogs.PagedCallSettings.Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse, LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.Returns the builder for the settings used for calls to tailLogEntries.Returns the builder for the settings used for calls to writeLogEntries.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public LoggingSettings.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.
-
deleteLogSettings
Returns the builder for the settings used for calls to deleteLog. -
writeLogEntriesSettings
public BatchingCallSettings.Builder<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesSettings()Returns the builder for the settings used for calls to writeLogEntries. -
listLogEntriesSettings
public PagedCallSettings.Builder<ListLogEntriesRequest,ListLogEntriesResponse, listLogEntriesSettings()LoggingClient.ListLogEntriesPagedResponse> Returns the builder for the settings used for calls to listLogEntries. -
listMonitoredResourceDescriptorsSettings
public PagedCallSettings.Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse, listMonitoredResourceDescriptorsSettings()LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> Returns the builder for the settings used for calls to listMonitoredResourceDescriptors. -
listLogsSettings
public PagedCallSettings.Builder<ListLogsRequest,ListLogsResponse, listLogsSettings()LoggingClient.ListLogsPagedResponse> Returns the builder for the settings used for calls to listLogs. -
tailLogEntriesSettings
public StreamingCallSettings.Builder<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesSettings()Returns the builder for the settings used for calls to tailLogEntries. -
build
- Specified by:
buildin classClientSettings.Builder<LoggingSettings,LoggingSettings.Builder> - Throws:
IOException
-