Class HttpJsonWarehouseStub
java.lang.Object
com.google.cloud.visionai.v1.stub.WarehouseStub
com.google.cloud.visionai.v1.stub.HttpJsonWarehouseStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
REST stub implementation for the Warehouse service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonWarehouseStub, using the given settings.protectedHttpJsonWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonWarehouseStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonWarehouseStubcreate(ClientContext clientContext) static final HttpJsonWarehouseStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonWarehouseStubcreate(WarehouseStubSettings settings) UnaryCallable<DeleteAnnotationRequest,com.google.protobuf.Empty> OperationCallable<DeleteAssetRequest,com.google.protobuf.Empty, DeleteAssetMetadata> OperationCallable<DeleteCollectionRequest,com.google.protobuf.Empty, DeleteCollectionMetadata> UnaryCallable<DeleteCorpusRequest,com.google.protobuf.Empty> UnaryCallable<DeleteDataSchemaRequest,com.google.protobuf.Empty> OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty, DeleteIndexEndpointMetadata> OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty, DeleteIndexMetadata> UnaryCallable<DeleteSearchConfigRequest,com.google.protobuf.Empty> UnaryCallable<DeleteSearchHypernymRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.visionai.v1.stub.WarehouseStub
getOperationsStub
-
Constructor Details
-
HttpJsonWarehouseStub
protected HttpJsonWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonWarehouseStub, 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
-
HttpJsonWarehouseStub
protected HttpJsonWarehouseStub(WarehouseStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonWarehouseStub, 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
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonWarehouseStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classWarehouseStub
-
createAssetCallable
- Overrides:
createAssetCallablein classWarehouseStub
-
updateAssetCallable
- Overrides:
updateAssetCallablein classWarehouseStub
-
getAssetCallable
- Overrides:
getAssetCallablein classWarehouseStub
-
listAssetsCallable
- Overrides:
listAssetsCallablein classWarehouseStub
-
listAssetsPagedCallable
public UnaryCallable<ListAssetsRequest,WarehouseClient.ListAssetsPagedResponse> listAssetsPagedCallable()- Overrides:
listAssetsPagedCallablein classWarehouseStub
-
deleteAssetCallable
- Overrides:
deleteAssetCallablein classWarehouseStub
-
deleteAssetOperationCallable
public OperationCallable<DeleteAssetRequest,com.google.protobuf.Empty, deleteAssetOperationCallable()DeleteAssetMetadata> - Overrides:
deleteAssetOperationCallablein classWarehouseStub
-
uploadAssetCallable
- Overrides:
uploadAssetCallablein classWarehouseStub
-
uploadAssetOperationCallable
public OperationCallable<UploadAssetRequest,UploadAssetResponse, uploadAssetOperationCallable()UploadAssetMetadata> - Overrides:
uploadAssetOperationCallablein classWarehouseStub
-
generateRetrievalUrlCallable
public UnaryCallable<GenerateRetrievalUrlRequest,GenerateRetrievalUrlResponse> generateRetrievalUrlCallable()- Overrides:
generateRetrievalUrlCallablein classWarehouseStub
-
analyzeAssetCallable
- Overrides:
analyzeAssetCallablein classWarehouseStub
-
analyzeAssetOperationCallable
public OperationCallable<AnalyzeAssetRequest,AnalyzeAssetResponse, analyzeAssetOperationCallable()AnalyzeAssetMetadata> - Overrides:
analyzeAssetOperationCallablein classWarehouseStub
-
indexAssetCallable
- Overrides:
indexAssetCallablein classWarehouseStub
-
indexAssetOperationCallable
public OperationCallable<IndexAssetRequest,IndexAssetResponse, indexAssetOperationCallable()IndexAssetMetadata> - Overrides:
indexAssetOperationCallablein classWarehouseStub
-
removeIndexAssetCallable
- Overrides:
removeIndexAssetCallablein classWarehouseStub
-
removeIndexAssetOperationCallable
public OperationCallable<RemoveIndexAssetRequest,RemoveIndexAssetResponse, removeIndexAssetOperationCallable()RemoveIndexAssetMetadata> - Overrides:
removeIndexAssetOperationCallablein classWarehouseStub
-
viewIndexedAssetsCallable
public UnaryCallable<ViewIndexedAssetsRequest,ViewIndexedAssetsResponse> viewIndexedAssetsCallable()- Overrides:
viewIndexedAssetsCallablein classWarehouseStub
-
viewIndexedAssetsPagedCallable
public UnaryCallable<ViewIndexedAssetsRequest,WarehouseClient.ViewIndexedAssetsPagedResponse> viewIndexedAssetsPagedCallable()- Overrides:
viewIndexedAssetsPagedCallablein classWarehouseStub
-
createIndexCallable
- Overrides:
createIndexCallablein classWarehouseStub
-
createIndexOperationCallable
public OperationCallable<CreateIndexRequest,Index, createIndexOperationCallable()CreateIndexMetadata> - Overrides:
createIndexOperationCallablein classWarehouseStub
-
updateIndexCallable
- Overrides:
updateIndexCallablein classWarehouseStub
-
updateIndexOperationCallable
public OperationCallable<UpdateIndexRequest,Index, updateIndexOperationCallable()UpdateIndexMetadata> - Overrides:
updateIndexOperationCallablein classWarehouseStub
-
getIndexCallable
- Overrides:
getIndexCallablein classWarehouseStub
-
listIndexesCallable
- Overrides:
listIndexesCallablein classWarehouseStub
-
listIndexesPagedCallable
public UnaryCallable<ListIndexesRequest,WarehouseClient.ListIndexesPagedResponse> listIndexesPagedCallable()- Overrides:
listIndexesPagedCallablein classWarehouseStub
-
deleteIndexCallable
- Overrides:
deleteIndexCallablein classWarehouseStub
-
deleteIndexOperationCallable
public OperationCallable<DeleteIndexRequest,com.google.protobuf.Empty, deleteIndexOperationCallable()DeleteIndexMetadata> - Overrides:
deleteIndexOperationCallablein classWarehouseStub
-
createCorpusCallable
- Overrides:
createCorpusCallablein classWarehouseStub
-
createCorpusOperationCallable
public OperationCallable<CreateCorpusRequest,Corpus, createCorpusOperationCallable()CreateCorpusMetadata> - Overrides:
createCorpusOperationCallablein classWarehouseStub
-
getCorpusCallable
- Overrides:
getCorpusCallablein classWarehouseStub
-
updateCorpusCallable
- Overrides:
updateCorpusCallablein classWarehouseStub
-
listCorporaCallable
- Overrides:
listCorporaCallablein classWarehouseStub
-
listCorporaPagedCallable
public UnaryCallable<ListCorporaRequest,WarehouseClient.ListCorporaPagedResponse> listCorporaPagedCallable()- Overrides:
listCorporaPagedCallablein classWarehouseStub
-
deleteCorpusCallable
- Overrides:
deleteCorpusCallablein classWarehouseStub
-
analyzeCorpusCallable
- Overrides:
analyzeCorpusCallablein classWarehouseStub
-
analyzeCorpusOperationCallable
public OperationCallable<AnalyzeCorpusRequest,AnalyzeCorpusResponse, analyzeCorpusOperationCallable()AnalyzeCorpusMetadata> - Overrides:
analyzeCorpusOperationCallablein classWarehouseStub
-
createDataSchemaCallable
- Overrides:
createDataSchemaCallablein classWarehouseStub
-
updateDataSchemaCallable
- Overrides:
updateDataSchemaCallablein classWarehouseStub
-
getDataSchemaCallable
- Overrides:
getDataSchemaCallablein classWarehouseStub
-
deleteDataSchemaCallable
- Overrides:
deleteDataSchemaCallablein classWarehouseStub
-
listDataSchemasCallable
- Overrides:
listDataSchemasCallablein classWarehouseStub
-
listDataSchemasPagedCallable
public UnaryCallable<ListDataSchemasRequest,WarehouseClient.ListDataSchemasPagedResponse> listDataSchemasPagedCallable()- Overrides:
listDataSchemasPagedCallablein classWarehouseStub
-
createAnnotationCallable
- Overrides:
createAnnotationCallablein classWarehouseStub
-
getAnnotationCallable
- Overrides:
getAnnotationCallablein classWarehouseStub
-
listAnnotationsCallable
- Overrides:
listAnnotationsCallablein classWarehouseStub
-
listAnnotationsPagedCallable
public UnaryCallable<ListAnnotationsRequest,WarehouseClient.ListAnnotationsPagedResponse> listAnnotationsPagedCallable()- Overrides:
listAnnotationsPagedCallablein classWarehouseStub
-
updateAnnotationCallable
- Overrides:
updateAnnotationCallablein classWarehouseStub
-
deleteAnnotationCallable
- Overrides:
deleteAnnotationCallablein classWarehouseStub
-
clipAssetCallable
- Overrides:
clipAssetCallablein classWarehouseStub
-
generateHlsUriCallable
- Overrides:
generateHlsUriCallablein classWarehouseStub
-
importAssetsCallable
- Overrides:
importAssetsCallablein classWarehouseStub
-
importAssetsOperationCallable
public OperationCallable<ImportAssetsRequest,ImportAssetsResponse, importAssetsOperationCallable()ImportAssetsMetadata> - Overrides:
importAssetsOperationCallablein classWarehouseStub
-
createSearchConfigCallable
- Overrides:
createSearchConfigCallablein classWarehouseStub
-
updateSearchConfigCallable
- Overrides:
updateSearchConfigCallablein classWarehouseStub
-
getSearchConfigCallable
- Overrides:
getSearchConfigCallablein classWarehouseStub
-
deleteSearchConfigCallable
public UnaryCallable<DeleteSearchConfigRequest,com.google.protobuf.Empty> deleteSearchConfigCallable()- Overrides:
deleteSearchConfigCallablein classWarehouseStub
-
listSearchConfigsCallable
public UnaryCallable<ListSearchConfigsRequest,ListSearchConfigsResponse> listSearchConfigsCallable()- Overrides:
listSearchConfigsCallablein classWarehouseStub
-
listSearchConfigsPagedCallable
public UnaryCallable<ListSearchConfigsRequest,WarehouseClient.ListSearchConfigsPagedResponse> listSearchConfigsPagedCallable()- Overrides:
listSearchConfigsPagedCallablein classWarehouseStub
-
createSearchHypernymCallable
- Overrides:
createSearchHypernymCallablein classWarehouseStub
-
updateSearchHypernymCallable
- Overrides:
updateSearchHypernymCallablein classWarehouseStub
-
getSearchHypernymCallable
- Overrides:
getSearchHypernymCallablein classWarehouseStub
-
deleteSearchHypernymCallable
public UnaryCallable<DeleteSearchHypernymRequest,com.google.protobuf.Empty> deleteSearchHypernymCallable()- Overrides:
deleteSearchHypernymCallablein classWarehouseStub
-
listSearchHypernymsCallable
public UnaryCallable<ListSearchHypernymsRequest,ListSearchHypernymsResponse> listSearchHypernymsCallable()- Overrides:
listSearchHypernymsCallablein classWarehouseStub
-
listSearchHypernymsPagedCallable
public UnaryCallable<ListSearchHypernymsRequest,WarehouseClient.ListSearchHypernymsPagedResponse> listSearchHypernymsPagedCallable()- Overrides:
listSearchHypernymsPagedCallablein classWarehouseStub
-
searchAssetsCallable
- Overrides:
searchAssetsCallablein classWarehouseStub
-
searchAssetsPagedCallable
public UnaryCallable<SearchAssetsRequest,WarehouseClient.SearchAssetsPagedResponse> searchAssetsPagedCallable()- Overrides:
searchAssetsPagedCallablein classWarehouseStub
-
searchIndexEndpointCallable
public UnaryCallable<SearchIndexEndpointRequest,SearchIndexEndpointResponse> searchIndexEndpointCallable()- Overrides:
searchIndexEndpointCallablein classWarehouseStub
-
searchIndexEndpointPagedCallable
public UnaryCallable<SearchIndexEndpointRequest,WarehouseClient.SearchIndexEndpointPagedResponse> searchIndexEndpointPagedCallable()- Overrides:
searchIndexEndpointPagedCallablein classWarehouseStub
-
createIndexEndpointCallable
- Overrides:
createIndexEndpointCallablein classWarehouseStub
-
createIndexEndpointOperationCallable
public OperationCallable<CreateIndexEndpointRequest,IndexEndpoint, createIndexEndpointOperationCallable()CreateIndexEndpointMetadata> - Overrides:
createIndexEndpointOperationCallablein classWarehouseStub
-
getIndexEndpointCallable
- Overrides:
getIndexEndpointCallablein classWarehouseStub
-
listIndexEndpointsCallable
public UnaryCallable<ListIndexEndpointsRequest,ListIndexEndpointsResponse> listIndexEndpointsCallable()- Overrides:
listIndexEndpointsCallablein classWarehouseStub
-
listIndexEndpointsPagedCallable
public UnaryCallable<ListIndexEndpointsRequest,WarehouseClient.ListIndexEndpointsPagedResponse> listIndexEndpointsPagedCallable()- Overrides:
listIndexEndpointsPagedCallablein classWarehouseStub
-
updateIndexEndpointCallable
- Overrides:
updateIndexEndpointCallablein classWarehouseStub
-
updateIndexEndpointOperationCallable
public OperationCallable<UpdateIndexEndpointRequest,IndexEndpoint, updateIndexEndpointOperationCallable()UpdateIndexEndpointMetadata> - Overrides:
updateIndexEndpointOperationCallablein classWarehouseStub
-
deleteIndexEndpointCallable
- Overrides:
deleteIndexEndpointCallablein classWarehouseStub
-
deleteIndexEndpointOperationCallable
public OperationCallable<DeleteIndexEndpointRequest,com.google.protobuf.Empty, deleteIndexEndpointOperationCallable()DeleteIndexEndpointMetadata> - Overrides:
deleteIndexEndpointOperationCallablein classWarehouseStub
-
deployIndexCallable
- Overrides:
deployIndexCallablein classWarehouseStub
-
deployIndexOperationCallable
public OperationCallable<DeployIndexRequest,DeployIndexResponse, deployIndexOperationCallable()DeployIndexMetadata> - Overrides:
deployIndexOperationCallablein classWarehouseStub
-
undeployIndexCallable
- Overrides:
undeployIndexCallablein classWarehouseStub
-
undeployIndexOperationCallable
public OperationCallable<UndeployIndexRequest,UndeployIndexResponse, undeployIndexOperationCallable()UndeployIndexMetadata> - Overrides:
undeployIndexOperationCallablein classWarehouseStub
-
createCollectionCallable
- Overrides:
createCollectionCallablein classWarehouseStub
-
createCollectionOperationCallable
public OperationCallable<CreateCollectionRequest,Collection, createCollectionOperationCallable()CreateCollectionMetadata> - Overrides:
createCollectionOperationCallablein classWarehouseStub
-
deleteCollectionCallable
- Overrides:
deleteCollectionCallablein classWarehouseStub
-
deleteCollectionOperationCallable
public OperationCallable<DeleteCollectionRequest,com.google.protobuf.Empty, deleteCollectionOperationCallable()DeleteCollectionMetadata> - Overrides:
deleteCollectionOperationCallablein classWarehouseStub
-
getCollectionCallable
- Overrides:
getCollectionCallablein classWarehouseStub
-
updateCollectionCallable
- Overrides:
updateCollectionCallablein classWarehouseStub
-
listCollectionsCallable
- Overrides:
listCollectionsCallablein classWarehouseStub
-
listCollectionsPagedCallable
public UnaryCallable<ListCollectionsRequest,WarehouseClient.ListCollectionsPagedResponse> listCollectionsPagedCallable()- Overrides:
listCollectionsPagedCallablein classWarehouseStub
-
addCollectionItemCallable
public UnaryCallable<AddCollectionItemRequest,AddCollectionItemResponse> addCollectionItemCallable()- Overrides:
addCollectionItemCallablein classWarehouseStub
-
removeCollectionItemCallable
public UnaryCallable<RemoveCollectionItemRequest,RemoveCollectionItemResponse> removeCollectionItemCallable()- Overrides:
removeCollectionItemCallablein classWarehouseStub
-
viewCollectionItemsCallable
public UnaryCallable<ViewCollectionItemsRequest,ViewCollectionItemsResponse> viewCollectionItemsCallable()- Overrides:
viewCollectionItemsCallablein classWarehouseStub
-
viewCollectionItemsPagedCallable
public UnaryCallable<ViewCollectionItemsRequest,WarehouseClient.ViewCollectionItemsPagedResponse> viewCollectionItemsPagedCallable()- Overrides:
viewCollectionItemsPagedCallablein classWarehouseStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classWarehouseStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,WarehouseClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classWarehouseStub
-
getLocationCallable
- Overrides:
getLocationCallablein classWarehouseStub
-
ingestAssetCallable
- Overrides:
ingestAssetCallablein classWarehouseStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classWarehouseStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-