Class HttpJsonCloudChannelReportsServiceStub (3.12.0)

public class HttpJsonCloudChannelReportsServiceStub extends CloudChannelReportsServiceStub

REST stub implementation for the CloudChannelReportsService service API.

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

Inheritance

java.lang.Object > CloudChannelReportsServiceStub > HttpJsonCloudChannelReportsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(CloudChannelReportsServiceStubSettings settings)

public static final HttpJsonCloudChannelReportsServiceStub create(CloudChannelReportsServiceStubSettings settings)
Parameter
NameDescription
settingsCloudChannelReportsServiceStubSettings
Returns
TypeDescription
HttpJsonCloudChannelReportsServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCloudChannelReportsServiceStub, 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
settingsCloudChannelReportsServiceStubSettings
clientContextClientContext

HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

fetchReportResultsCallable()

public UnaryCallable<FetchReportResultsRequest,FetchReportResultsResponse> fetchReportResultsCallable()
Returns
TypeDescription
UnaryCallable<FetchReportResultsRequest,FetchReportResultsResponse>
Overrides

fetchReportResultsPagedCallable()

public UnaryCallable<FetchReportResultsRequest,CloudChannelReportsServiceClient.FetchReportResultsPagedResponse> fetchReportResultsPagedCallable()
Returns
TypeDescription
UnaryCallable<FetchReportResultsRequest,FetchReportResultsPagedResponse>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listReportsCallable()

public UnaryCallable<ListReportsRequest,ListReportsResponse> listReportsCallable()
Returns
TypeDescription
UnaryCallable<ListReportsRequest,ListReportsResponse>
Overrides

listReportsPagedCallable()

public UnaryCallable<ListReportsRequest,CloudChannelReportsServiceClient.ListReportsPagedResponse> listReportsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListReportsRequest,ListReportsPagedResponse>
Overrides

runReportJobCallable()

public UnaryCallable<RunReportJobRequest,Operation> runReportJobCallable()
Returns
TypeDescription
UnaryCallable<RunReportJobRequest,Operation>
Overrides

runReportJobOperationCallable()

public OperationCallable<RunReportJobRequest,RunReportJobResponse,OperationMetadata> runReportJobOperationCallable()
Returns
TypeDescription
OperationCallable<RunReportJobRequest,RunReportJobResponse,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()