Class HttpJsonDataTransferServiceStub (2.55.0)

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.

Inheritance

java.lang.Object > DataTransferServiceStub > HttpJsonDataTransferServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDataTransferServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonDataTransferServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DataTransferServiceStubSettings settings)

public static final HttpJsonDataTransferServiceStub create(DataTransferServiceStubSettings settings)
Parameter
Name Description
settings DataTransferServiceStubSettings
Returns
Type Description
HttpJsonDataTransferServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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

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

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

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