@Generated(value="by GAPIC v0.0.5") @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(TraceServiceSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcTraceServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcTraceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcTraceServiceStub |
create(TraceServiceSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.GetTraceRequest,com.google.devtools.cloudtrace.v1.Trace> |
getTraceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,com.google.devtools.cloudtrace.v1.ListTracesResponse> |
listTracesCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,PagedResponseWrappers.ListTracesPagedResponse> |
listTracesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.PatchTracesRequest,com.google.protobuf.Empty> |
patchTracesCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcTraceServiceStub(TraceServiceSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcTraceServiceStub create(TraceServiceSettings settings) throws IOException
IOExceptionpublic static final GrpcTraceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.PatchTracesRequest,com.google.protobuf.Empty> patchTracesCallable()
patchTracesCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.GetTraceRequest,com.google.devtools.cloudtrace.v1.Trace> getTraceCallable()
getTraceCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,PagedResponseWrappers.ListTracesPagedResponse> listTracesPagedCallable()
listTracesPagedCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,com.google.devtools.cloudtrace.v1.ListTracesResponse> listTracesCallable()
listTracesCallable in class TraceServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2017 Google. All rights reserved.