Class HttpJsonReportErrorsServiceStub (0.124.15-beta)

public class HttpJsonReportErrorsServiceStub extends ReportErrorsServiceStub

REST stub implementation for the ReportErrorsService service API.

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

Inheritance

java.lang.Object > ReportErrorsServiceStub > HttpJsonReportErrorsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonReportErrorsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonReportErrorsServiceStub
Exceptions
TypeDescription
IOException

create(ReportErrorsServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonReportErrorsServiceStub, 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

HttpJsonReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonReportErrorsServiceStub(ReportErrorsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonReportErrorsServiceStub, 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
callableFactoryHttpJsonStubCallableFactory

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

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()