Class GrpcModelGardenServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.ModelGardenServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcModelGardenServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@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) OperationCallable<DeployPublisherModelRequest,DeployPublisherModelResponse, DeployPublisherModelOperationMetadata> OperationCallable<ExportPublisherModelRequest,ExportPublisherModelResponse, ExportPublisherModelOperationMetadata> 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
-
listPublisherModelsCallable
public UnaryCallable<ListPublisherModelsRequest,ListPublisherModelsResponse> listPublisherModelsCallable()- Overrides:
listPublisherModelsCallablein classModelGardenServiceStub
-
listPublisherModelsPagedCallable
public UnaryCallable<ListPublisherModelsRequest,ModelGardenServiceClient.ListPublisherModelsPagedResponse> listPublisherModelsPagedCallable()- Overrides:
listPublisherModelsPagedCallablein classModelGardenServiceStub
-
deployCallable
- Overrides:
deployCallablein classModelGardenServiceStub
-
deployOperationCallable
public OperationCallable<DeployRequest,DeployResponse, deployOperationCallable()DeployOperationMetadata> - Overrides:
deployOperationCallablein classModelGardenServiceStub
-
deployPublisherModelCallable
- Overrides:
deployPublisherModelCallablein classModelGardenServiceStub
-
deployPublisherModelOperationCallable
public OperationCallable<DeployPublisherModelRequest,DeployPublisherModelResponse, deployPublisherModelOperationCallable()DeployPublisherModelOperationMetadata> - Overrides:
deployPublisherModelOperationCallablein classModelGardenServiceStub
-
exportPublisherModelCallable
- Overrides:
exportPublisherModelCallablein classModelGardenServiceStub
-
exportPublisherModelOperationCallable
public OperationCallable<ExportPublisherModelRequest,ExportPublisherModelResponse, exportPublisherModelOperationCallable()ExportPublisherModelOperationMetadata> - Overrides:
exportPublisherModelOperationCallablein classModelGardenServiceStub
-
checkPublisherModelEulaAcceptanceCallable
public UnaryCallable<CheckPublisherModelEulaAcceptanceRequest,PublisherModelEulaAcceptance> checkPublisherModelEulaAcceptanceCallable()- Overrides:
checkPublisherModelEulaAcceptanceCallablein classModelGardenServiceStub
-
acceptPublisherModelEulaCallable
public UnaryCallable<AcceptPublisherModelEulaRequest,PublisherModelEulaAcceptance> acceptPublisherModelEulaCallable()- Overrides:
acceptPublisherModelEulaCallablein 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
-