public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (WarehouseGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor =
              result =
                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
                      .setSchemaDescriptor(new WarehouseFileDescriptorSupplier())
                      .addMethod(getCreateAssetMethod())
                      .addMethod(getUpdateAssetMethod())
                      .addMethod(getGetAssetMethod())
                      .addMethod(getListAssetsMethod())
                      .addMethod(getDeleteAssetMethod())
                      .addMethod(getUploadAssetMethod())
                      .addMethod(getGenerateRetrievalUrlMethod())
                      .addMethod(getAnalyzeAssetMethod())
                      .addMethod(getIndexAssetMethod())
                      .addMethod(getRemoveIndexAssetMethod())
                      .addMethod(getViewIndexedAssetsMethod())
                      .addMethod(getCreateIndexMethod())
                      .addMethod(getUpdateIndexMethod())
                      .addMethod(getGetIndexMethod())
                      .addMethod(getListIndexesMethod())
                      .addMethod(getDeleteIndexMethod())
                      .addMethod(getCreateCorpusMethod())
                      .addMethod(getGetCorpusMethod())
                      .addMethod(getUpdateCorpusMethod())
                      .addMethod(getListCorporaMethod())
                      .addMethod(getDeleteCorpusMethod())
                      .addMethod(getAnalyzeCorpusMethod())
                      .addMethod(getCreateDataSchemaMethod())
                      .addMethod(getUpdateDataSchemaMethod())
                      .addMethod(getGetDataSchemaMethod())
                      .addMethod(getDeleteDataSchemaMethod())
                      .addMethod(getListDataSchemasMethod())
                      .addMethod(getCreateAnnotationMethod())
                      .addMethod(getGetAnnotationMethod())
                      .addMethod(getListAnnotationsMethod())
                      .addMethod(getUpdateAnnotationMethod())
                      .addMethod(getDeleteAnnotationMethod())
                      .addMethod(getIngestAssetMethod())
                      .addMethod(getClipAssetMethod())
                      .addMethod(getGenerateHlsUriMethod())
                      .addMethod(getImportAssetsMethod())
                      .addMethod(getCreateSearchConfigMethod())
                      .addMethod(getUpdateSearchConfigMethod())
                      .addMethod(getGetSearchConfigMethod())
                      .addMethod(getDeleteSearchConfigMethod())
                      .addMethod(getListSearchConfigsMethod())
                      .addMethod(getCreateSearchHypernymMethod())
                      .addMethod(getUpdateSearchHypernymMethod())
                      .addMethod(getGetSearchHypernymMethod())
                      .addMethod(getDeleteSearchHypernymMethod())
                      .addMethod(getListSearchHypernymsMethod())
                      .addMethod(getSearchAssetsMethod())
                      .addMethod(getSearchIndexEndpointMethod())
                      .addMethod(getCreateIndexEndpointMethod())
                      .addMethod(getGetIndexEndpointMethod())
                      .addMethod(getListIndexEndpointsMethod())
                      .addMethod(getUpdateIndexEndpointMethod())
                      .addMethod(getDeleteIndexEndpointMethod())
                      .addMethod(getDeployIndexMethod())
                      .addMethod(getUndeployIndexMethod())
                      .addMethod(getCreateCollectionMethod())
                      .addMethod(getDeleteCollectionMethod())
                      .addMethod(getGetCollectionMethod())
                      .addMethod(getUpdateCollectionMethod())
                      .addMethod(getListCollectionsMethod())
                      .addMethod(getAddCollectionItemMethod())
                      .addMethod(getRemoveCollectionItemMethod())
                      .addMethod(getViewCollectionItemsMethod())
                      .build();
        }
      }
    }
    return result;
  }
<pre>
View items inside a collection.
</pre>
java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/WarehouseGrpc.java