public static class LoggingServiceV2Settings.Builder
extends com.google.api.gax.grpc.ServiceApiSettings.Builder
| Modifier and Type | Method and Description |
|---|---|
LoggingServiceV2Settings.Builder |
applyToAllApiMethods(com.google.api.gax.grpc.ApiCallSettings.Builder apiCallSettings)
Applies the given settings to all of the API methods in this service.
|
LoggingServiceV2Settings |
build() |
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,com.google.protobuf.Empty> |
deleteLogSettings()
Returns the builder for the settings used for calls to deleteLog.
|
protected com.google.api.gax.core.ConnectionSettings |
getDefaultConnectionSettings() |
com.google.api.gax.grpc.PageStreamingCallSettings.Builder<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,com.google.logging.v2.LogEntry> |
listLogEntriesSettings()
Returns the builder for the settings used for calls to listLogEntries.
|
com.google.api.gax.grpc.PageStreamingCallSettings.Builder<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,com.google.api.MonitoredResourceDescriptor> |
listMonitoredResourceDescriptorsSettings()
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
|
LoggingServiceV2Settings.Builder |
provideChannelWith(com.google.api.gax.core.ConnectionSettings settings) |
LoggingServiceV2Settings.Builder |
provideChannelWith(com.google.auth.Credentials credentials) |
LoggingServiceV2Settings.Builder |
provideChannelWith(List<String> scopes) |
LoggingServiceV2Settings.Builder |
provideChannelWith(io.grpc.ManagedChannel channel,
boolean shouldAutoClose) |
LoggingServiceV2Settings.Builder |
provideExecutorWith(ScheduledExecutorService executor,
boolean shouldAutoClose) |
LoggingServiceV2Settings.Builder |
setClientLibHeader(String name,
String version) |
LoggingServiceV2Settings.Builder |
setGeneratorHeader(String name,
String version) |
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> |
writeLogEntriesSettings()
Returns the builder for the settings used for calls to writeLogEntries.
|
protected com.google.api.gax.core.ConnectionSettings getDefaultConnectionSettings()
getDefaultConnectionSettings in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder provideExecutorWith(ScheduledExecutorService executor, boolean shouldAutoClose)
provideExecutorWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder provideChannelWith(io.grpc.ManagedChannel channel, boolean shouldAutoClose)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder provideChannelWith(com.google.api.gax.core.ConnectionSettings settings)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder provideChannelWith(com.google.auth.Credentials credentials)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder provideChannelWith(List<String> scopes)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder setGeneratorHeader(String name, String version)
setGeneratorHeader in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder setClientLibHeader(String name, String version)
setClientLibHeader in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic LoggingServiceV2Settings.Builder applyToAllApiMethods(com.google.api.gax.grpc.ApiCallSettings.Builder apiCallSettings) throws Exception
Exceptionpublic com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.DeleteLogRequest,com.google.protobuf.Empty> deleteLogSettings()
public com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> writeLogEntriesSettings()
public com.google.api.gax.grpc.PageStreamingCallSettings.Builder<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,com.google.logging.v2.LogEntry> listLogEntriesSettings()
public com.google.api.gax.grpc.PageStreamingCallSettings.Builder<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,com.google.api.MonitoredResourceDescriptor> listMonitoredResourceDescriptorsSettings()
public LoggingServiceV2Settings build() throws IOException
build in class com.google.api.gax.grpc.ServiceApiSettings.BuilderIOExceptionCopyright © 2016 Google. All rights reserved.