public static final class DataTransferServiceGrpc.DataTransferServiceStub extends AbstractAsyncStub<DataTransferServiceGrpc.DataTransferServiceStub>
This API allows users to manage their data transfers into BigQuery.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
DataTransferServiceGrpc.DataTransferServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected DataTransferServiceGrpc.DataTransferServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
checkValidCreds(CheckValidCredsRequest request, StreamObserver<CheckValidCredsResponse> responseObserver)
public void checkValidCreds(CheckValidCredsRequest request, StreamObserver<CheckValidCredsResponse> responseObserver)
Returns true if valid credentials exist for the given data source and
requesting user.
Parameters
createTransferConfig(CreateTransferConfigRequest request, StreamObserver<TransferConfig> responseObserver)
public void createTransferConfig(CreateTransferConfigRequest request, StreamObserver<TransferConfig> responseObserver)
Creates a new data transfer configuration.
Parameters
deleteTransferConfig(DeleteTransferConfigRequest request, StreamObserver<Empty> responseObserver)
public void deleteTransferConfig(DeleteTransferConfigRequest request, StreamObserver<Empty> responseObserver)
Deletes a data transfer configuration, including any associated transfer
runs and logs.
Parameters
deleteTransferRun(DeleteTransferRunRequest request, StreamObserver<Empty> responseObserver)
public void deleteTransferRun(DeleteTransferRunRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified transfer run.
Parameters
enrollDataSources(EnrollDataSourcesRequest request, StreamObserver<Empty> responseObserver)
public void enrollDataSources(EnrollDataSourcesRequest request, StreamObserver<Empty> responseObserver)
Enroll data sources in a user project. This allows users to create transfer
configurations for these data sources. They will also appear in the
ListDataSources RPC and as such, will appear in the
BigQuery UI, and the documents
can be found in the public guide for
BigQuery Web UI and
Data Transfer
Service.
Parameters
getDataSource(GetDataSourceRequest request, StreamObserver<DataSource> responseObserver)
public void getDataSource(GetDataSourceRequest request, StreamObserver<DataSource> responseObserver)
Retrieves a supported data source and returns its settings.
Parameters
getTransferConfig(GetTransferConfigRequest request, StreamObserver<TransferConfig> responseObserver)
public void getTransferConfig(GetTransferConfigRequest request, StreamObserver<TransferConfig> responseObserver)
Returns information about a data transfer config.
Parameters
getTransferRun(GetTransferRunRequest request, StreamObserver<TransferRun> responseObserver)
public void getTransferRun(GetTransferRunRequest request, StreamObserver<TransferRun> responseObserver)
Returns information about the particular transfer run.
Parameters
listDataSources(ListDataSourcesRequest request, StreamObserver<ListDataSourcesResponse> responseObserver)
public void listDataSources(ListDataSourcesRequest request, StreamObserver<ListDataSourcesResponse> responseObserver)
Lists supported data sources and returns their settings.
Parameters
listTransferConfigs(ListTransferConfigsRequest request, StreamObserver<ListTransferConfigsResponse> responseObserver)
public void listTransferConfigs(ListTransferConfigsRequest request, StreamObserver<ListTransferConfigsResponse> responseObserver)
Returns information about all transfer configs owned by a project in the
specified location.
Parameters
listTransferLogs(ListTransferLogsRequest request, StreamObserver<ListTransferLogsResponse> responseObserver)
public void listTransferLogs(ListTransferLogsRequest request, StreamObserver<ListTransferLogsResponse> responseObserver)
Returns log messages for the transfer run.
Parameters
listTransferRuns(ListTransferRunsRequest request, StreamObserver<ListTransferRunsResponse> responseObserver)
public void listTransferRuns(ListTransferRunsRequest request, StreamObserver<ListTransferRunsResponse> responseObserver)
Returns information about running and completed transfer runs.
Parameters
scheduleTransferRuns(ScheduleTransferRunsRequest request, StreamObserver<ScheduleTransferRunsResponse> responseObserver)
public void scheduleTransferRuns(ScheduleTransferRunsRequest request, StreamObserver<ScheduleTransferRunsResponse> responseObserver)
Creates transfer runs for a time range [start_time, end_time].
For each date - or whatever granularity the data source supports - in the
range, one transfer run is created.
Note that runs are created per UTC time in the time range.
DEPRECATED: use StartManualTransferRuns instead.
Parameters
startManualTransferRuns(StartManualTransferRunsRequest request, StreamObserver<StartManualTransferRunsResponse> responseObserver)
public void startManualTransferRuns(StartManualTransferRunsRequest request, StreamObserver<StartManualTransferRunsResponse> responseObserver)
Start manual transfer runs to be executed now with schedule_time equal to
current time. The transfer runs can be created for a time range where the
run_time is between start_time (inclusive) and end_time (exclusive), or for
a specific run_time.
Parameters
updateTransferConfig(UpdateTransferConfigRequest request, StreamObserver<TransferConfig> responseObserver)
public void updateTransferConfig(UpdateTransferConfigRequest request, StreamObserver<TransferConfig> responseObserver)
Updates a data transfer configuration.
All fields must be set, even if they are not updated.
Parameters