public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getCreateAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateAssetRequest,
                    com.google.cloud.visionai.v1.Asset>(service, METHODID_CREATE_ASSET)))
        .addMethod(
            getUpdateAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateAssetRequest,
                    com.google.cloud.visionai.v1.Asset>(service, METHODID_UPDATE_ASSET)))
        .addMethod(
            getGetAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetAssetRequest,
                    com.google.cloud.visionai.v1.Asset>(service, METHODID_GET_ASSET)))
        .addMethod(
            getListAssetsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListAssetsRequest,
                    com.google.cloud.visionai.v1.ListAssetsResponse>(
                    service, METHODID_LIST_ASSETS)))
        .addMethod(
            getDeleteAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteAssetRequest,
                    com.google.longrunning.Operation>(service, METHODID_DELETE_ASSET)))
        .addMethod(
            getUploadAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UploadAssetRequest,
                    com.google.longrunning.Operation>(service, METHODID_UPLOAD_ASSET)))
        .addMethod(
            getGenerateRetrievalUrlMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GenerateRetrievalUrlRequest,
                    com.google.cloud.visionai.v1.GenerateRetrievalUrlResponse>(
                    service, METHODID_GENERATE_RETRIEVAL_URL)))
        .addMethod(
            getAnalyzeAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.AnalyzeAssetRequest,
                    com.google.longrunning.Operation>(service, METHODID_ANALYZE_ASSET)))
        .addMethod(
            getIndexAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.IndexAssetRequest,
                    com.google.longrunning.Operation>(service, METHODID_INDEX_ASSET)))
        .addMethod(
            getRemoveIndexAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.RemoveIndexAssetRequest,
                    com.google.longrunning.Operation>(service, METHODID_REMOVE_INDEX_ASSET)))
        .addMethod(
            getViewIndexedAssetsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ViewIndexedAssetsRequest,
                    com.google.cloud.visionai.v1.ViewIndexedAssetsResponse>(
                    service, METHODID_VIEW_INDEXED_ASSETS)))
        .addMethod(
            getCreateIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateIndexRequest,
                    com.google.longrunning.Operation>(service, METHODID_CREATE_INDEX)))
        .addMethod(
            getUpdateIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateIndexRequest,
                    com.google.longrunning.Operation>(service, METHODID_UPDATE_INDEX)))
        .addMethod(
            getGetIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetIndexRequest,
                    com.google.cloud.visionai.v1.Index>(service, METHODID_GET_INDEX)))
        .addMethod(
            getListIndexesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListIndexesRequest,
                    com.google.cloud.visionai.v1.ListIndexesResponse>(
                    service, METHODID_LIST_INDEXES)))
        .addMethod(
            getDeleteIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteIndexRequest,
                    com.google.longrunning.Operation>(service, METHODID_DELETE_INDEX)))
        .addMethod(
            getCreateCorpusMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateCorpusRequest,
                    com.google.longrunning.Operation>(service, METHODID_CREATE_CORPUS)))
        .addMethod(
            getGetCorpusMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetCorpusRequest,
                    com.google.cloud.visionai.v1.Corpus>(service, METHODID_GET_CORPUS)))
        .addMethod(
            getUpdateCorpusMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateCorpusRequest,
                    com.google.cloud.visionai.v1.Corpus>(service, METHODID_UPDATE_CORPUS)))
        .addMethod(
            getListCorporaMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListCorporaRequest,
                    com.google.cloud.visionai.v1.ListCorporaResponse>(
                    service, METHODID_LIST_CORPORA)))
        .addMethod(
            getDeleteCorpusMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteCorpusRequest, com.google.protobuf.Empty>(
                    service, METHODID_DELETE_CORPUS)))
        .addMethod(
            getAnalyzeCorpusMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.AnalyzeCorpusRequest,
                    com.google.longrunning.Operation>(service, METHODID_ANALYZE_CORPUS)))
        .addMethod(
            getCreateDataSchemaMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateDataSchemaRequest,
                    com.google.cloud.visionai.v1.DataSchema>(service, METHODID_CREATE_DATA_SCHEMA)))
        .addMethod(
            getUpdateDataSchemaMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateDataSchemaRequest,
                    com.google.cloud.visionai.v1.DataSchema>(service, METHODID_UPDATE_DATA_SCHEMA)))
        .addMethod(
            getGetDataSchemaMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetDataSchemaRequest,
                    com.google.cloud.visionai.v1.DataSchema>(service, METHODID_GET_DATA_SCHEMA)))
        .addMethod(
            getDeleteDataSchemaMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteDataSchemaRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_DATA_SCHEMA)))
        .addMethod(
            getListDataSchemasMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListDataSchemasRequest,
                    com.google.cloud.visionai.v1.ListDataSchemasResponse>(
                    service, METHODID_LIST_DATA_SCHEMAS)))
        .addMethod(
            getCreateAnnotationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateAnnotationRequest,
                    com.google.cloud.visionai.v1.Annotation>(service, METHODID_CREATE_ANNOTATION)))
        .addMethod(
            getGetAnnotationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetAnnotationRequest,
                    com.google.cloud.visionai.v1.Annotation>(service, METHODID_GET_ANNOTATION)))
        .addMethod(
            getListAnnotationsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListAnnotationsRequest,
                    com.google.cloud.visionai.v1.ListAnnotationsResponse>(
                    service, METHODID_LIST_ANNOTATIONS)))
        .addMethod(
            getUpdateAnnotationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateAnnotationRequest,
                    com.google.cloud.visionai.v1.Annotation>(service, METHODID_UPDATE_ANNOTATION)))
        .addMethod(
            getDeleteAnnotationMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteAnnotationRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_ANNOTATION)))
        .addMethod(
            getIngestAssetMethod(),
            io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.IngestAssetRequest,
                    com.google.cloud.visionai.v1.IngestAssetResponse>(
                    service, METHODID_INGEST_ASSET)))
        .addMethod(
            getClipAssetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ClipAssetRequest,
                    com.google.cloud.visionai.v1.ClipAssetResponse>(service, METHODID_CLIP_ASSET)))
        .addMethod(
            getGenerateHlsUriMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GenerateHlsUriRequest,
                    com.google.cloud.visionai.v1.GenerateHlsUriResponse>(
                    service, METHODID_GENERATE_HLS_URI)))
        .addMethod(
            getImportAssetsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ImportAssetsRequest,
                    com.google.longrunning.Operation>(service, METHODID_IMPORT_ASSETS)))
        .addMethod(
            getCreateSearchConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateSearchConfigRequest,
                    com.google.cloud.visionai.v1.SearchConfig>(
                    service, METHODID_CREATE_SEARCH_CONFIG)))
        .addMethod(
            getUpdateSearchConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateSearchConfigRequest,
                    com.google.cloud.visionai.v1.SearchConfig>(
                    service, METHODID_UPDATE_SEARCH_CONFIG)))
        .addMethod(
            getGetSearchConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetSearchConfigRequest,
                    com.google.cloud.visionai.v1.SearchConfig>(
                    service, METHODID_GET_SEARCH_CONFIG)))
        .addMethod(
            getDeleteSearchConfigMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteSearchConfigRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_SEARCH_CONFIG)))
        .addMethod(
            getListSearchConfigsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListSearchConfigsRequest,
                    com.google.cloud.visionai.v1.ListSearchConfigsResponse>(
                    service, METHODID_LIST_SEARCH_CONFIGS)))
        .addMethod(
            getCreateSearchHypernymMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateSearchHypernymRequest,
                    com.google.cloud.visionai.v1.SearchHypernym>(
                    service, METHODID_CREATE_SEARCH_HYPERNYM)))
        .addMethod(
            getUpdateSearchHypernymMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateSearchHypernymRequest,
                    com.google.cloud.visionai.v1.SearchHypernym>(
                    service, METHODID_UPDATE_SEARCH_HYPERNYM)))
        .addMethod(
            getGetSearchHypernymMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetSearchHypernymRequest,
                    com.google.cloud.visionai.v1.SearchHypernym>(
                    service, METHODID_GET_SEARCH_HYPERNYM)))
        .addMethod(
            getDeleteSearchHypernymMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteSearchHypernymRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_SEARCH_HYPERNYM)))
        .addMethod(
            getListSearchHypernymsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListSearchHypernymsRequest,
                    com.google.cloud.visionai.v1.ListSearchHypernymsResponse>(
                    service, METHODID_LIST_SEARCH_HYPERNYMS)))
        .addMethod(
            getSearchAssetsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.SearchAssetsRequest,
                    com.google.cloud.visionai.v1.SearchAssetsResponse>(
                    service, METHODID_SEARCH_ASSETS)))
        .addMethod(
            getSearchIndexEndpointMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.SearchIndexEndpointRequest,
                    com.google.cloud.visionai.v1.SearchIndexEndpointResponse>(
                    service, METHODID_SEARCH_INDEX_ENDPOINT)))
        .addMethod(
            getCreateIndexEndpointMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateIndexEndpointRequest,
                    com.google.longrunning.Operation>(service, METHODID_CREATE_INDEX_ENDPOINT)))
        .addMethod(
            getGetIndexEndpointMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetIndexEndpointRequest,
                    com.google.cloud.visionai.v1.IndexEndpoint>(
                    service, METHODID_GET_INDEX_ENDPOINT)))
        .addMethod(
            getListIndexEndpointsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListIndexEndpointsRequest,
                    com.google.cloud.visionai.v1.ListIndexEndpointsResponse>(
                    service, METHODID_LIST_INDEX_ENDPOINTS)))
        .addMethod(
            getUpdateIndexEndpointMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateIndexEndpointRequest,
                    com.google.longrunning.Operation>(service, METHODID_UPDATE_INDEX_ENDPOINT)))
        .addMethod(
            getDeleteIndexEndpointMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteIndexEndpointRequest,
                    com.google.longrunning.Operation>(service, METHODID_DELETE_INDEX_ENDPOINT)))
        .addMethod(
            getDeployIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeployIndexRequest,
                    com.google.longrunning.Operation>(service, METHODID_DEPLOY_INDEX)))
        .addMethod(
            getUndeployIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UndeployIndexRequest,
                    com.google.longrunning.Operation>(service, METHODID_UNDEPLOY_INDEX)))
        .addMethod(
            getCreateCollectionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.CreateCollectionRequest,
                    com.google.longrunning.Operation>(service, METHODID_CREATE_COLLECTION)))
        .addMethod(
            getDeleteCollectionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.DeleteCollectionRequest,
                    com.google.longrunning.Operation>(service, METHODID_DELETE_COLLECTION)))
        .addMethod(
            getGetCollectionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.GetCollectionRequest,
                    com.google.cloud.visionai.v1.Collection>(service, METHODID_GET_COLLECTION)))
        .addMethod(
            getUpdateCollectionMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.UpdateCollectionRequest,
                    com.google.cloud.visionai.v1.Collection>(service, METHODID_UPDATE_COLLECTION)))
        .addMethod(
            getListCollectionsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ListCollectionsRequest,
                    com.google.cloud.visionai.v1.ListCollectionsResponse>(
                    service, METHODID_LIST_COLLECTIONS)))
        .addMethod(
            getAddCollectionItemMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.AddCollectionItemRequest,
                    com.google.cloud.visionai.v1.AddCollectionItemResponse>(
                    service, METHODID_ADD_COLLECTION_ITEM)))
        .addMethod(
            getRemoveCollectionItemMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.RemoveCollectionItemRequest,
                    com.google.cloud.visionai.v1.RemoveCollectionItemResponse>(
                    service, METHODID_REMOVE_COLLECTION_ITEM)))
        .addMethod(
            getViewCollectionItemsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.visionai.v1.ViewCollectionItemsRequest,
                    com.google.cloud.visionai.v1.ViewCollectionItemsResponse>(
                    service, METHODID_VIEW_COLLECTION_ITEMS)))
        .build();
  }
<pre>
View items inside a collection.
</pre>
java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseGrpc.java