Class GrpcExtensionRegistryServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.ExtensionRegistryServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcExtensionRegistryServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcExtensionRegistryServiceStub
extends ExtensionRegistryServiceStub
gRPC stub implementation for the ExtensionRegistryService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcExtensionRegistryServiceStub, using the given settings.protectedGrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcExtensionRegistryServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcExtensionRegistryServiceStubcreate(ClientContext clientContext) static final GrpcExtensionRegistryServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcExtensionRegistryServiceStubcreate(ExtensionRegistryServiceStubSettings settings) OperationCallable<DeleteExtensionRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcExtensionRegistryServiceStub
protected GrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcExtensionRegistryServiceStub, 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
-
GrpcExtensionRegistryServiceStub
protected GrpcExtensionRegistryServiceStub(ExtensionRegistryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcExtensionRegistryServiceStub, 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 GrpcExtensionRegistryServiceStub create(ExtensionRegistryServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcExtensionRegistryServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcExtensionRegistryServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classExtensionRegistryServiceStub
-
importExtensionCallable
- Overrides:
importExtensionCallablein classExtensionRegistryServiceStub
-
importExtensionOperationCallable
public OperationCallable<ImportExtensionRequest,Extension, importExtensionOperationCallable()ImportExtensionOperationMetadata> - Overrides:
importExtensionOperationCallablein classExtensionRegistryServiceStub
-
getExtensionCallable
- Overrides:
getExtensionCallablein classExtensionRegistryServiceStub
-
listExtensionsCallable
- Overrides:
listExtensionsCallablein classExtensionRegistryServiceStub
-
listExtensionsPagedCallable
public UnaryCallable<ListExtensionsRequest,ExtensionRegistryServiceClient.ListExtensionsPagedResponse> listExtensionsPagedCallable()- Overrides:
listExtensionsPagedCallablein classExtensionRegistryServiceStub
-
updateExtensionCallable
- Overrides:
updateExtensionCallablein classExtensionRegistryServiceStub
-
deleteExtensionCallable
- Overrides:
deleteExtensionCallablein classExtensionRegistryServiceStub
-
deleteExtensionOperationCallable
public OperationCallable<DeleteExtensionRequest,com.google.protobuf.Empty, deleteExtensionOperationCallable()DeleteOperationMetadata> - Overrides:
deleteExtensionOperationCallablein classExtensionRegistryServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classExtensionRegistryServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ExtensionRegistryServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classExtensionRegistryServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classExtensionRegistryServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classExtensionRegistryServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classExtensionRegistryServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classExtensionRegistryServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classExtensionRegistryServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-