Class GrpcDataTransferServiceStub (2.3.11)

Stay organized with collections Save and categorize content based on your preferences.
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.

Inheritance

java.lang.Object > DataTransferServiceStub > GrpcDataTransferServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDataTransferServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDataTransferServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataTransferServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDataTransferServiceStub
Exceptions
TypeDescription
IOException

create(DataTransferServiceStubSettings settings)

public static final GrpcDataTransferServiceStub create(DataTransferServiceStubSettings settings)
Parameter
NameDescription
settingsDataTransferServiceStubSettings
Returns
TypeDescription
GrpcDataTransferServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsDataTransferServiceStubSettings
clientContextClientContext

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
NameDescription
settingsDataTransferServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

checkValidCredsCallable()

public UnaryCallable<CheckValidCredsRequest,CheckValidCredsResponse> checkValidCredsCallable()
Returns
TypeDescription
UnaryCallable<CheckValidCredsRequest,CheckValidCredsResponse>
Overrides

close()

public final void close()
Overrides

createTransferConfigCallable()

public UnaryCallable<CreateTransferConfigRequest,TransferConfig> createTransferConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateTransferConfigRequest,TransferConfig>
Overrides

deleteTransferConfigCallable()

public UnaryCallable<DeleteTransferConfigRequest,Empty> deleteTransferConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteTransferConfigRequest,Empty>
Overrides

deleteTransferRunCallable()

public UnaryCallable<DeleteTransferRunRequest,Empty> deleteTransferRunCallable()
Returns
TypeDescription
UnaryCallable<DeleteTransferRunRequest,Empty>
Overrides

enrollDataSourcesCallable()

public UnaryCallable<EnrollDataSourcesRequest,Empty> enrollDataSourcesCallable()
Returns
TypeDescription
UnaryCallable<EnrollDataSourcesRequest,Empty>
Overrides

getDataSourceCallable()

public UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
Returns
TypeDescription
UnaryCallable<GetDataSourceRequest,DataSource>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

getTransferConfigCallable()

public UnaryCallable<GetTransferConfigRequest,TransferConfig> getTransferConfigCallable()
Returns
TypeDescription
UnaryCallable<GetTransferConfigRequest,TransferConfig>
Overrides

getTransferRunCallable()

public UnaryCallable<GetTransferRunRequest,TransferRun> getTransferRunCallable()
Returns
TypeDescription
UnaryCallable<GetTransferRunRequest,TransferRun>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDataSourcesCallable()

public UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse> listDataSourcesCallable()
Returns
TypeDescription
UnaryCallable<ListDataSourcesRequest,ListDataSourcesResponse>
Overrides

listDataSourcesPagedCallable()

public UnaryCallable<ListDataSourcesRequest,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDataSourcesRequest,ListDataSourcesPagedResponse>
Overrides

listTransferConfigsCallable()

public UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsResponse> listTransferConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsResponse>
Overrides

listTransferConfigsPagedCallable()

public UnaryCallable<ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsPagedResponse>
Overrides

listTransferLogsCallable()

public UnaryCallable<ListTransferLogsRequest,ListTransferLogsResponse> listTransferLogsCallable()
Returns
TypeDescription
UnaryCallable<ListTransferLogsRequest,ListTransferLogsResponse>
Overrides

listTransferLogsPagedCallable()

public UnaryCallable<ListTransferLogsRequest,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTransferLogsRequest,ListTransferLogsPagedResponse>
Overrides

listTransferRunsCallable()

public UnaryCallable<ListTransferRunsRequest,ListTransferRunsResponse> listTransferRunsCallable()
Returns
TypeDescription
UnaryCallable<ListTransferRunsRequest,ListTransferRunsResponse>
Overrides

listTransferRunsPagedCallable()

public UnaryCallable<ListTransferRunsRequest,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTransferRunsRequest,ListTransferRunsPagedResponse>
Overrides

scheduleTransferRunsCallable()

public UnaryCallable<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse> scheduleTransferRunsCallable()
Returns
TypeDescription
UnaryCallable<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startManualTransferRunsCallable()

public UnaryCallable<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsCallable()
Returns
TypeDescription
UnaryCallable<StartManualTransferRunsRequest,StartManualTransferRunsResponse>
Overrides

updateTransferConfigCallable()

public UnaryCallable<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateTransferConfigRequest,TransferConfig>
Overrides