Class HttpJsonDataTransferServiceStub
- java.lang.Object
-
- com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStub
-
- com.google.cloud.bigquery.datatransfer.v1.stub.HttpJsonDataTransferServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonDataTransferServiceStub extends DataTransferServiceStub
REST stub implementation for the DataTransferService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonDataTransferServiceStub, using the given settings.protectedHttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonDataTransferServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonDataTransferServiceStub
protected HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonDataTransferServiceStub, 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
-
HttpJsonDataTransferServiceStub
protected HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonDataTransferServiceStub, 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 HttpJsonDataTransferServiceStub create(DataTransferServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataTransferServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonDataTransferServiceStub 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()
-
getDataSourceCallable
public com.google.api.gax.rpc.UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
- Overrides:
getDataSourceCallablein classDataTransferServiceStub
-
listDataSourcesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse> listDataSourcesCallable()
- Overrides:
listDataSourcesCallablein classDataTransferServiceStub
-
listDataSourcesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataSourcesRequest,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
- Overrides:
listDataSourcesPagedCallablein classDataTransferServiceStub
-
createTransferConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTransferConfigRequest,TransferConfig> createTransferConfigCallable()
- Overrides:
createTransferConfigCallablein classDataTransferServiceStub
-
updateTransferConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigCallable()
- Overrides:
updateTransferConfigCallablein classDataTransferServiceStub
-
deleteTransferConfigCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTransferConfigRequest,com.google.protobuf.Empty> deleteTransferConfigCallable()
- Overrides:
deleteTransferConfigCallablein classDataTransferServiceStub
-
getTransferConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetTransferConfigRequest,TransferConfig> getTransferConfigCallable()
- Overrides:
getTransferConfigCallablein classDataTransferServiceStub
-
listTransferConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsResponse> listTransferConfigsCallable()
- Overrides:
listTransferConfigsCallablein classDataTransferServiceStub
-
listTransferConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsPagedCallable()
- Overrides:
listTransferConfigsPagedCallablein classDataTransferServiceStub
-
scheduleTransferRunsCallable
public com.google.api.gax.rpc.UnaryCallable<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse> scheduleTransferRunsCallable()
- Overrides:
scheduleTransferRunsCallablein classDataTransferServiceStub
-
startManualTransferRunsCallable
public com.google.api.gax.rpc.UnaryCallable<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsCallable()
- Overrides:
startManualTransferRunsCallablein classDataTransferServiceStub
-
getTransferRunCallable
public com.google.api.gax.rpc.UnaryCallable<GetTransferRunRequest,TransferRun> getTransferRunCallable()
- Overrides:
getTransferRunCallablein classDataTransferServiceStub
-
deleteTransferRunCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTransferRunRequest,com.google.protobuf.Empty> deleteTransferRunCallable()
- Overrides:
deleteTransferRunCallablein classDataTransferServiceStub
-
listTransferRunsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferRunsRequest,ListTransferRunsResponse> listTransferRunsCallable()
- Overrides:
listTransferRunsCallablein classDataTransferServiceStub
-
listTransferRunsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferRunsRequest,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsPagedCallable()
- Overrides:
listTransferRunsPagedCallablein classDataTransferServiceStub
-
listTransferLogsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferLogsRequest,ListTransferLogsResponse> listTransferLogsCallable()
- Overrides:
listTransferLogsCallablein classDataTransferServiceStub
-
listTransferLogsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTransferLogsRequest,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsPagedCallable()
- Overrides:
listTransferLogsPagedCallablein classDataTransferServiceStub
-
checkValidCredsCallable
public com.google.api.gax.rpc.UnaryCallable<CheckValidCredsRequest,CheckValidCredsResponse> checkValidCredsCallable()
- Overrides:
checkValidCredsCallablein classDataTransferServiceStub
-
enrollDataSourcesCallable
public com.google.api.gax.rpc.UnaryCallable<EnrollDataSourcesRequest,com.google.protobuf.Empty> enrollDataSourcesCallable()
- Overrides:
enrollDataSourcesCallablein classDataTransferServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classDataTransferServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,DataTransferServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classDataTransferServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classDataTransferServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataTransferServiceStub
-
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
-
-