Class GrpcDataplexServiceStub (1.11.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()
Returns
TypeDescription
UnaryCallable<CreateAssetRequest,Operation>
Overrides

createAssetOperationCallable()

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

createEnvironmentCallable()

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

createEnvironmentOperationCallable()

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

createLakeCallable()

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

createLakeOperationCallable()

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

createTaskCallable()

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

createTaskOperationCallable()

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

createZoneCallable()

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

createZoneOperationCallable()

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

deleteAssetCallable()

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

deleteAssetOperationCallable()

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

deleteEnvironmentCallable()

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

deleteEnvironmentOperationCallable()

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

deleteLakeCallable()

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

deleteLakeOperationCallable()

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

deleteTaskCallable()

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

deleteTaskOperationCallable()

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

deleteZoneCallable()

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

deleteZoneOperationCallable()

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

getAssetCallable()

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

getEnvironmentCallable()

public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Returns
TypeDescription
UnaryCallable<GetEnvironmentRequest,Environment>
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()
Returns
TypeDescription
UnaryCallable<ListAssetActionsRequest,ListActionsResponse>
Overrides

listAssetActionsPagedCallable()

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

listAssetsCallable()

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

listAssetsPagedCallable()

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

listEnvironmentsCallable()

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

listEnvironmentsPagedCallable()

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

listJobsCallable()

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

listJobsPagedCallable()

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

listLakeActionsCallable()

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

listLakeActionsPagedCallable()

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

listLakesCallable()

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

listLakesPagedCallable()

public UnaryCallable<ListLakesRequest,DataplexServiceClient.ListLakesPagedResponse> listLakesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListLakesRequest,ListLakesPagedResponse>
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()
Returns
TypeDescription
UnaryCallable<ListSessionsRequest,ListSessionsResponse>
Overrides

listSessionsPagedCallable()

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

listTasksCallable()

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

listTasksPagedCallable()

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

listZoneActionsCallable()

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

listZoneActionsPagedCallable()

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

listZonesCallable()

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

listZonesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAssetCallable()

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

updateAssetOperationCallable()

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

updateEnvironmentCallable()

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

updateEnvironmentOperationCallable()

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

updateLakeCallable()

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

updateLakeOperationCallable()

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

updateTaskCallable()

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

updateTaskOperationCallable()

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

updateZoneCallable()

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

updateZoneOperationCallable()

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