@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcDataTransferServiceStub extends DataTransferServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcDataTransferServiceStub, using the given settings.
|
protected |
GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataTransferServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest,com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> |
checkValidCredsCallable() |
void |
close() |
static GrpcDataTransferServiceStub |
create(ClientContext clientContext) |
static GrpcDataTransferServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcDataTransferServiceStub |
create(DataTransferServiceStubSettings settings) |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> |
createTransferConfigCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest,Empty> |
deleteTransferConfigCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest,Empty> |
deleteTransferRunCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest,com.google.cloud.bigquery.datatransfer.v1.DataSource> |
getDataSourceCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> |
getTransferConfigCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest,com.google.cloud.bigquery.datatransfer.v1.TransferRun> |
getTransferRunCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest,com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> |
listDataSourcesCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest,DataTransferServiceClient.ListDataSourcesPagedResponse> |
listDataSourcesPagedCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> |
listTransferConfigsCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> |
listTransferConfigsPagedCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> |
listTransferLogsCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest,DataTransferServiceClient.ListTransferLogsPagedResponse> |
listTransferLogsPagedCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> |
listTransferRunsCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest,DataTransferServiceClient.ListTransferRunsPagedResponse> |
listTransferRunsPagedCallable() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> |
scheduleTransferRunsCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> |
updateTransferConfigCallable() |
protected GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDataTransferServiceStub create(DataTransferServiceStubSettings settings) throws IOException
IOException
public static final GrpcDataTransferServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcDataTransferServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest,com.google.cloud.bigquery.datatransfer.v1.DataSource> getDataSourceCallable()
getDataSourceCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
listDataSourcesPagedCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest,com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse> listDataSourcesCallable()
listDataSourcesCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> createTransferConfigCallable()
createTransferConfigCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> updateTransferConfigCallable()
updateTransferConfigCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest,Empty> deleteTransferConfigCallable()
deleteTransferConfigCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> getTransferConfigCallable()
getTransferConfigCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsPagedCallable()
listTransferConfigsPagedCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse> listTransferConfigsCallable()
listTransferConfigsCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> scheduleTransferRunsCallable()
scheduleTransferRunsCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest,com.google.cloud.bigquery.datatransfer.v1.TransferRun> getTransferRunCallable()
getTransferRunCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest,Empty> deleteTransferRunCallable()
deleteTransferRunCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsPagedCallable()
listTransferRunsPagedCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse> listTransferRunsCallable()
listTransferRunsCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsPagedCallable()
listTransferLogsPagedCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse> listTransferLogsCallable()
listTransferLogsCallable
in class DataTransferServiceStub
public UnaryCallable<com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest,com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> checkValidCredsCallable()
checkValidCredsCallable
in class DataTransferServiceStub
public final void close()
close
in interface AutoCloseable
close
in class DataTransferServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.