Class GrpcDataFoundryServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.DataFoundryServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcDataFoundryServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcDataFoundryServiceStub
extends DataFoundryServiceStub
gRPC stub implementation for the DataFoundryService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcDataFoundryServiceStub(DataFoundryServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcDataFoundryServiceStub, using the given settings.protectedGrpcDataFoundryServiceStub(DataFoundryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcDataFoundryServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcDataFoundryServiceStubcreate(ClientContext clientContext) static final GrpcDataFoundryServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcDataFoundryServiceStubcreate(DataFoundryServiceStubSettings settings) booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcDataFoundryServiceStub
protected GrpcDataFoundryServiceStub(DataFoundryServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcDataFoundryServiceStub, 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.- Throws:
IOException
-
GrpcDataFoundryServiceStub
protected GrpcDataFoundryServiceStub(DataFoundryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcDataFoundryServiceStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcDataFoundryServiceStub create(DataFoundryServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcDataFoundryServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcDataFoundryServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
generateSyntheticDataCallable
public UnaryCallable<GenerateSyntheticDataRequest,GenerateSyntheticDataResponse> generateSyntheticDataCallable()- Overrides:
generateSyntheticDataCallablein classDataFoundryServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDataFoundryServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DataFoundryServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDataFoundryServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classDataFoundryServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classDataFoundryServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classDataFoundryServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classDataFoundryServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataFoundryServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-