@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
IOException
public static final GrpcConfigServiceV2Stub create(ConfigSettings settings) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.ListSinksRequest,PagedResponseWrappers.ListSinksPagedResponse> listSinksPagedCallable()
listSinksPagedCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse> listSinksCallable()
listSinksCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkCallable()
getSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkCallable()
createSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkCallable()
updateSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<com.google.logging.v2.DeleteSinkRequest,com.google.protobuf.Empty> deleteSinkCallable()
deleteSinkCallable
in class ConfigServiceV2Stub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2017 Google. All rights reserved.