Class GrpcCloudChannelReportsServiceStub (3.36.0)

public class GrpcCloudChannelReportsServiceStub extends CloudChannelReportsServiceStub

gRPC stub implementation for the CloudChannelReportsService service API.

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

Inheritance

java.lang.Object > CloudChannelReportsServiceStub > GrpcCloudChannelReportsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(CloudChannelReportsServiceStubSettings settings)

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

Constructors

GrpcCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext)

protected GrpcCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext)

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

GrpcCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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()