@Generated(value="by GAPIC") public class ConfigServiceV2Settings extends com.google.api.gax.grpc.ServiceApiSettings
ConfigServiceV2Api.
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 ListSinks to 30 seconds:
ConfigServiceV2Settings.Builder configServiceV2SettingsBuilder =
ConfigServiceV2Settings.defaultBuilder();
configServiceV2SettingsBuilder.ListSinksSettings().getRetrySettingsBuilder()
.setTotalTimeout(Duration.standardSeconds(30));
ConfigServiceV2Settings configServiceV2Settings = configServiceV2SettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigServiceV2Settings.Builder
Builder for ConfigServiceV2Settings.
|
| 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 |
|---|---|
com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkSettings()
Returns the object with the settings used for calls to createSink.
|
static ConfigServiceV2Settings.Builder |
defaultBuilder()
Returns a builder for this class with recommended defaults.
|
com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> |
deleteSinkSettings()
Returns the object with the settings used for calls to deleteSink.
|
com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> |
getSinkSettings()
Returns the object with the settings used for calls to getSink.
|
com.google.api.gax.grpc.PageStreamingCallSettings<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,com.google.logging.v2.LogSink> |
listSinksSettings()
Returns the object with the settings used for calls to listSinks.
|
static ConfigServiceV2Settings.Builder |
newBuilder()
Returns a new builder for this class.
|
ConfigServiceV2Settings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> |
updateSinkSettings()
Returns the object with the settings used for calls to updateSink.
|
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.PageStreamingCallSettings<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,com.google.logging.v2.LogSink> listSinksSettings()
public com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkSettings()
public com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkSettings()
public com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkSettings()
public com.google.api.gax.grpc.SimpleCallSettings<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkSettings()
public static ConfigServiceV2Settings.Builder defaultBuilder()
public static ConfigServiceV2Settings.Builder newBuilder()
public ConfigServiceV2Settings.Builder toBuilder()
Copyright © 2016 Google. All rights reserved.