@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcReportErrorsServiceStub extends ReportErrorsServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcReportErrorsServiceStub, using the given settings.
|
protected |
GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcReportErrorsServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcReportErrorsServiceStub |
create(ClientContext clientContext) |
static GrpcReportErrorsServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcReportErrorsServiceStub |
create(ReportErrorsServiceStubSettings settings) |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest,com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse> |
reportErrorEventCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcReportErrorsServiceStub create(ReportErrorsServiceStubSettings settings) throws IOException
IOException
public static final GrpcReportErrorsServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcReportErrorsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest,com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse> reportErrorEventCallable()
reportErrorEventCallable
in class ReportErrorsServiceStub
public final void close()
close
in interface AutoCloseable
close
in class ReportErrorsServiceStub
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.