@Generated(value="by GAPIC v0.0.5") @BetaApi public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcConfigServiceV2Stub(ConfigSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcConfigServiceV2Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcConfigServiceV2Stub |
create(ConfigSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> |
deleteSinkCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> |
getSinkCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse> |
listSinksCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.ListSinksRequest,PagedResponseWrappers.ListSinksPagedResponse> |
listSinksPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> |
updateSinkCallable() |
protected GrpcConfigServiceV2Stub(ConfigSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcConfigServiceV2Stub create(ConfigSettings settings) throws IOException
IOExceptionpublic static final GrpcConfigServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.ListSinksRequest,PagedResponseWrappers.ListSinksPagedResponse> listSinksPagedCallable()
listSinksPagedCallable in class ConfigServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse> listSinksCallable()
listSinksCallable in class ConfigServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkCallable()
getSinkCallable in class ConfigServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkCallable()
createSinkCallable in class ConfigServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkCallable()
updateSinkCallable in class ConfigServiceV2Stubpublic com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkCallable()
deleteSinkCallable in class ConfigServiceV2Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2017 Google. All rights reserved.