Class GrpcDataplexServiceStub (1.22.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDataplexServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDataplexServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDataplexServiceStub
Exceptions
TypeDescription
IOException

create(DataplexServiceStubSettings settings)

public static final GrpcDataplexServiceStub create(DataplexServiceStubSettings settings)
Parameter
NameDescription
settingsDataplexServiceStubSettings
Returns
TypeDescription
GrpcDataplexServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsDataplexServiceStubSettings
clientContextClientContext

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
NameDescription
settingsDataplexServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelJobCallable()

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

close()

public final void close()
Overrides

createAssetCallable()

public UnaryCallable<CreateAssetRequest,Operation> createAssetCallable()
Overrides

createAssetOperationCallable()

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

createEnvironmentCallable()

public UnaryCallable<CreateEnvironmentRequest,Operation> createEnvironmentCallable()
Overrides

createEnvironmentOperationCallable()

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

createLakeCallable()

public UnaryCallable<CreateLakeRequest,Operation> createLakeCallable()
Overrides

createLakeOperationCallable()

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

createTaskCallable()

public UnaryCallable<CreateTaskRequest,Operation> createTaskCallable()
Overrides

createTaskOperationCallable()

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

createZoneCallable()

public UnaryCallable<CreateZoneRequest,Operation> createZoneCallable()
Overrides

createZoneOperationCallable()

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

deleteAssetCallable()

public UnaryCallable<DeleteAssetRequest,Operation> deleteAssetCallable()
Overrides

deleteAssetOperationCallable()

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

deleteEnvironmentCallable()

public UnaryCallable<DeleteEnvironmentRequest,Operation> deleteEnvironmentCallable()
Overrides

deleteEnvironmentOperationCallable()

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

deleteLakeCallable()

public UnaryCallable<DeleteLakeRequest,Operation> deleteLakeCallable()
Overrides

deleteLakeOperationCallable()

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

deleteTaskCallable()

public UnaryCallable<DeleteTaskRequest,Operation> deleteTaskCallable()
Overrides

deleteTaskOperationCallable()

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

deleteZoneCallable()

public UnaryCallable<DeleteZoneRequest,Operation> deleteZoneCallable()
Overrides

deleteZoneOperationCallable()

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

getAssetCallable()

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

getEnvironmentCallable()

public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Overrides

getJobCallable()

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

getLakeCallable()

public UnaryCallable<GetLakeRequest,Lake> getLakeCallable()
Returns
TypeDescription
UnaryCallable<GetLakeRequest,Lake>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getTaskCallable()

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

getZoneCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAssetActionsCallable()

public UnaryCallable<ListAssetActionsRequest,ListActionsResponse> listAssetActionsCallable()
Overrides

listAssetActionsPagedCallable()

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

listAssetsCallable()

public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Overrides

listAssetsPagedCallable()

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

listEnvironmentsCallable()

public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
Overrides

listEnvironmentsPagedCallable()

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

listJobsCallable()

public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Overrides

listJobsPagedCallable()

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

listLakeActionsCallable()

public UnaryCallable<ListLakeActionsRequest,ListActionsResponse> listLakeActionsCallable()
Overrides

listLakeActionsPagedCallable()

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

listLakesCallable()

public UnaryCallable<ListLakesRequest,ListLakesResponse> listLakesCallable()
Overrides

listLakesPagedCallable()

public UnaryCallable<ListLakesRequest,DataplexServiceClient.ListLakesPagedResponse> listLakesPagedCallable()
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,DataplexServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listSessionsCallable()

public UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
Overrides

listSessionsPagedCallable()

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

listTasksCallable()

public UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
Overrides

listTasksPagedCallable()

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

listZoneActionsCallable()

public UnaryCallable<ListZoneActionsRequest,ListActionsResponse> listZoneActionsCallable()
Overrides

listZoneActionsPagedCallable()

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

listZonesCallable()

public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Overrides

listZonesPagedCallable()

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

runTaskCallable()

public UnaryCallable<RunTaskRequest,RunTaskResponse> runTaskCallable()
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAssetCallable()

public UnaryCallable<UpdateAssetRequest,Operation> updateAssetCallable()
Overrides

updateAssetOperationCallable()

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

updateEnvironmentCallable()

public UnaryCallable<UpdateEnvironmentRequest,Operation> updateEnvironmentCallable()
Overrides

updateEnvironmentOperationCallable()

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

updateLakeCallable()

public UnaryCallable<UpdateLakeRequest,Operation> updateLakeCallable()
Overrides

updateLakeOperationCallable()

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

updateTaskCallable()

public UnaryCallable<UpdateTaskRequest,Operation> updateTaskCallable()
Overrides

updateTaskOperationCallable()

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

updateZoneCallable()

public UnaryCallable<UpdateZoneRequest,Operation> updateZoneCallable()
Overrides

updateZoneOperationCallable()

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