Package com.google.cloud.channel.v1.stub
Class HttpJsonCloudChannelReportsServiceStub
- java.lang.Object
-
- com.google.cloud.channel.v1.stub.CloudChannelReportsServiceStub
-
- com.google.cloud.channel.v1.stub.HttpJsonCloudChannelReportsServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonCloudChannelReportsServiceStub, using the given settings.protected
HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonCloudChannelReportsServiceStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.channel.v1.stub.CloudChannelReportsServiceStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonCloudChannelReportsServiceStub
protected HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonCloudChannelReportsServiceStub
protected HttpJsonCloudChannelReportsServiceStub(CloudChannelReportsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonCloudChannelReportsServiceStub create(CloudChannelReportsServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonCloudChannelReportsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonCloudChannelReportsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStub
in classCloudChannelReportsServiceStub
-
runReportJobCallable
public com.google.api.gax.rpc.UnaryCallable<RunReportJobRequest,com.google.longrunning.Operation> runReportJobCallable()
- Overrides:
runReportJobCallable
in classCloudChannelReportsServiceStub
-
runReportJobOperationCallable
public com.google.api.gax.rpc.OperationCallable<RunReportJobRequest,RunReportJobResponse,OperationMetadata> runReportJobOperationCallable()
- Overrides:
runReportJobOperationCallable
in classCloudChannelReportsServiceStub
-
fetchReportResultsCallable
public com.google.api.gax.rpc.UnaryCallable<FetchReportResultsRequest,FetchReportResultsResponse> fetchReportResultsCallable()
- Overrides:
fetchReportResultsCallable
in classCloudChannelReportsServiceStub
-
fetchReportResultsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<FetchReportResultsRequest,CloudChannelReportsServiceClient.FetchReportResultsPagedResponse> fetchReportResultsPagedCallable()
- Overrides:
fetchReportResultsPagedCallable
in classCloudChannelReportsServiceStub
-
listReportsCallable
public com.google.api.gax.rpc.UnaryCallable<ListReportsRequest,ListReportsResponse> listReportsCallable()
- Overrides:
listReportsCallable
in classCloudChannelReportsServiceStub
-
listReportsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListReportsRequest,CloudChannelReportsServiceClient.ListReportsPagedResponse> listReportsPagedCallable()
- Overrides:
listReportsPagedCallable
in classCloudChannelReportsServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classCloudChannelReportsServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-