@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.
|
protected |
GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConfigServiceV2Stub, using the given settings.
|
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcConfigServiceV2Stub(ConfigServiceV2StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(ConfigServiceV2StubSettings settings) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcConfigServiceV2Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ConfigClient.ListSinksPagedResponse> listSinksPagedCallable()
listSinksPagedCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListSinksRequest,ListSinksResponse> listSinksCallable()
listSinksCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<GetSinkRequest,LogSink> getSinkCallable()
getSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<CreateSinkRequest,LogSink> createSinkCallable()
createSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<UpdateSinkRequest,LogSink> updateSinkCallable()
updateSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<DeleteSinkRequest,Empty> deleteSinkCallable()
deleteSinkCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ConfigClient.ListExclusionsPagedResponse> listExclusionsPagedCallable()
listExclusionsPagedCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<ListExclusionsRequest,ListExclusionsResponse> listExclusionsCallable()
listExclusionsCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<GetExclusionRequest,LogExclusion> getExclusionCallable()
getExclusionCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<CreateExclusionRequest,LogExclusion> createExclusionCallable()
createExclusionCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<UpdateExclusionRequest,LogExclusion> updateExclusionCallable()
updateExclusionCallable
in class ConfigServiceV2Stub
public com.google.api.gax.rpc.UnaryCallable<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.