Class GrpcDataObjectServiceStub
java.lang.Object
com.google.cloud.vectorsearch.v1.stub.DataObjectServiceStub
com.google.cloud.vectorsearch.v1.stub.GrpcDataObjectServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcDataObjectServiceStub
extends DataObjectServiceStub
gRPC stub implementation for the DataObjectService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcDataObjectServiceStub(DataObjectServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcDataObjectServiceStub, using the given settings.protectedGrpcDataObjectServiceStub(DataObjectServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcDataObjectServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeleteDataObjectsRequest,com.google.protobuf.Empty> final voidclose()static final GrpcDataObjectServiceStubcreate(ClientContext clientContext) static final GrpcDataObjectServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcDataObjectServiceStubcreate(DataObjectServiceStubSettings settings) UnaryCallable<DeleteDataObjectRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcDataObjectServiceStub
protected GrpcDataObjectServiceStub(DataObjectServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcDataObjectServiceStub, 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
-
GrpcDataObjectServiceStub
protected GrpcDataObjectServiceStub(DataObjectServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcDataObjectServiceStub, 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 GrpcDataObjectServiceStub create(DataObjectServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcDataObjectServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcDataObjectServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
createDataObjectCallable
- Overrides:
createDataObjectCallablein classDataObjectServiceStub
-
batchCreateDataObjectsCallable
public UnaryCallable<BatchCreateDataObjectsRequest,BatchCreateDataObjectsResponse> batchCreateDataObjectsCallable()- Overrides:
batchCreateDataObjectsCallablein classDataObjectServiceStub
-
getDataObjectCallable
- Overrides:
getDataObjectCallablein classDataObjectServiceStub
-
updateDataObjectCallable
- Overrides:
updateDataObjectCallablein classDataObjectServiceStub
-
batchUpdateDataObjectsCallable
public UnaryCallable<BatchUpdateDataObjectsRequest,BatchUpdateDataObjectsResponse> batchUpdateDataObjectsCallable()- Overrides:
batchUpdateDataObjectsCallablein classDataObjectServiceStub
-
deleteDataObjectCallable
- Overrides:
deleteDataObjectCallablein classDataObjectServiceStub
-
batchDeleteDataObjectsCallable
public UnaryCallable<BatchDeleteDataObjectsRequest,com.google.protobuf.Empty> batchDeleteDataObjectsCallable()- Overrides:
batchDeleteDataObjectsCallablein classDataObjectServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDataObjectServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DataObjectServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDataObjectServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classDataObjectServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataObjectServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-