Class GrpcEndpointServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.EndpointServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcEndpointServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcEndpointServiceStub
extends EndpointServiceStub
gRPC stub implementation for the EndpointService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcEndpointServiceStub, using the given settings.protectedGrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcEndpointServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcEndpointServiceStubcreate(ClientContext clientContext) static final GrpcEndpointServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcEndpointServiceStubcreate(EndpointServiceStubSettings settings) OperationCallable<DeleteEndpointRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanOperationCallable<MutateDeployedModelRequest,MutateDeployedModelResponse, MutateDeployedModelOperationMetadata> OperationCallable<SetPublisherModelConfigRequest,PublisherModelConfig, SetPublisherModelConfigOperationMetadata> voidshutdown()void
-
Constructor Details
-
GrpcEndpointServiceStub
protected GrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcEndpointServiceStub, 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
-
GrpcEndpointServiceStub
protected GrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcEndpointServiceStub, 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 GrpcEndpointServiceStub create(EndpointServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcEndpointServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classEndpointServiceStub
-
createEndpointCallable
- Overrides:
createEndpointCallablein classEndpointServiceStub
-
createEndpointOperationCallable
public OperationCallable<CreateEndpointRequest,Endpoint, createEndpointOperationCallable()CreateEndpointOperationMetadata> - Overrides:
createEndpointOperationCallablein classEndpointServiceStub
-
getEndpointCallable
- Overrides:
getEndpointCallablein classEndpointServiceStub
-
listEndpointsCallable
- Overrides:
listEndpointsCallablein classEndpointServiceStub
-
listEndpointsPagedCallable
public UnaryCallable<ListEndpointsRequest,EndpointServiceClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()- Overrides:
listEndpointsPagedCallablein classEndpointServiceStub
-
updateEndpointCallable
- Overrides:
updateEndpointCallablein classEndpointServiceStub
-
updateEndpointLongRunningCallable
public UnaryCallable<UpdateEndpointLongRunningRequest,Operation> updateEndpointLongRunningCallable()- Overrides:
updateEndpointLongRunningCallablein classEndpointServiceStub
-
updateEndpointLongRunningOperationCallable
public OperationCallable<UpdateEndpointLongRunningRequest,Endpoint, updateEndpointLongRunningOperationCallable()UpdateEndpointOperationMetadata> - Overrides:
updateEndpointLongRunningOperationCallablein classEndpointServiceStub
-
deleteEndpointCallable
- Overrides:
deleteEndpointCallablein classEndpointServiceStub
-
deleteEndpointOperationCallable
public OperationCallable<DeleteEndpointRequest,com.google.protobuf.Empty, deleteEndpointOperationCallable()DeleteOperationMetadata> - Overrides:
deleteEndpointOperationCallablein classEndpointServiceStub
-
deployModelCallable
- Overrides:
deployModelCallablein classEndpointServiceStub
-
deployModelOperationCallable
public OperationCallable<DeployModelRequest,DeployModelResponse, deployModelOperationCallable()DeployModelOperationMetadata> - Overrides:
deployModelOperationCallablein classEndpointServiceStub
-
undeployModelCallable
- Overrides:
undeployModelCallablein classEndpointServiceStub
-
undeployModelOperationCallable
public OperationCallable<UndeployModelRequest,UndeployModelResponse, undeployModelOperationCallable()UndeployModelOperationMetadata> - Overrides:
undeployModelOperationCallablein classEndpointServiceStub
-
mutateDeployedModelCallable
- Overrides:
mutateDeployedModelCallablein classEndpointServiceStub
-
mutateDeployedModelOperationCallable
public OperationCallable<MutateDeployedModelRequest,MutateDeployedModelResponse, mutateDeployedModelOperationCallable()MutateDeployedModelOperationMetadata> - Overrides:
mutateDeployedModelOperationCallablein classEndpointServiceStub
-
setPublisherModelConfigCallable
- Overrides:
setPublisherModelConfigCallablein classEndpointServiceStub
-
setPublisherModelConfigOperationCallable
public OperationCallable<SetPublisherModelConfigRequest,PublisherModelConfig, setPublisherModelConfigOperationCallable()SetPublisherModelConfigOperationMetadata> - Overrides:
setPublisherModelConfigOperationCallablein classEndpointServiceStub
-
fetchPublisherModelConfigCallable
public UnaryCallable<FetchPublisherModelConfigRequest,PublisherModelConfig> fetchPublisherModelConfigCallable()- Overrides:
fetchPublisherModelConfigCallablein classEndpointServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classEndpointServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,EndpointServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classEndpointServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classEndpointServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classEndpointServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classEndpointServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classEndpointServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEndpointServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-