Class GrpcDataTransferServiceStub (2.49.0)

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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataTransferServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataTransferServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataTransferServiceStub
Exceptions
Type Description
IOException

create(DataTransferServiceStubSettings settings)

public static final GrpcDataTransferServiceStub create(DataTransferServiceStubSettings settings)
Parameter
Name Description
settings DataTransferServiceStubSettings
Returns
Type Description
GrpcDataTransferServiceStub
Exceptions
Type Description
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
Name Description
settings DataTransferServiceStubSettings
clientContext ClientContext

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
Name Description
settings DataTransferServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

checkValidCredsCallable()

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

close()

public final void close()
Overrides

createTransferConfigCallable()

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

deleteTransferConfigCallable()

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

deleteTransferRunCallable()

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

enrollDataSourcesCallable()

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

getDataSourceCallable()

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

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getTransferConfigCallable()

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

getTransferRunCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listDataSourcesCallable()

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

listDataSourcesPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataTransferServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listTransferConfigsCallable()

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

listTransferConfigsPagedCallable()

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

listTransferLogsCallable()

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

listTransferLogsPagedCallable()

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

listTransferRunsCallable()

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

listTransferRunsPagedCallable()

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

scheduleTransferRunsCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startManualTransferRunsCallable()

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

unenrollDataSourcesCallable()

public UnaryCallable<UnenrollDataSourcesRequest,Empty> unenrollDataSourcesCallable()
Returns
Type Description
UnaryCallable<UnenrollDataSourcesRequest,Empty>
Overrides

updateTransferConfigCallable()

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