Class GrpcIndexEndpointServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.IndexEndpointServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcIndexEndpointServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcIndexEndpointServiceStub
extends IndexEndpointServiceStub
gRPC stub implementation for the IndexEndpointService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings.protectedGrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcIndexEndpointServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcIndexEndpointServiceStubcreate(ClientContext clientContext) static final GrpcIndexEndpointServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcIndexEndpointServiceStubcreate(IndexEndpointServiceStubSettings settings) OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanOperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse, MutateDeployedIndexOperationMetadata> voidshutdown()void
-
Constructor Details
-
GrpcIndexEndpointServiceStub
protected GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcIndexEndpointServiceStub, 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
-
GrpcIndexEndpointServiceStub
protected GrpcIndexEndpointServiceStub(IndexEndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcIndexEndpointServiceStub, 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 GrpcIndexEndpointServiceStub create(IndexEndpointServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcIndexEndpointServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcIndexEndpointServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classIndexEndpointServiceStub
-
createIndexEndpointCallable
- Overrides:
createIndexEndpointCallablein classIndexEndpointServiceStub
-
createIndexEndpointOperationCallable
public OperationCallable<CreateIndexEndpointRequest,IndexEndpoint, createIndexEndpointOperationCallable()CreateIndexEndpointOperationMetadata> - Overrides:
createIndexEndpointOperationCallablein classIndexEndpointServiceStub
-
getIndexEndpointCallable
- Overrides:
getIndexEndpointCallablein classIndexEndpointServiceStub
-
listIndexEndpointsCallable
public UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse> listIndexEndpointsCallable()- Overrides:
listIndexEndpointsCallablein classIndexEndpointServiceStub
-
listIndexEndpointsPagedCallable
public UnaryCallable<ListIndexEndpointsRequest,IndexEndpointServiceClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()- Overrides:
listIndexEndpointsPagedCallablein classIndexEndpointServiceStub
-
updateIndexEndpointCallable
- Overrides:
updateIndexEndpointCallablein classIndexEndpointServiceStub
-
deleteIndexEndpointCallable
- Overrides:
deleteIndexEndpointCallablein classIndexEndpointServiceStub
-
deleteIndexEndpointOperationCallable
public OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty, deleteIndexEndpointOperationCallable()DeleteOperationMetadata> - Overrides:
deleteIndexEndpointOperationCallablein classIndexEndpointServiceStub
-
deployIndexCallable
- Overrides:
deployIndexCallablein classIndexEndpointServiceStub
-
deployIndexOperationCallable
public OperationCallable<DeployIndexRequest,DeployIndexResponse, deployIndexOperationCallable()DeployIndexOperationMetadata> - Overrides:
deployIndexOperationCallablein classIndexEndpointServiceStub
-
undeployIndexCallable
- Overrides:
undeployIndexCallablein classIndexEndpointServiceStub
-
undeployIndexOperationCallable
public OperationCallable<UndeployIndexRequest,UndeployIndexResponse, undeployIndexOperationCallable()UndeployIndexOperationMetadata> - Overrides:
undeployIndexOperationCallablein classIndexEndpointServiceStub
-
mutateDeployedIndexCallable
- Overrides:
mutateDeployedIndexCallablein classIndexEndpointServiceStub
-
mutateDeployedIndexOperationCallable
public OperationCallable<MutateDeployedIndexRequest,MutateDeployedIndexResponse, mutateDeployedIndexOperationCallable()MutateDeployedIndexOperationMetadata> - Overrides:
mutateDeployedIndexOperationCallablein classIndexEndpointServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classIndexEndpointServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,IndexEndpointServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classIndexEndpointServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classIndexEndpointServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classIndexEndpointServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classIndexEndpointServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classIndexEndpointServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classIndexEndpointServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-