@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonTraceServiceStub extends TraceServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonTraceServiceStub(TraceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonTraceServiceStub, using the given settings.
|
protected |
HttpJsonTraceServiceStub(TraceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTraceServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonTraceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonTraceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonTraceServiceStub |
create(TraceServiceStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetTraceRequest,Trace> |
getTraceCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListTracesRequest,ListTracesResponse> |
listTracesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTracesRequest,TraceServiceClient.ListTracesPagedResponse> |
listTracesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PatchTracesRequest,com.google.protobuf.Empty> |
patchTracesCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonTraceServiceStub(TraceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonTraceServiceStub(TraceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonTraceServiceStub create(TraceServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonTraceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonTraceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<ListTracesRequest,ListTracesResponse> listTracesCallable()
listTracesCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTracesRequest,TraceServiceClient.ListTracesPagedResponse> listTracesPagedCallable()
listTracesPagedCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetTraceRequest,Trace> getTraceCallable()
getTraceCallable in class TraceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<PatchTracesRequest,com.google.protobuf.Empty> patchTracesCallable()
patchTracesCallable 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 © 2022 Google LLC. All rights reserved.