public static class ConfigServiceV2Settings.Builder
extends com.google.api.gax.grpc.ServiceApiSettings.Builder
| Modifier and Type | Method and Description |
|---|---|
ConfigServiceV2Settings.Builder |
applyToAllApiMethods(com.google.api.gax.grpc.ApiCallSettings.Builder apiCallSettings)
Applies the given settings to all of the API methods in this service.
|
ConfigServiceV2Settings |
build() |
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkSettings()
Returns the builder for the settings used for calls to createSink.
|
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> |
deleteSinkSettings()
Returns the builder for the settings used for calls to deleteSink.
|
protected com.google.api.gax.core.ConnectionSettings |
getDefaultConnectionSettings() |
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> |
getSinkSettings()
Returns the builder for the settings used for calls to getSink.
|
com.google.api.gax.grpc.PageStreamingCallSettings.Builder<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,com.google.logging.v2.LogSink> |
listSinksSettings()
Returns the builder for the settings used for calls to listSinks.
|
ConfigServiceV2Settings.Builder |
provideChannelWith(com.google.api.gax.core.ConnectionSettings settings) |
ConfigServiceV2Settings.Builder |
provideChannelWith(com.google.auth.Credentials credentials) |
ConfigServiceV2Settings.Builder |
provideChannelWith(List<String> scopes) |
ConfigServiceV2Settings.Builder |
provideChannelWith(io.grpc.ManagedChannel channel,
boolean shouldAutoClose) |
ConfigServiceV2Settings.Builder |
provideExecutorWith(ScheduledExecutorService executor,
boolean shouldAutoClose) |
ConfigServiceV2Settings.Builder |
setClientLibHeader(String name,
String version) |
ConfigServiceV2Settings.Builder |
setGeneratorHeader(String name,
String version) |
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> |
updateSinkSettings()
Returns the builder for the settings used for calls to updateSink.
|
protected com.google.api.gax.core.ConnectionSettings getDefaultConnectionSettings()
getDefaultConnectionSettings in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder provideExecutorWith(ScheduledExecutorService executor, boolean shouldAutoClose)
provideExecutorWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder provideChannelWith(io.grpc.ManagedChannel channel, boolean shouldAutoClose)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder provideChannelWith(com.google.api.gax.core.ConnectionSettings settings)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder provideChannelWith(com.google.auth.Credentials credentials)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder provideChannelWith(List<String> scopes)
provideChannelWith in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder setGeneratorHeader(String name, String version)
setGeneratorHeader in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder setClientLibHeader(String name, String version)
setClientLibHeader in class com.google.api.gax.grpc.ServiceApiSettings.Builderpublic ConfigServiceV2Settings.Builder applyToAllApiMethods(com.google.api.gax.grpc.ApiCallSettings.Builder apiCallSettings) throws Exception
Exceptionpublic com.google.api.gax.grpc.PageStreamingCallSettings.Builder<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse,com.google.logging.v2.LogSink> listSinksSettings()
public com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkSettings()
public com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkSettings()
public com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkSettings()
public com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkSettings()
public ConfigServiceV2Settings build() throws IOException
build in class com.google.api.gax.grpc.ServiceApiSettings.BuilderIOExceptionCopyright © 2016 Google. All rights reserved.