Class HttpJsonReportErrorsServiceStub (0.168.0-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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonReportErrorsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonReportErrorsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonReportErrorsServiceStub
Exceptions
Type Description
IOException

create(ReportErrorsServiceStubSettings settings)

public static final HttpJsonReportErrorsServiceStub create(ReportErrorsServiceStubSettings settings)
Parameter
Name Description
settings ReportErrorsServiceStubSettings
Returns
Type Description
HttpJsonReportErrorsServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings ReportErrorsServiceStubSettings
clientContext ClientContext

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
Name Description
settings ReportErrorsServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

reportErrorEventCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()