Class GrpcIndexServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.IndexServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcIndexServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcIndexServiceStub
extends IndexServiceStub
gRPC stub implementation for the IndexService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcIndexServiceStub(IndexServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcIndexServiceStub, using the given settings.protectedGrpcIndexServiceStub(IndexServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcIndexServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcIndexServiceStubcreate(ClientContext clientContext) static final GrpcIndexServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcIndexServiceStubcreate(IndexServiceStubSettings settings) OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcIndexServiceStub
protected GrpcIndexServiceStub(IndexServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcIndexServiceStub, 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
-
GrpcIndexServiceStub
protected GrpcIndexServiceStub(IndexServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcIndexServiceStub, 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 GrpcIndexServiceStub create(IndexServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcIndexServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classIndexServiceStub
-
createIndexCallable
- Overrides:
createIndexCallablein classIndexServiceStub
-
createIndexOperationCallable
public OperationCallable<CreateIndexRequest,Index, createIndexOperationCallable()CreateIndexOperationMetadata> - Overrides:
createIndexOperationCallablein classIndexServiceStub
-
getIndexCallable
- Overrides:
getIndexCallablein classIndexServiceStub
-
importIndexCallable
- Overrides:
importIndexCallablein classIndexServiceStub
-
importIndexOperationCallable
public OperationCallable<ImportIndexRequest,Index, importIndexOperationCallable()ImportIndexOperationMetadata> - Overrides:
importIndexOperationCallablein classIndexServiceStub
-
listIndexesCallable
- Overrides:
listIndexesCallablein classIndexServiceStub
-
listIndexesPagedCallable
public UnaryCallable<ListIndexesRequest,IndexServiceClient.ListIndexesPagedResponse> listIndexesPagedCallable()- Overrides:
listIndexesPagedCallablein classIndexServiceStub
-
updateIndexCallable
- Overrides:
updateIndexCallablein classIndexServiceStub
-
updateIndexOperationCallable
public OperationCallable<UpdateIndexRequest,Index, updateIndexOperationCallable()UpdateIndexOperationMetadata> - Overrides:
updateIndexOperationCallablein classIndexServiceStub
-
deleteIndexCallable
- Overrides:
deleteIndexCallablein classIndexServiceStub
-
deleteIndexOperationCallable
public OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty, deleteIndexOperationCallable()DeleteOperationMetadata> - Overrides:
deleteIndexOperationCallablein classIndexServiceStub
-
upsertDatapointsCallable
- Overrides:
upsertDatapointsCallablein classIndexServiceStub
-
removeDatapointsCallable
- Overrides:
removeDatapointsCallablein classIndexServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classIndexServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,IndexServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classIndexServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classIndexServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classIndexServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classIndexServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classIndexServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classIndexServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-