@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,
ClientContext clientContext)
Constructs an instance of GrpcTraceServiceStub, using the given settings.
|
protected |
GrpcTraceServiceStub(TraceServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
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(ClientContext clientContext) |
static GrpcTraceServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcTraceServiceStub |
create(TraceServiceStubSettings settings) |
UnaryCallable<com.google.devtools.cloudtrace.v1.GetTraceRequest,com.google.devtools.cloudtrace.v1.Trace> |
getTraceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,com.google.devtools.cloudtrace.v1.ListTracesResponse> |
listTracesCallable() |
UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,TraceServiceClient.ListTracesPagedResponse> |
listTracesPagedCallable() |
UnaryCallable<com.google.devtools.cloudtrace.v1.PatchTracesRequest,Empty> |
patchTracesCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcTraceServiceStub(TraceServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcTraceServiceStub(TraceServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcTraceServiceStub create(TraceServiceStubSettings settings) throws IOException
IOException
public static final GrpcTraceServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcTraceServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.devtools.cloudtrace.v1.PatchTracesRequest,Empty> patchTracesCallable()
patchTracesCallable
in class TraceServiceStub
public UnaryCallable<com.google.devtools.cloudtrace.v1.GetTraceRequest,com.google.devtools.cloudtrace.v1.Trace> getTraceCallable()
getTraceCallable
in class TraceServiceStub
public UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,TraceServiceClient.ListTracesPagedResponse> listTracesPagedCallable()
listTracesPagedCallable
in class TraceServiceStub
public UnaryCallable<com.google.devtools.cloudtrace.v1.ListTracesRequest,com.google.devtools.cloudtrace.v1.ListTracesResponse> listTracesCallable()
listTracesCallable
in class TraceServiceStub
public final void close()
close
in interface AutoCloseable
close
in class TraceServiceStub
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.