Class GrpcDataObjectSearchServiceStub
java.lang.Object
com.google.cloud.vectorsearch.v1beta.stub.DataObjectSearchServiceStub
com.google.cloud.vectorsearch.v1beta.stub.GrpcDataObjectSearchServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcDataObjectSearchServiceStub
extends DataObjectSearchServiceStub
gRPC stub implementation for the DataObjectSearchService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcDataObjectSearchServiceStub, using the given settings.protectedGrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcDataObjectSearchServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcDataObjectSearchServiceStubcreate(ClientContext clientContext) static final GrpcDataObjectSearchServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcDataObjectSearchServiceStubcreate(DataObjectSearchServiceStubSettings settings) booleanbooleanUnaryCallable<SearchDataObjectsRequest,DataObjectSearchServiceClient.SearchDataObjectsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcDataObjectSearchServiceStub
protected GrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcDataObjectSearchServiceStub, 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
-
GrpcDataObjectSearchServiceStub
protected GrpcDataObjectSearchServiceStub(DataObjectSearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcDataObjectSearchServiceStub, 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 GrpcDataObjectSearchServiceStub create(DataObjectSearchServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcDataObjectSearchServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcDataObjectSearchServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
searchDataObjectsCallable
public UnaryCallable<SearchDataObjectsRequest,SearchDataObjectsResponse> searchDataObjectsCallable()- Overrides:
searchDataObjectsCallablein classDataObjectSearchServiceStub
-
searchDataObjectsPagedCallable
public UnaryCallable<SearchDataObjectsRequest,DataObjectSearchServiceClient.SearchDataObjectsPagedResponse> searchDataObjectsPagedCallable()- Overrides:
searchDataObjectsPagedCallablein classDataObjectSearchServiceStub
-
queryDataObjectsCallable
- Overrides:
queryDataObjectsCallablein classDataObjectSearchServiceStub
-
queryDataObjectsPagedCallable
public UnaryCallable<QueryDataObjectsRequest,DataObjectSearchServiceClient.QueryDataObjectsPagedResponse> queryDataObjectsPagedCallable()- Overrides:
queryDataObjectsPagedCallablein classDataObjectSearchServiceStub
-
aggregateDataObjectsCallable
public UnaryCallable<AggregateDataObjectsRequest,AggregateDataObjectsResponse> aggregateDataObjectsCallable()- Overrides:
aggregateDataObjectsCallablein classDataObjectSearchServiceStub
-
batchSearchDataObjectsCallable
public UnaryCallable<BatchSearchDataObjectsRequest,BatchSearchDataObjectsResponse> batchSearchDataObjectsCallable()- Overrides:
batchSearchDataObjectsCallablein classDataObjectSearchServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDataObjectSearchServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DataObjectSearchServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDataObjectSearchServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classDataObjectSearchServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDataObjectSearchServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-