public class HttpJsonDataTransferServiceStub extends DataTransferServiceStub
REST 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 HttpJsonDataTransferServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDataTransferServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DataTransferServiceStubSettings settings)
public static final HttpJsonDataTransferServiceStub create(DataTransferServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDataTransferServiceStub, 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
HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDataTransferServiceStub, 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
createTransferConfigCallable()
public UnaryCallable<CreateTransferConfigRequest,TransferConfig> createTransferConfigCallable()
Returns
Overrides
deleteTransferConfigCallable()
public UnaryCallable<DeleteTransferConfigRequest,Empty> deleteTransferConfigCallable()
Returns
Overrides
deleteTransferRunCallable()
public UnaryCallable<DeleteTransferRunRequest,Empty> deleteTransferRunCallable()
Returns
Overrides
enrollDataSourcesCallable()
public UnaryCallable<EnrollDataSourcesRequest,Empty> enrollDataSourcesCallable()
Returns
Overrides
getDataSourceCallable()
public UnaryCallable<GetDataSourceRequest,DataSource> getDataSourceCallable()
Returns
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
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
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
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