public class GrpcWarehouseStub extends WarehouseStub
gRPC stub implementation for the Warehouse service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcWarehouseStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWarehouseStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(WarehouseStubSettings settings)
public static final GrpcWarehouseStub create(WarehouseStubSettings settings)
Constructors
GrpcWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext)
protected GrpcWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcWarehouseStub, 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.
GrpcWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWarehouseStub, 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.
Methods
addCollectionItemCallable()
public UnaryCallable<AddCollectionItemRequest,AddCollectionItemResponse> addCollectionItemCallable()
Overrides
analyzeAssetCallable()
public UnaryCallable<AnalyzeAssetRequest,Operation> analyzeAssetCallable()
Overrides
analyzeAssetOperationCallable()
public OperationCallable<AnalyzeAssetRequest,AnalyzeAssetResponse,AnalyzeAssetMetadata> analyzeAssetOperationCallable()
Overrides
analyzeCorpusCallable()
public UnaryCallable<AnalyzeCorpusRequest,Operation> analyzeCorpusCallable()
Overrides
analyzeCorpusOperationCallable()
public OperationCallable<AnalyzeCorpusRequest,AnalyzeCorpusResponse,AnalyzeCorpusMetadata> analyzeCorpusOperationCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
clipAssetCallable()
public UnaryCallable<ClipAssetRequest,ClipAssetResponse> clipAssetCallable()
Overrides
close()
public final void close()
Overrides
createAnnotationCallable()
public UnaryCallable<CreateAnnotationRequest,Annotation> createAnnotationCallable()
Overrides
createAssetCallable()
public UnaryCallable<CreateAssetRequest,Asset> createAssetCallable()
Overrides
createCollectionCallable()
public UnaryCallable<CreateCollectionRequest,Operation> createCollectionCallable()
Overrides
createCollectionOperationCallable()
public OperationCallable<CreateCollectionRequest,Collection,CreateCollectionMetadata> createCollectionOperationCallable()
Overrides
createCorpusCallable()
public UnaryCallable<CreateCorpusRequest,Operation> createCorpusCallable()
Overrides
createCorpusOperationCallable()
public OperationCallable<CreateCorpusRequest,Corpus,CreateCorpusMetadata> createCorpusOperationCallable()
Overrides
createDataSchemaCallable()
public UnaryCallable<CreateDataSchemaRequest,DataSchema> createDataSchemaCallable()
Overrides
createIndexCallable()
public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Overrides
createIndexEndpointCallable()
public UnaryCallable<CreateIndexEndpointRequest,Operation> createIndexEndpointCallable()
Overrides
createIndexEndpointOperationCallable()
public OperationCallable<CreateIndexEndpointRequest,IndexEndpoint,CreateIndexEndpointMetadata> createIndexEndpointOperationCallable()
Overrides
createIndexOperationCallable()
public OperationCallable<CreateIndexRequest,Index,CreateIndexMetadata> createIndexOperationCallable()
Overrides
createSearchConfigCallable()
public UnaryCallable<CreateSearchConfigRequest,SearchConfig> createSearchConfigCallable()
Overrides
createSearchHypernymCallable()
public UnaryCallable<CreateSearchHypernymRequest,SearchHypernym> createSearchHypernymCallable()
Overrides
deleteAnnotationCallable()
public UnaryCallable<DeleteAnnotationRequest,Empty> deleteAnnotationCallable()
Overrides
deleteAssetCallable()
public UnaryCallable<DeleteAssetRequest,Operation> deleteAssetCallable()
Overrides
deleteAssetOperationCallable()
public OperationCallable<DeleteAssetRequest,Empty,DeleteAssetMetadata> deleteAssetOperationCallable()
Overrides
deleteCollectionCallable()
public UnaryCallable<DeleteCollectionRequest,Operation> deleteCollectionCallable()
Overrides
deleteCollectionOperationCallable()
public OperationCallable<DeleteCollectionRequest,Empty,DeleteCollectionMetadata> deleteCollectionOperationCallable()
Overrides
deleteCorpusCallable()
public UnaryCallable<DeleteCorpusRequest,Empty> deleteCorpusCallable()
Overrides
deleteDataSchemaCallable()
public UnaryCallable<DeleteDataSchemaRequest,Empty> deleteDataSchemaCallable()
Overrides
deleteIndexCallable()
public UnaryCallable<DeleteIndexRequest,Operation> deleteIndexCallable()
Overrides
deleteIndexEndpointCallable()
public UnaryCallable<DeleteIndexEndpointRequest,Operation> deleteIndexEndpointCallable()
Overrides
deleteIndexEndpointOperationCallable()
public OperationCallable<DeleteIndexEndpointRequest,Empty,DeleteIndexEndpointMetadata> deleteIndexEndpointOperationCallable()
Overrides
deleteIndexOperationCallable()
public OperationCallable<DeleteIndexRequest,Empty,DeleteIndexMetadata> deleteIndexOperationCallable()
Overrides
deleteSearchConfigCallable()
public UnaryCallable<DeleteSearchConfigRequest,Empty> deleteSearchConfigCallable()
Overrides
deleteSearchHypernymCallable()
public UnaryCallable<DeleteSearchHypernymRequest,Empty> deleteSearchHypernymCallable()
Overrides
deployIndexCallable()
public UnaryCallable<DeployIndexRequest,Operation> deployIndexCallable()
Overrides
deployIndexOperationCallable()
public OperationCallable<DeployIndexRequest,DeployIndexResponse,DeployIndexMetadata> deployIndexOperationCallable()
Overrides
generateHlsUriCallable()
public UnaryCallable<GenerateHlsUriRequest,GenerateHlsUriResponse> generateHlsUriCallable()
Overrides
generateRetrievalUrlCallable()
public UnaryCallable<GenerateRetrievalUrlRequest,GenerateRetrievalUrlResponse> generateRetrievalUrlCallable()
Overrides
getAnnotationCallable()
public UnaryCallable<GetAnnotationRequest,Annotation> getAnnotationCallable()
Overrides
getAssetCallable()
public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Overrides
getCollectionCallable()
public UnaryCallable<GetCollectionRequest,Collection> getCollectionCallable()
Overrides
getCorpusCallable()
public UnaryCallable<GetCorpusRequest,Corpus> getCorpusCallable()
Overrides
getDataSchemaCallable()
public UnaryCallable<GetDataSchemaRequest,DataSchema> getDataSchemaCallable()
Overrides
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Overrides
getIndexEndpointCallable()
public UnaryCallable<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getSearchConfigCallable()
public UnaryCallable<GetSearchConfigRequest,SearchConfig> getSearchConfigCallable()
Overrides
getSearchHypernymCallable()
public UnaryCallable<GetSearchHypernymRequest,SearchHypernym> getSearchHypernymCallable()
Overrides
importAssetsCallable()
public UnaryCallable<ImportAssetsRequest,Operation> importAssetsCallable()
Overrides
importAssetsOperationCallable()
public OperationCallable<ImportAssetsRequest,ImportAssetsResponse,ImportAssetsMetadata> importAssetsOperationCallable()
Overrides
indexAssetCallable()
public UnaryCallable<IndexAssetRequest,Operation> indexAssetCallable()
Overrides
indexAssetOperationCallable()
public OperationCallable<IndexAssetRequest,IndexAssetResponse,IndexAssetMetadata> indexAssetOperationCallable()
Overrides
ingestAssetCallable()
public BidiStreamingCallable<IngestAssetRequest,IngestAssetResponse> ingestAssetCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listAnnotationsCallable()
public UnaryCallable<ListAnnotationsRequest,ListAnnotationsResponse> listAnnotationsCallable()
Overrides
listAnnotationsPagedCallable()
public UnaryCallable<ListAnnotationsRequest,WarehouseClient.ListAnnotationsPagedResponse> listAnnotationsPagedCallable()
Overrides
listAssetsCallable()
public UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
Overrides
listAssetsPagedCallable()
public UnaryCallable<ListAssetsRequest,WarehouseClient.ListAssetsPagedResponse> listAssetsPagedCallable()
Overrides
listCollectionsCallable()
public UnaryCallable<ListCollectionsRequest,ListCollectionsResponse> listCollectionsCallable()
Overrides
listCollectionsPagedCallable()
public UnaryCallable<ListCollectionsRequest,WarehouseClient.ListCollectionsPagedResponse> listCollectionsPagedCallable()
Overrides
listCorporaCallable()
public UnaryCallable<ListCorporaRequest,ListCorporaResponse> listCorporaCallable()
Overrides
listCorporaPagedCallable()
public UnaryCallable<ListCorporaRequest,WarehouseClient.ListCorporaPagedResponse> listCorporaPagedCallable()
Overrides
listDataSchemasCallable()
public UnaryCallable<ListDataSchemasRequest,ListDataSchemasResponse> listDataSchemasCallable()
Overrides
listDataSchemasPagedCallable()
public UnaryCallable<ListDataSchemasRequest,WarehouseClient.ListDataSchemasPagedResponse> listDataSchemasPagedCallable()
Overrides
listIndexEndpointsCallable()
public UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse> listIndexEndpointsCallable()
Overrides
listIndexEndpointsPagedCallable()
public UnaryCallable<ListIndexEndpointsRequest,WarehouseClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()
Overrides
listIndexesCallable()
public UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
Overrides
listIndexesPagedCallable()
public UnaryCallable<ListIndexesRequest,WarehouseClient.ListIndexesPagedResponse> listIndexesPagedCallable()
Overrides
listSearchConfigsCallable()
public UnaryCallable<ListSearchConfigsRequest,ListSearchConfigsResponse> listSearchConfigsCallable()
Overrides
listSearchConfigsPagedCallable()
public UnaryCallable<ListSearchConfigsRequest,WarehouseClient.ListSearchConfigsPagedResponse> listSearchConfigsPagedCallable()
Overrides
listSearchHypernymsCallable()
public UnaryCallable<ListSearchHypernymsRequest,ListSearchHypernymsResponse> listSearchHypernymsCallable()
Overrides
listSearchHypernymsPagedCallable()
public UnaryCallable<ListSearchHypernymsRequest,WarehouseClient.ListSearchHypernymsPagedResponse> listSearchHypernymsPagedCallable()
Overrides
removeCollectionItemCallable()
public UnaryCallable<RemoveCollectionItemRequest,RemoveCollectionItemResponse> removeCollectionItemCallable()
Overrides
removeIndexAssetCallable()
public UnaryCallable<RemoveIndexAssetRequest,Operation> removeIndexAssetCallable()
Overrides
removeIndexAssetOperationCallable()
public OperationCallable<RemoveIndexAssetRequest,RemoveIndexAssetResponse,RemoveIndexAssetMetadata> removeIndexAssetOperationCallable()
Overrides
searchAssetsCallable()
public UnaryCallable<SearchAssetsRequest,SearchAssetsResponse> searchAssetsCallable()
Overrides
searchAssetsPagedCallable()
public UnaryCallable<SearchAssetsRequest,WarehouseClient.SearchAssetsPagedResponse> searchAssetsPagedCallable()
Overrides
searchIndexEndpointCallable()
public UnaryCallable<SearchIndexEndpointRequest,SearchIndexEndpointResponse> searchIndexEndpointCallable()
Overrides
searchIndexEndpointPagedCallable()
public UnaryCallable<SearchIndexEndpointRequest,WarehouseClient.SearchIndexEndpointPagedResponse> searchIndexEndpointPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
undeployIndexCallable()
public UnaryCallable<UndeployIndexRequest,Operation> undeployIndexCallable()
Overrides
undeployIndexOperationCallable()
public OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexMetadata> undeployIndexOperationCallable()
Overrides
updateAnnotationCallable()
public UnaryCallable<UpdateAnnotationRequest,Annotation> updateAnnotationCallable()
Overrides
updateAssetCallable()
public UnaryCallable<UpdateAssetRequest,Asset> updateAssetCallable()
Overrides
updateCollectionCallable()
public UnaryCallable<UpdateCollectionRequest,Collection> updateCollectionCallable()
Overrides
updateCorpusCallable()
public UnaryCallable<UpdateCorpusRequest,Corpus> updateCorpusCallable()
Overrides
updateDataSchemaCallable()
public UnaryCallable<UpdateDataSchemaRequest,DataSchema> updateDataSchemaCallable()
Overrides
updateIndexCallable()
public UnaryCallable<UpdateIndexRequest,Operation> updateIndexCallable()
Overrides
updateIndexEndpointCallable()
public UnaryCallable<UpdateIndexEndpointRequest,Operation> updateIndexEndpointCallable()
Overrides
updateIndexEndpointOperationCallable()
public OperationCallable<UpdateIndexEndpointRequest,IndexEndpoint,UpdateIndexEndpointMetadata> updateIndexEndpointOperationCallable()
Overrides
updateIndexOperationCallable()
public OperationCallable<UpdateIndexRequest,Index,UpdateIndexMetadata> updateIndexOperationCallable()
Overrides
updateSearchConfigCallable()
public UnaryCallable<UpdateSearchConfigRequest,SearchConfig> updateSearchConfigCallable()
Overrides
updateSearchHypernymCallable()
public UnaryCallable<UpdateSearchHypernymRequest,SearchHypernym> updateSearchHypernymCallable()
Overrides
uploadAssetCallable()
public UnaryCallable<UploadAssetRequest,Operation> uploadAssetCallable()
Overrides
uploadAssetOperationCallable()
public OperationCallable<UploadAssetRequest,UploadAssetResponse,UploadAssetMetadata> uploadAssetOperationCallable()
Overrides
viewCollectionItemsCallable()
public UnaryCallable<ViewCollectionItemsRequest,ViewCollectionItemsResponse> viewCollectionItemsCallable()
Overrides
viewCollectionItemsPagedCallable()
public UnaryCallable<ViewCollectionItemsRequest,WarehouseClient.ViewCollectionItemsPagedResponse> viewCollectionItemsPagedCallable()
Overrides
viewIndexedAssetsCallable()
public UnaryCallable<ViewIndexedAssetsRequest,ViewIndexedAssetsResponse> viewIndexedAssetsCallable()
Overrides
viewIndexedAssetsPagedCallable()
public UnaryCallable<ViewIndexedAssetsRequest,WarehouseClient.ViewIndexedAssetsPagedResponse> viewIndexedAssetsPagedCallable()
Overrides