Class HttpJsonDataTransferServiceStub
java.lang.Object
com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStub
com.google.cloud.bigquery.datatransfer.v1.stub.HttpJsonDataTransferServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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
ConstructorsModifierConstructorDescriptionprotectedHttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonDataTransferServiceStub, using the given settings.protectedHttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonDataTransferServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonDataTransferServiceStubcreate(ClientContext clientContext) static final HttpJsonDataTransferServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonDataTransferServiceStubcreate(DataTransferServiceStubSettings settings) UnaryCallable<DeleteTransferConfigRequest,com.google.protobuf.Empty> UnaryCallable<DeleteTransferRunRequest,com.google.protobuf.Empty> UnaryCallable<EnrollDataSourcesRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> voidshutdown()voidUnaryCallable<UnenrollDataSourcesRequest,com.google.protobuf.Empty>
-
Constructor Details
-
HttpJsonDataTransferServiceStub
protected HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, 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, ClientContext clientContext, 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 Details
-
create
public static final HttpJsonDataTransferServiceStub create(DataTransferServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonDataTransferServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonDataTransferServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getDataSourceCallable
- Overrides:
getDataSourceCallablein classDataTransferServiceStub
-
listDataSourcesCallable
- Overrides:
listDataSourcesCallablein classDataTransferServiceStub
-
listDataSourcesPagedCallable
public UnaryCallable<ListDataSourcesRequest,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()- Overrides:
listDataSourcesPagedCallablein classDataTransferServiceStub
-
createTransferConfigCallable
- Overrides:
createTransferConfigCallablein classDataTransferServiceStub
-
updateTransferConfigCallable
- Overrides:
updateTransferConfigCallablein classDataTransferServiceStub
-
deleteTransferConfigCallable
public UnaryCallable<DeleteTransferConfigRequest,com.google.protobuf.Empty> deleteTransferConfigCallable()- Overrides:
deleteTransferConfigCallablein classDataTransferServiceStub
-
getTransferConfigCallable
- Overrides:
getTransferConfigCallablein classDataTransferServiceStub
-
listTransferConfigsCallable
public UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsResponse> listTransferConfigsCallable()- Overrides:
listTransferConfigsCallablein classDataTransferServiceStub
-
listTransferConfigsPagedCallable
public UnaryCallable<ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsPagedCallable()- Overrides:
listTransferConfigsPagedCallablein classDataTransferServiceStub
-
scheduleTransferRunsCallable
public UnaryCallable<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse> scheduleTransferRunsCallable()- Overrides:
scheduleTransferRunsCallablein classDataTransferServiceStub
-
startManualTransferRunsCallable
public UnaryCallable<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsCallable()- Overrides:
startManualTransferRunsCallablein classDataTransferServiceStub
-
getTransferRunCallable
- Overrides:
getTransferRunCallablein classDataTransferServiceStub
-
deleteTransferRunCallable
public UnaryCallable<DeleteTransferRunRequest,com.google.protobuf.Empty> deleteTransferRunCallable()- Overrides:
deleteTransferRunCallablein classDataTransferServiceStub
-
listTransferRunsCallable
- Overrides:
listTransferRunsCallablein classDataTransferServiceStub
-
listTransferRunsPagedCallable
public UnaryCallable<ListTransferRunsRequest,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsPagedCallable()- Overrides:
listTransferRunsPagedCallablein classDataTransferServiceStub
-
listTransferLogsCallable
- Overrides:
listTransferLogsCallablein classDataTransferServiceStub
-
listTransferLogsPagedCallable
public UnaryCallable<ListTransferLogsRequest,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsPagedCallable()- Overrides:
listTransferLogsPagedCallablein classDataTransferServiceStub
-
checkValidCredsCallable
- Overrides:
checkValidCredsCallablein classDataTransferServiceStub
-
enrollDataSourcesCallable
public UnaryCallable<EnrollDataSourcesRequest,com.google.protobuf.Empty> enrollDataSourcesCallable()- Overrides:
enrollDataSourcesCallablein classDataTransferServiceStub
-
unenrollDataSourcesCallable
public UnaryCallable<UnenrollDataSourcesRequest,com.google.protobuf.Empty> unenrollDataSourcesCallable()- Overrides:
unenrollDataSourcesCallablein classDataTransferServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDataTransferServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DataTransferServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDataTransferServiceStub
-
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
- Throws:
InterruptedException
-