Send feedback
Class GrpcDataTransferServiceStub (2.0.27)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.0.27 keyboard_arrow_down
public class GrpcDataTransferServiceStub extends DataTransferServiceStub
gRPC stub implementation for the DataTransferService service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext)
protected GrpcDataTransferServiceStub ( DataTransferServiceStubSettings settings , ClientContext clientContext )
Constructs an instance of GrpcDataTransferServiceStub, 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.
Parameters
GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDataTransferServiceStub ( DataTransferServiceStubSettings settings , ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Constructs an instance of GrpcDataTransferServiceStub, 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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
Parameters
Returns
Exceptions
checkValidCredsCallable()
public UnaryCallable<CheckValidCredsRequest , CheckValidCredsResponse > checkValidCredsCallable ()
Returns
Overrides
close()
public final void close ()
Overrides
create(ClientContext clientContext)
public static final GrpcDataTransferServiceStub create ( ClientContext clientContext )
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataTransferServiceStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Parameters
Returns
Exceptions
create(DataTransferServiceStubSettings settings)
public static final GrpcDataTransferServiceStub create ( DataTransferServiceStubSettings settings )
Parameter
Returns
Exceptions
createTransferConfigCallable()
public UnaryCallable<CreateTransferConfigRequest , TransferConfig > createTransferConfigCallable ()
Returns
Overrides
deleteTransferConfigCallable()
public UnaryCallable<DeleteTransferConfigRequest , Empty > deleteTransferConfigCallable ()
Returns
Overrides
deleteTransferRunCallable()
public UnaryCallable<DeleteTransferRunRequest , Empty > deleteTransferRunCallable ()
Returns
Overrides
getDataSourceCallable()
public UnaryCallable<GetDataSourceRequest , DataSource > getDataSourceCallable ()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub ()
Returns
getTransferConfigCallable()
public UnaryCallable<GetTransferConfigRequest , TransferConfig > getTransferConfigCallable ()
Returns
Overrides
getTransferRunCallable()
public UnaryCallable<GetTransferRunRequest , TransferRun > getTransferRunCallable ()
Returns
Overrides
isShutdown()
public boolean isShutdown ()
Returns
isTerminated()
public boolean isTerminated ()
Returns
listDataSourcesCallable()
public UnaryCallable<ListDataSourcesRequest , ListDataSourcesResponse > listDataSourcesCallable ()
Returns
Overrides
listDataSourcesPagedCallable()
public UnaryCallable<ListDataSourcesRequest , DataTransferServiceClient . ListDataSourcesPagedResponse > listDataSourcesPagedCallable ()
Returns
Overrides
listTransferConfigsCallable()
public UnaryCallable<ListTransferConfigsRequest , ListTransferConfigsResponse > listTransferConfigsCallable ()
Returns
Overrides
listTransferConfigsPagedCallable()
public UnaryCallable<ListTransferConfigsRequest , DataTransferServiceClient . ListTransferConfigsPagedResponse > listTransferConfigsPagedCallable ()
Returns
Overrides
listTransferLogsCallable()
public UnaryCallable<ListTransferLogsRequest , ListTransferLogsResponse > listTransferLogsCallable ()
Returns
Overrides
listTransferLogsPagedCallable()
public UnaryCallable<ListTransferLogsRequest , DataTransferServiceClient . ListTransferLogsPagedResponse > listTransferLogsPagedCallable ()
Returns
Overrides
listTransferRunsCallable()
public UnaryCallable<ListTransferRunsRequest , ListTransferRunsResponse > listTransferRunsCallable ()
Returns
Overrides
listTransferRunsPagedCallable()
public UnaryCallable<ListTransferRunsRequest , DataTransferServiceClient . ListTransferRunsPagedResponse > listTransferRunsPagedCallable ()
Returns
Overrides
scheduleTransferRunsCallable()
public UnaryCallable<ScheduleTransferRunsRequest , ScheduleTransferRunsResponse > scheduleTransferRunsCallable ()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
startManualTransferRunsCallable()
public UnaryCallable<StartManualTransferRunsRequest , StartManualTransferRunsResponse > startManualTransferRunsCallable ()
Returns
Overrides
updateTransferConfigCallable()
public UnaryCallable<UpdateTransferConfigRequest , TransferConfig > updateTransferConfigCallable ()
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]