Class GrpcWarehouseStub (0.15.0)

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.

Inheritance

java.lang.Object > WarehouseStub > GrpcWarehouseStub

Static Methods

create(ClientContext clientContext)

public static final GrpcWarehouseStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcWarehouseStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcWarehouseStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcWarehouseStub
Exceptions
Type Description
IOException

create(WarehouseStubSettings settings)

public static final GrpcWarehouseStub create(WarehouseStubSettings settings)
Parameter
Name Description
settings WarehouseStubSettings
Returns
Type Description
GrpcWarehouseStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings WarehouseStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings WarehouseStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

addCollectionItemCallable()

public UnaryCallable<AddCollectionItemRequest,AddCollectionItemResponse> addCollectionItemCallable()
Overrides

analyzeAssetCallable()

public UnaryCallable<AnalyzeAssetRequest,Operation> analyzeAssetCallable()
Returns
Type Description
UnaryCallable<AnalyzeAssetRequest,Operation>
Overrides

analyzeAssetOperationCallable()

public OperationCallable<AnalyzeAssetRequest,AnalyzeAssetResponse,AnalyzeAssetMetadata> analyzeAssetOperationCallable()
Overrides

analyzeCorpusCallable()

public UnaryCallable<AnalyzeCorpusRequest,Operation> analyzeCorpusCallable()
Returns
Type Description
UnaryCallable<AnalyzeCorpusRequest,Operation>
Overrides

analyzeCorpusOperationCallable()

public OperationCallable<AnalyzeCorpusRequest,AnalyzeCorpusResponse,AnalyzeCorpusMetadata> analyzeCorpusOperationCallable()
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

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()
Returns
Type Description
UnaryCallable<CreateAssetRequest,Asset>
Overrides

createCollectionCallable()

public UnaryCallable<CreateCollectionRequest,Operation> createCollectionCallable()
Returns
Type Description
UnaryCallable<CreateCollectionRequest,Operation>
Overrides

createCollectionOperationCallable()

public OperationCallable<CreateCollectionRequest,Collection,CreateCollectionMetadata> createCollectionOperationCallable()
Overrides

createCorpusCallable()

public UnaryCallable<CreateCorpusRequest,Operation> createCorpusCallable()
Returns
Type Description
UnaryCallable<CreateCorpusRequest,Operation>
Overrides

createCorpusOperationCallable()

public OperationCallable<CreateCorpusRequest,Corpus,CreateCorpusMetadata> createCorpusOperationCallable()
Overrides

createDataSchemaCallable()

public UnaryCallable<CreateDataSchemaRequest,DataSchema> createDataSchemaCallable()
Overrides

createIndexCallable()

public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Returns
Type Description
UnaryCallable<CreateIndexRequest,Operation>
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()
Returns
Type Description
UnaryCallable<DeleteAnnotationRequest,Empty>
Overrides

deleteAssetCallable()

public UnaryCallable<DeleteAssetRequest,Operation> deleteAssetCallable()
Returns
Type Description
UnaryCallable<DeleteAssetRequest,Operation>
Overrides

deleteAssetOperationCallable()

public OperationCallable<DeleteAssetRequest,Empty,DeleteAssetMetadata> deleteAssetOperationCallable()
Overrides

deleteCollectionCallable()

public UnaryCallable<DeleteCollectionRequest,Operation> deleteCollectionCallable()
Returns
Type Description
UnaryCallable<DeleteCollectionRequest,Operation>
Overrides

deleteCollectionOperationCallable()

public OperationCallable<DeleteCollectionRequest,Empty,DeleteCollectionMetadata> deleteCollectionOperationCallable()
Overrides

deleteCorpusCallable()

public UnaryCallable<DeleteCorpusRequest,Empty> deleteCorpusCallable()
Returns
Type Description
UnaryCallable<DeleteCorpusRequest,Empty>
Overrides

deleteDataSchemaCallable()

public UnaryCallable<DeleteDataSchemaRequest,Empty> deleteDataSchemaCallable()
Returns
Type Description
UnaryCallable<DeleteDataSchemaRequest,Empty>
Overrides

deleteIndexCallable()

public UnaryCallable<DeleteIndexRequest,Operation> deleteIndexCallable()
Returns
Type Description
UnaryCallable<DeleteIndexRequest,Operation>
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()
Returns
Type Description
UnaryCallable<DeleteSearchConfigRequest,Empty>
Overrides

deleteSearchHypernymCallable()

