@Generated(value="by GAPIC v0.0.5") @BetaApi public class ConfigSettings extends com.google.api.gax.rpc.ClientSettings
ConfigClient
.
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 getSink to 30 seconds:
ConfigSettings.Builder configSettingsBuilder =
ConfigSettings.defaultBuilder();
configSettingsBuilder.getSinkSettings().getRetrySettingsBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
ConfigSettings configSettings = configSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
ConfigSettings.Builder
Builder for ConfigSettings.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkSettings()
Returns the object with the settings used for calls to createSink.
|
ConfigServiceV2Stub |
createStub() |
static ConfigSettings.Builder |
defaultBuilder()
Returns a builder for this class with recommended defaults.
|
static ConfigSettings.Builder |
defaultBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a builder for this class with recommended defaults for API methods, and the given
ClientContext used for executor/transport/credentials.
|
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingChannelProvider.Builder |
defaultGrpcChannelProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.grpc.GrpcTransportProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportProvider |
defaultTransportProvider() |
com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> |
deleteSinkSettings()
Returns the object with the settings used for calls to deleteSink.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.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.rpc.PagedCallSettings<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,PagedResponseWrappers.ListSinksPagedResponse> |
listSinksSettings()
Returns the object with the settings used for calls to listSinks.
|
static ConfigSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static ConfigSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
ConfigSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> |
updateSinkSettings()
Returns the object with the settings used for calls to updateSink.
|
public com.google.api.gax.rpc.PagedCallSettings<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,PagedResponseWrappers.ListSinksPagedResponse> listSinksSettings()
public com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkSettings()
public com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkSettings()
public com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkSettings()
public com.google.api.gax.rpc.SimpleCallSettings<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkSettings()
public ConfigServiceV2Stub createStub() throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingChannelProvider.Builder defaultGrpcChannelProviderBuilder()
public static com.google.api.gax.grpc.GrpcTransportProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportProvider defaultTransportProvider()
public static ConfigSettings.Builder defaultBuilder()
public static ConfigSettings.Builder defaultBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public static ConfigSettings.Builder newBuilder()
public static ConfigSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public ConfigSettings.Builder toBuilder()
Copyright © 2017 Google. All rights reserved.