@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
IOExceptionprotected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings) throws IOException
IOExceptionpublic static final GrpcConfigServiceV2Stub create(ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcConfigServiceV2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic UnaryCallable<com.google.logging.v2.ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
listSinksPagedCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListSinksRequest,com.google.logging.v2.ListSinksResponse> listSinksCallable()
listSinksCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.GetSinkRequest,com.google.logging.v2.LogSink> getSinkCallable()
getSinkCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.CreateSinkRequest,com.google.logging.v2.LogSink> createSinkCallable()
createSinkCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.UpdateSinkRequest,com.google.logging.v2.LogSink> updateSinkCallable()
updateSinkCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.DeleteSinkRequest,Empty> deleteSinkCallable()
deleteSinkCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
listExclusionsPagedCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.ListExclusionsRequest,com.google.logging.v2.ListExclusionsResponse> listExclusionsCallable()
listExclusionsCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.GetExclusionRequest,com.google.logging.v2.LogExclusion> getExclusionCallable()
getExclusionCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.CreateExclusionRequest,com.google.logging.v2.LogExclusion> createExclusionCallable()
createExclusionCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.UpdateExclusionRequest,com.google.logging.v2.LogExclusion> updateExclusionCallable()
updateExclusionCallable in class ConfigServiceV2Stubpublic UnaryCallable<com.google.logging.v2.DeleteExclusionRequest,Empty> deleteExclusionCallable()
deleteExclusionCallable in class ConfigServiceV2Stubpublic final void close()
close in interface AutoCloseableclose in class ConfigServiceV2Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.