public UnaryCallable<DeleteSearchHypernymRequest,Empty> deleteSearchHypernymCallable()
Returns
Type Description
UnaryCallable<DeleteSearchHypernymRequest,Empty>
Overrides

deployIndexCallable()

public UnaryCallable<DeployIndexRequest,Operation> deployIndexCallable()
Returns
Type Description
UnaryCallable<DeployIndexRequest,Operation>
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()
Returns
Type Description
UnaryCallable<GetAnnotationRequest,Annotation>
Overrides

getAssetCallable()

public UnaryCallable<GetAssetRequest,Asset> getAssetCallable()
Returns
Type Description
UnaryCallable<GetAssetRequest,Asset>
Overrides

getCollectionCallable()

public UnaryCallable<GetCollectionRequest,Collection> getCollectionCallable()
Returns
Type Description
UnaryCallable<GetCollectionRequest,Collection>
Overrides

getCorpusCallable()

public UnaryCallable<GetCorpusRequest,Corpus> getCorpusCallable()
Returns
Type Description
UnaryCallable<GetCorpusRequest,Corpus>
Overrides

getDataSchemaCallable()

public UnaryCallable<GetDataSchemaRequest,DataSchema> getDataSchemaCallable()
Returns
Type Description
UnaryCallable<GetDataSchemaRequest,DataSchema>
Overrides

getIndexCallable()

public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Returns
Type Description
UnaryCallable<GetIndexRequest,Index>
Overrides

getIndexEndpointCallable()

public UnaryCallable<GetIndexEndpointRequest,IndexEndpoint> getIndexEndpointCallable()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getSearchConfigCallable()

public UnaryCallable<GetSearchConfigRequest,SearchConfig> getSearchConfigCallable()
Overrides

getSearchHypernymCallable()

public UnaryCallable<GetSearchHypernymRequest,SearchHypernym> getSearchHypernymCallable()
Overrides

importAssetsCallable()

public UnaryCallable<ImportAssetsRequest,Operation> importAssetsCallable()
Returns
Type Description
UnaryCallable<ImportAssetsRequest,Operation>
Overrides

importAssetsOperationCallable()

public OperationCallable<ImportAssetsRequest,ImportAssetsResponse,ImportAssetsMetadata> importAssetsOperationCallable()
Overrides

indexAssetCallable()

public UnaryCallable<IndexAssetRequest,Operation> indexAssetCallable()
Returns
Type Description
UnaryCallable<IndexAssetRequest,Operation>
Overrides

indexAssetOperationCallable()

public OperationCallable<IndexAssetRequest,IndexAssetResponse,IndexAssetMetadata> indexAssetOperationCallable()
Overrides

ingestAssetCallable()

public BidiStreamingCallable<IngestAssetRequest,IngestAssetResponse> ingestAssetCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

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()
Returns
Type Description
UnaryCallable<RemoveIndexAssetRequest,Operation>
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()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeployIndexCallable()

public UnaryCallable<UndeployIndexRequest,Operation> undeployIndexCallable()
Returns
Type Description
UnaryCallable<UndeployIndexRequest,Operation>
Overrides

undeployIndexOperationCallable()

public OperationCallable<UndeployIndexRequest,UndeployIndexResponse,UndeployIndexMetadata> undeployIndexOperationCallable()
Overrides

updateAnnotationCallable()

public UnaryCallable<UpdateAnnotationRequest,Annotation> updateAnnotationCallable()
Overrides

updateAssetCallable()

public UnaryCallable<UpdateAssetRequest,Asset> updateAssetCallable()
Returns
Type Description
UnaryCallable<UpdateAssetRequest,Asset>
Overrides

updateCollectionCallable()

public UnaryCallable<UpdateCollectionRequest,Collection> updateCollectionCallable()
Overrides

updateCorpusCallable()

public UnaryCallable<UpdateCorpusRequest,Corpus> updateCorpusCallable()
Returns
Type Description
UnaryCallable<UpdateCorpusRequest,Corpus>
Overrides

updateDataSchemaCallable()

public UnaryCallable<UpdateDataSchemaRequest,DataSchema> updateDataSchemaCallable()
Overrides

updateIndexCallable()

public UnaryCallable<UpdateIndexRequest,Operation> updateIndexCallable()
Returns
Type Description
UnaryCallable<UpdateIndexRequest,Operation>
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()
Returns
Type Description
UnaryCallable<UploadAssetRequest,Operation>
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