@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcTraceServiceStub extends TraceServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcTraceServiceStub(TraceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcTraceServiceStub, using the given settings.
|
protected |
GrpcTraceServiceStub(TraceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTraceServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<BatchWriteSpansRequest,Empty> |
batchWriteSpansCallable() |
void |
close() |
static GrpcTraceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcTraceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcTraceServiceStub |
create(TraceServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<Span,Span> |
createSpanCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcTraceServiceStub(TraceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcTraceServiceStub(TraceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcTraceServiceStub create(TraceServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcTraceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcTraceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<BatchWriteSpansRequest,Empty> batchWriteSpansCallable()
batchWriteSpansCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<Span,Span> createSpanCallable()
createSpanCallable in class TraceServiceStubpublic final void close()
close in interface AutoCloseableclose in class TraceServiceStubpublic 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.