@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.
|
protected |
GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
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(ClientContext clientContext) |
static GrpcConfigServiceV2Stub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcConfigServiceV2Stub |
create(ConfigServiceV2StubSettings settings) |
UnaryCallable<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> |
createExclusionCallable() |
UnaryCallable<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> |
createSinkCallable() |
UnaryCallable<com.google.logging.v2.DeleteExclusionRequest,Empty> |
deleteExclusionCallable() |
UnaryCallable<com.google.logging.v2.DeleteSinkRequest,Empty> |
deleteSinkCallable() |
UnaryCallable<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> |
getExclusionCallable() |
UnaryCallable<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> |
getSinkCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.logging.v2.ListExclusionsRequest,com.google.logging.v2.ListExclusionsResponse> |
listExclusionsCallable() |
UnaryCallable<com.google.logging.v2.ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> |
listExclusionsPagedCallable() |
UnaryCallable<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse> |
listSinksCallable() |
UnaryCallable<com.google.logging.v2.ListSinksRequest,ConfigClient.ListSinksPagedResponse> |
listSinksPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> |
updateExclusionCallable() |
UnaryCallable<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> |
updateSinkCallable() |
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.logging.v2.ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
listSinksPagedCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse> listSinksCallable()
listSinksCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkCallable()
getSinkCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkCallable()
createSinkCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkCallable()
updateSinkCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.DeleteSinkRequest,Empty> deleteSinkCallable()
deleteSinkCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
listExclusionsPagedCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.ListExclusionsRequest,com.google.logging.v2.ListExclusionsResponse> listExclusionsCallable()
listExclusionsCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> getExclusionCallable()
getExclusionCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> createExclusionCallable()
createExclusionCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> updateExclusionCallable()
updateExclusionCallable
in class ConfigServiceV2Stub
public UnaryCallable<com.google.logging.v2.DeleteExclusionRequest,Empty> deleteExclusionCallable()
deleteExclusionCallable
in class ConfigServiceV2Stub
public final void close()
close
in interface AutoCloseable
close
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 © 2019 Google LLC. All rights reserved.