- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.17
- 2.2.6
- 2.1.23
- 2.0.27
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.
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> |
close()
public final void close()
createTransferConfigCallable()
public UnaryCallable<CreateTransferConfigRequest,TransferConfig> createTransferConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateTransferConfigRequest,TransferConfig> |
deleteTransferConfigCallable()
public UnaryCallable<DeleteTransferConfigRequest,Empty> deleteTransferConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTransferConfigRequest,Empty> |
deleteTransferRunCallable()
public UnaryCallable<DeleteTransferRunRequest,Empty> deleteTransferRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTransferRunRequest,Empty> |
enrollDataSourcesCallable()
public UnaryCallable<EnrollDataSourcesRequest,Empty> enrollDataSourcesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EnrollDataSourcesRequest,Empty> |
getDataSourceCallable()
public UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDataSourceRequest,DataSource> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getTransferConfigCallable()
public UnaryCallable<GetTransferConfigRequest,TransferConfig> getTransferConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTransferConfigRequest,TransferConfig> |
getTransferRunCallable()
public UnaryCallable<GetTransferRunRequest,TransferRun> getTransferRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTransferRunRequest,TransferRun> |
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> |
listDataSourcesPagedCallable()
public UnaryCallable<ListDataSourcesRequest,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDataSourcesRequest,ListDataSourcesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DataTransferServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listTransferConfigsCallable()
public UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsResponse> listTransferConfigsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsResponse> |
listTransferConfigsPagedCallable()
public UnaryCallable<ListTransferConfigsRequest,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTransferConfigsRequest,ListTransferConfigsPagedResponse> |
listTransferLogsCallable()
public UnaryCallable<ListTransferLogsRequest,ListTransferLogsResponse> listTransferLogsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTransferLogsRequest,ListTransferLogsResponse> |
listTransferLogsPagedCallable()
public UnaryCallable<ListTransferLogsRequest,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTransferLogsRequest,ListTransferLogsPagedResponse> |
listTransferRunsCallable()
public UnaryCallable<ListTransferRunsRequest,ListTransferRunsResponse> listTransferRunsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTransferRunsRequest,ListTransferRunsResponse> |
listTransferRunsPagedCallable()
public UnaryCallable<ListTransferRunsRequest,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTransferRunsRequest,ListTransferRunsPagedResponse> |
scheduleTransferRunsCallable()
public UnaryCallable<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse> scheduleTransferRunsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startManualTransferRunsCallable()
public UnaryCallable<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartManualTransferRunsRequest,StartManualTransferRunsResponse> |
unenrollDataSourcesCallable()
public UnaryCallable<UnenrollDataSourcesRequest,Empty> unenrollDataSourcesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UnenrollDataSourcesRequest,Empty> |
updateTransferConfigCallable()
public UnaryCallable<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateTransferConfigRequest,TransferConfig> |