@Generated(value="by gapic-generator") @BetaApi public class ConfigServiceV2StubSettings extends com.google.api.gax.rpc.StubSettings<ConfigServiceV2StubSettings>
ConfigServiceV2Stub
.
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:
ConfigServiceV2StubSettings.Builder configSettingsBuilder =
ConfigServiceV2StubSettings.newBuilder();
configSettingsBuilder.getSinkSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
ConfigServiceV2StubSettings configSettings = configSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
ConfigServiceV2StubSettings.Builder
Builder for ConfigServiceV2StubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
ConfigServiceV2StubSettings(ConfigServiceV2StubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<CreateExclusionRequest,LogExclusion> |
createExclusionSettings()
Returns the object with the settings used for calls to createExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateSinkRequest,LogSink> |
createSinkSettings()
Returns the object with the settings used for calls to createSink.
|
ConfigServiceV2Stub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
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.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteExclusionRequest,Empty> |
deleteExclusionSettings()
Returns the object with the settings used for calls to deleteExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteSinkRequest,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.UnaryCallSettings<GetExclusionRequest,LogExclusion> |
getExclusionSettings()
Returns the object with the settings used for calls to getExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings<GetSinkRequest,LogSink> |
getSinkSettings()
Returns the object with the settings used for calls to getSink.
|
com.google.api.gax.rpc.PagedCallSettings<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> |
listExclusionsSettings()
Returns the object with the settings used for calls to listExclusions.
|
com.google.api.gax.rpc.PagedCallSettings<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse> |
listSinksSettings()
Returns the object with the settings used for calls to listSinks.
|
static ConfigServiceV2StubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static ConfigServiceV2StubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
ConfigServiceV2StubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateExclusionRequest,LogExclusion> |
updateExclusionSettings()
Returns the object with the settings used for calls to updateExclusion.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateSinkRequest,LogSink> |
updateSinkSettings()
Returns the object with the settings used for calls to updateSink.
|
protected ConfigServiceV2StubSettings(ConfigServiceV2StubSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.PagedCallSettings<ListSinksRequest,ListSinksResponse,ConfigClient.ListSinksPagedResponse> listSinksSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetSinkRequest,LogSink> getSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateSinkRequest,LogSink> createSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateSinkRequest,LogSink> updateSinkSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteSinkRequest,Empty> deleteSinkSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListExclusionsRequest,ListExclusionsResponse,ConfigClient.ListExclusionsPagedResponse> listExclusionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetExclusionRequest,LogExclusion> getExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateExclusionRequest,LogExclusion> createExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateExclusionRequest,LogExclusion> updateExclusionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteExclusionRequest,Empty> deleteExclusionSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") 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.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static ConfigServiceV2StubSettings.Builder newBuilder()
public static ConfigServiceV2StubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public ConfigServiceV2StubSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.StubSettings<ConfigServiceV2StubSettings>
Copyright © 2019 Google LLC. All rights reserved.