@Generated(value="by GAPIC") public class LoggingServiceV2Settings extends com.google.api.gax.grpc.ServiceApiSettings
LoggingServiceV2Api.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of DeleteLog to 30 seconds:
LoggingServiceV2Settings.Builder loggingServiceV2SettingsBuilder =
LoggingServiceV2Settings.defaultBuilder();
loggingServiceV2SettingsBuilder.DeleteLogSettings().getRetrySettingsBuilder()
.setTotalTimeout(Duration.standardSeconds(30));
LoggingServiceV2Settings loggingServiceV2Settings = loggingServiceV2SettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
LoggingServiceV2Settings.Builder
Builder for LoggingServiceV2Settings.
|
| Modifier and Type | Field and Description |
|---|---|
static com.google.api.gax.core.ConnectionSettings |
DEFAULT_CONNECTION_SETTINGS
The default connection settings of the service.
|
static String |
DEFAULT_SERVICE_ADDRESS
The default address of the service.
|
static int |
DEFAULT_SERVICE_PORT
The default port of the service.
|
static com.google.common.collect.ImmutableList<String> |
DEFAULT_SERVICE_SCOPES
The default scopes of the service.
|
| Modifier and Type | Method and Description |
|---|---|
static LoggingServiceV2Settings.Builder |
defaultBuilder()
Returns a builder for this class with recommended defaults.
|
com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.DeleteLogRequest,com.google.protobuf.Empty> |
deleteLogSettings()
Returns the object with the settings used for calls to deleteLog.
|
com.google.api.gax.grpc.PageStreamingCallSettings<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,com.google.logging.v2.LogEntry> |
listLogEntriesSettings()
Returns the object with the settings used for calls to listLogEntries.
|
com.google.api.gax.grpc.PageStreamingCallSettings<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,com.google.api.MonitoredResourceDescriptor> |
listMonitoredResourceDescriptorsSettings()
Returns the object with the settings used for calls to listMonitoredResourceDescriptors.
|
static LoggingServiceV2Settings.Builder |
newBuilder()
Returns a new builder for this class.
|
LoggingServiceV2Settings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> |
writeLogEntriesSettings()
Returns the object with the settings used for calls to writeLogEntries.
|
public static final String DEFAULT_SERVICE_ADDRESS
public static final int DEFAULT_SERVICE_PORT
public static final com.google.common.collect.ImmutableList<String> DEFAULT_SERVICE_SCOPES
public static final com.google.api.gax.core.ConnectionSettings DEFAULT_CONNECTION_SETTINGS
public com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.DeleteLogRequest,com.google.protobuf.Empty> deleteLogSettings()
public com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.WriteLogEntriesRequest,com.google.logging.v2.WriteLogEntriesResponse> writeLogEntriesSettings()
public com.google.api.gax.grpc.PageStreamingCallSettings<com.google.logging.v2.ListLogEntriesRequest,com.google.logging.v2.ListLogEntriesResponse,com.google.logging.v2.LogEntry> listLogEntriesSettings()
public com.google.api.gax.grpc.PageStreamingCallSettings<com.google.logging.v2.ListMonitoredResourceDescriptorsRequest,com.google.logging.v2.ListMonitoredResourceDescriptorsResponse,com.google.api.MonitoredResourceDescriptor> listMonitoredResourceDescriptorsSettings()
public static LoggingServiceV2Settings.Builder defaultBuilder()
public static LoggingServiceV2Settings.Builder newBuilder()
public LoggingServiceV2Settings.Builder toBuilder()
Copyright © 2016 Google. All rights reserved.