Class GrpcReportErrorsServiceStub (0.133.0-beta)

public class GrpcReportErrorsServiceStub extends ReportErrorsServiceStub

gRPC stub implementation for the ReportErrorsService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ReportErrorsServiceStub > GrpcReportErrorsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcReportErrorsServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcReportErrorsServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcReportErrorsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcReportErrorsServiceStub
Exceptions
TypeDescription
IOException

create(ReportErrorsServiceStubSettings settings)

public static final GrpcReportErrorsServiceStub create(ReportErrorsServiceStubSettings settings)
Parameter
NameDescription
settingsReportErrorsServiceStubSettings
Returns
TypeDescription
GrpcReportErrorsServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext)

protected GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcReportErrorsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsReportErrorsServiceStubSettings
clientContextClientContext

GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcReportErrorsServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsReportErrorsServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

reportErrorEventCallable()

public UnaryCallable<ReportErrorEventRequest,ReportErrorEventResponse> reportErrorEventCallable()
Returns
TypeDescription
UnaryCallable<ReportErrorEventRequest,ReportErrorEventResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()