Class GrpcModelGardenServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.ModelGardenServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcModelGardenServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcModelGardenServiceStub
extends ModelGardenServiceStub
gRPC stub implementation for the ModelGardenService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcModelGardenServiceStub(ModelGardenServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcModelGardenServiceStub, using the given settings.protectedGrpcModelGardenServiceStub(ModelGardenServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcModelGardenServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcModelGardenServiceStubcreate(ClientContext clientContext) static final GrpcModelGardenServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcModelGardenServiceStubcreate(ModelGardenServiceStubSettings settings) booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcModelGardenServiceStub
protected GrpcModelGardenServiceStub(ModelGardenServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcModelGardenServiceStub, 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
-
GrpcModelGardenServiceStub
protected GrpcModelGardenServiceStub(ModelGardenServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcModelGardenServiceStub, 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 GrpcModelGardenServiceStub create(ModelGardenServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcModelGardenServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcModelGardenServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classModelGardenServiceStub
-
getPublisherModelCallable
- Overrides:
getPublisherModelCallablein classModelGardenServiceStub
-
deployCallable
- Overrides:
deployCallablein classModelGardenServiceStub
-
deployOperationCallable
public OperationCallable<DeployRequest,DeployResponse, deployOperationCallable()DeployOperationMetadata> - Overrides:
deployOperationCallablein classModelGardenServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classModelGardenServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ModelGardenServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classModelGardenServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classModelGardenServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classModelGardenServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classModelGardenServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classModelGardenServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classModelGardenServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-