Class GrpcDataTransferServiceStub (2.42.0)

publicclass GrpcDataTransferServiceStubextendsDataTransferServiceStub

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

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalGrpcDataTransferServiceStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDataTransferServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcDataTransferServiceStubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDataTransferServiceStub
Exceptions
Type Description
IOException

create(DataTransferServiceStubSettings settings)

publicstaticfinalGrpcDataTransferServiceStubcreate(DataTransferServiceStubSettingssettings)
Parameter
Name Description
settings DataTransferServiceStubSettings
Returns
Type Description
GrpcDataTransferServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcDataTransferServiceStub(DataTransferServiceStubSettings settings, ClientContext clientContext)

protectedGrpcDataTransferServiceStub(DataTransferServiceStubSettingssettings,ClientContextclientContext)

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)

protectedGrpcDataTransferServiceStub(DataTransferServiceStubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

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)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

checkValidCredsCallable()

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

close()

publicfinalvoidclose()
Overrides

createTransferConfigCallable()

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

deleteTransferConfigCallable()

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

deleteTransferRunCallable()

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

enrollDataSourcesCallable()

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

getDataSourceCallable()

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

getLocationCallable()

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

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description
GrpcOperationsStub

getTransferConfigCallable()

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

getTransferRunCallable()

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

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listDataSourcesCallable()

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

listDataSourcesPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listTransferConfigsCallable()

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

listTransferConfigsPagedCallable()

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

listTransferLogsCallable()

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

listTransferLogsPagedCallable()

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

listTransferRunsCallable()

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

listTransferRunsPagedCallable()

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

scheduleTransferRunsCallable()

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

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

startManualTransferRunsCallable()

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

unenrollDataSourcesCallable()

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

updateTransferConfigCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.