Class GrpcDataplexServiceStub (1.47.0)

public class GrpcDataplexServiceStub extends DataplexServiceStub

gRPC stub implementation for the DataplexService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DataplexServiceStub > GrpcDataplexServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(DataplexServiceStubSettings settings)

public static final GrpcDataplexServiceStub create(DataplexServiceStubSettings settings)
Parameter
Name Description
settings DataplexServiceStubSettings
Returns
Type Description
GrpcDataplexServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcDataplexServiceStub(DataplexServiceStubSettings settings, ClientContext clientContext)

protected GrpcDataplexServiceStub(DataplexServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDataplexServiceStub, 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 DataplexServiceStubSettings
clientContext ClientContext

GrpcDataplexServiceStub(DataplexServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDataplexServiceStub(DataplexServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDataplexServiceStub, 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 DataplexServiceStubSettings
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

cancelJobCallable()

public UnaryCallable<CancelJobRequest,Empty> cancelJobCallable()
Returns
Type Description
UnaryCallable<CancelJobRequest,Empty>
Overrides

close()

public final void close()
Overrides

createAssetCallable()

public UnaryCallable<CreateAssetRequest,Operation> createAssetCallable()
Returns
Type Description
UnaryCallable<CreateAssetRequest,Operation>
Overrides

createAssetOperationCallable()

public OperationCallable<CreateAssetRequest,Asset,OperationMetadata> createAssetOperationCallable()
Returns
Type Description
OperationCallable<CreateAssetRequest,Asset,OperationMetadata>
Overrides

createEnvironmentCallable()

public UnaryCallable<CreateEnvironmentRequest,Operation> createEnvironmentCallable()
Returns
Type Description
UnaryCallable<CreateEnvironmentRequest,Operation>
Overrides

createEnvironmentOperationCallable()

public OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationCallable()
Returns
Type Description
OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata>
Overrides

createLakeCallable()

public UnaryCallable<CreateLakeRequest,Operation> createLakeCallable()
Returns
Type Description
UnaryCallable<CreateLakeRequest,Operation>
Overrides

createLakeOperationCallable()

public OperationCallable<CreateLakeRequest,Lake,OperationMetadata> createLakeOperationCallable()
Returns
Type Description
OperationCallable<CreateLakeRequest,Lake,OperationMetadata>
Overrides

createTaskCallable()

public UnaryCallable<CreateTaskRequest,Operation> createTaskCallable()
Returns
Type Description
UnaryCallable<CreateTaskRequest,Operation>
Overrides

createTaskOperationCallable()

public OperationCallable<CreateTaskRequest,Task,OperationMetadata> createTaskOperationCallable()
Returns
Type Description
OperationCallable<CreateTaskRequest,Task,OperationMetadata>
Overrides

createZoneCallable()

public UnaryCallable<CreateZoneRequest,Operation> createZoneCallable()
Returns
Type Description
UnaryCallable<CreateZoneRequest,Operation>
Overrides

createZoneOperationCallable()

public OperationCallable<CreateZoneRequest,Zone,OperationMetadata> createZoneOperationCallable()
Returns
Type Description
OperationCallable<CreateZoneRequest,Zone,OperationMetadata>
Overrides

deleteAssetCallable()

public UnaryCallable<DeleteAssetRequest,Operation> deleteAssetCallable()
Returns
Type Description
UnaryCallable<DeleteAssetRequest,Operation>
Overrides

deleteAssetOperationCallable()

public OperationCallable<DeleteAssetRequest,Empty,OperationMetadata> deleteAssetOperationCallable()
Returns
Type Description
OperationCallable<DeleteAssetRequest,Empty,OperationMetadata>
Overrides

deleteEnvironmentCallable()

public UnaryCallable<DeleteEnvironmentRequest,Operation> deleteEnvironmentCallable()
Returns
Type Description
UnaryCallable<DeleteEnvironmentRequest,Operation>
Overrides

deleteEnvironmentOperationCallable()

public OperationCallable<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationCallable()
Returns
Type Description
OperationCallable<DeleteEnvironmentRequest,Empty,OperationMetadata>
Overrides

deleteLakeCallable()

public UnaryCallable<DeleteLakeRequest,Operation> deleteLakeCallable()
Returns
Type Description
UnaryCallable<DeleteLakeRequest,Operation>
Overrides

deleteLakeOperationCallable()

public OperationCallable<DeleteLakeRequest,Empty,OperationMetadata> deleteLakeOperationCallable()
Returns
Type Description
OperationCallable<DeleteLakeRequest,Empty,OperationMetadata>
Overrides

deleteTaskCallable()

public UnaryCallable<DeleteTaskRequest,Operation> deleteTaskCallable()
Returns
Type Description
UnaryCallable<DeleteTaskRequest,Operation>
Overrides

deleteTaskOperationCallable()

public OperationCallable<DeleteTaskRequest,Empty,OperationMetadata> deleteTaskOperationCallable()
Returns
Type Description
OperationCallable<DeleteTaskRequest,Empty,OperationMetadata>
Overrides

deleteZoneCallable()

public UnaryCallable<DeleteZoneRequest,Operation> deleteZoneCallable()
Returns
Type Description
UnaryCallable<DeleteZoneRequest,Operation>
Overrides

deleteZoneOperationCallable()

public OperationCallable<DeleteZoneRequest,Empty,OperationMetadata> deleteZoneOperationCallable()
Returns
Type Description
OperationCallable<DeleteZoneRequest,Empty,OperationMetadata>
Overrides

getAssetCallable()

public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Returns
Type Description
UnaryCallable<GetAssetRequest,Asset>
Overrides

getEnvironmentCallable()

public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Returns
Type Description
UnaryCallable<GetEnvironmentRequest,Environment>
Overrides

getJobCallable()

public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns
Type Description
UnaryCallable<GetJobRequest,Job>
Overrides

getLakeCallable()

public UnaryCallable<GetLakeRequest,Lake> getLakeCallable()
Returns
Type Description
UnaryCallable<GetLakeRequest,Lake>
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
Overrides

getTaskCallable()

public UnaryCallable<GetTaskRequest,Task> getTaskCallable()
Returns
Type Description
UnaryCallable<GetTaskRequest,Task>
Overrides

getZoneCallable()

public UnaryCallable<GetZoneRequest,Zone> getZoneCallable()
Returns
Type Description
UnaryCallable<GetZoneRequest,Zone>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAssetActionsCallable()

public UnaryCallable<ListAssetActionsRequest,ListActionsResponse> listAssetActionsCallable()
Returns
Type Description
UnaryCallable<ListAssetActionsRequest,ListActionsResponse>
Overrides

listAssetActionsPagedCallable()

public UnaryCallable<ListAssetActionsRequest,DataplexServiceClient.ListAssetActionsPagedResponse> listAssetActionsPagedCallable()
Returns
Type Description
UnaryCallable<ListAssetActionsRequest,ListAssetActionsPagedResponse>
Overrides

listAssetsCallable()

public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Returns
Type Description
UnaryCallable<ListAssetsRequest,ListAssetsResponse>
Overrides

listAssetsPagedCallable()

public UnaryCallable<ListAssetsRequest,DataplexServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Returns
Type Description
UnaryCallable<ListAssetsRequest,ListAssetsPagedResponse>
Overrides

listEnvironmentsCallable()

public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
Returns
Type Description
UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse>
Overrides

listEnvironmentsPagedCallable()

public UnaryCallable<ListEnvironmentsRequest,DataplexServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsPagedResponse>
Overrides

listJobsCallable()

public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns
Type Description
UnaryCallable<ListJobsRequest,ListJobsResponse>
Overrides

listJobsPagedCallable()

public UnaryCallable<ListJobsRequest,DataplexServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListJobsRequest,ListJobsPagedResponse>
Overrides

listLakeActionsCallable()

public UnaryCallable<ListLakeActionsRequest,ListActionsResponse> listLakeActionsCallable()
Returns
Type Description
UnaryCallable<ListLakeActionsRequest,ListActionsResponse>
Overrides

listLakeActionsPagedCallable()

public UnaryCallable<ListLakeActionsRequest,DataplexServiceClient.ListLakeActionsPagedResponse> listLakeActionsPagedCallable()
Returns
Type Description
UnaryCallable<ListLakeActionsRequest,ListLakeActionsPagedResponse>
Overrides

listLakesCallable()

public UnaryCallable<ListLakesRequest,ListLakesResponse> listLakesCallable()
Returns
Type Description
UnaryCallable<ListLakesRequest,ListLakesResponse>
Overrides

listLakesPagedCallable()

public UnaryCallable<ListLakesRequest,DataplexServiceClient.ListLakesPagedResponse> listLakesPagedCallable()
Returns
Type Description
UnaryCallable<ListLakesRequest,ListLakesPagedResponse>
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,DataplexServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listSessionsCallable()

public UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
Returns
Type Description
UnaryCallable<ListSessionsRequest,ListSessionsResponse>
Overrides

listSessionsPagedCallable()

public UnaryCallable<ListSessionsRequest,DataplexServiceClient.ListSessionsPagedResponse> listSessionsPagedCallable()
Returns
Type Description
UnaryCallable<ListSessionsRequest,ListSessionsPagedResponse>
Overrides

listTasksCallable()

public UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
Returns
Type Description
UnaryCallable<ListTasksRequest,ListTasksResponse>
Overrides

listTasksPagedCallable()

public UnaryCallable<ListTasksRequest,DataplexServiceClient.ListTasksPagedResponse> listTasksPagedCallable()
Returns
Type Description
UnaryCallable<ListTasksRequest,ListTasksPagedResponse>
Overrides

listZoneActionsCallable()

public UnaryCallable<ListZoneActionsRequest,ListActionsResponse> listZoneActionsCallable()
Returns
Type Description
UnaryCallable<ListZoneActionsRequest,ListActionsResponse>
Overrides

listZoneActionsPagedCallable()

public UnaryCallable<ListZoneActionsRequest,DataplexServiceClient.ListZoneActionsPagedResponse> listZoneActionsPagedCallable()
Returns
Type Description
UnaryCallable<ListZoneActionsRequest,ListZoneActionsPagedResponse>
Overrides

listZonesCallable()

public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Returns
Type Description
UnaryCallable<ListZonesRequest,ListZonesResponse>
Overrides

listZonesPagedCallable()

public UnaryCallable<ListZonesRequest,DataplexServiceClient.ListZonesPagedResponse> listZonesPagedCallable()
Returns
Type Description
UnaryCallable<ListZonesRequest,ListZonesPagedResponse>
Overrides

runTaskCallable()

public UnaryCallable<RunTaskRequest,RunTaskResponse> runTaskCallable()
Returns
Type Description
UnaryCallable<RunTaskRequest,RunTaskResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAssetCallable()

public UnaryCallable<UpdateAssetRequest,Operation> updateAssetCallable()
Returns
Type Description
UnaryCallable<UpdateAssetRequest,Operation>
Overrides

updateAssetOperationCallable()

public OperationCallable<UpdateAssetRequest,Asset,OperationMetadata> updateAssetOperationCallable()
Returns
Type Description
OperationCallable<UpdateAssetRequest,Asset,OperationMetadata>
Overrides

updateEnvironmentCallable()

public UnaryCallable<UpdateEnvironmentRequest,Operation> updateEnvironmentCallable()
Returns
Type Description
UnaryCallable<UpdateEnvironmentRequest,Operation>
Overrides

updateEnvironmentOperationCallable()

public OperationCallable<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationCallable()
Returns
Type Description
OperationCallable<UpdateEnvironmentRequest,Environment,OperationMetadata>
Overrides

updateLakeCallable()

public UnaryCallable<UpdateLakeRequest,Operation> updateLakeCallable()
Returns
Type Description
UnaryCallable<UpdateLakeRequest,Operation>
Overrides

updateLakeOperationCallable()

public OperationCallable<UpdateLakeRequest,Lake,OperationMetadata> updateLakeOperationCallable()
Returns
Type Description
OperationCallable<UpdateLakeRequest,Lake,OperationMetadata>
Overrides

updateTaskCallable()

public UnaryCallable<UpdateTaskRequest,Operation> updateTaskCallable()
Returns
Type Description
UnaryCallable<UpdateTaskRequest,Operation>
Overrides

updateTaskOperationCallable()

public OperationCallable<UpdateTaskRequest,Task,OperationMetadata> updateTaskOperationCallable()
Returns
Type Description
OperationCallable<UpdateTaskRequest,Task,OperationMetadata>
Overrides

updateZoneCallable()

public UnaryCallable<UpdateZoneRequest,Operation> updateZoneCallable()
Returns
Type Description
UnaryCallable<UpdateZoneRequest,Operation>
Overrides

updateZoneOperationCallable()

public OperationCallable<UpdateZoneRequest,Zone,OperationMetadata> updateZoneOperationCallable()
Returns
Type Description
OperationCallable<UpdateZoneRequest,Zone,OperationMetadata>
Overrides