static public DataRoot.Type convertDataRootType(ConfigCatalogExtProto.DataRootType type) {
    switch (type) {
      case datasetRoot:
        return DataRoot.Type.datasetRoot;
      case datasetScan:
        return DataRoot.Type.datasetScan;
      case catalogScan:
        return DataRoot.Type.catalogScan;
      case featureCollection:
        return DataRoot.Type.featureCollection;
    }
    throw new IllegalStateException("illegal DataRootType " + type);
  }
static public DataRoot.Type convertDataRootType(ConfigCatalogExtProto.DataRootType type) {
    switch (type) {
      case datasetRoot:
        return DataRoot.Type.datasetRoot;
      case datasetScan:
        return DataRoot.Type.datasetScan;
      case catalogScan:
        return DataRoot.Type.catalogScan;
      case featureCollection:
        return DataRoot.Type.featureCollection;
    }
    throw new IllegalStateException("illegal DataRootType " + type);
  }
static public DataRoot . Type convertDataRootType ( ConfigCatalogExtProto . DataRootType type ) { switch ( type ) { case datasetRoot : return DataRoot . Type . datasetRoot ; case datasetScan : return DataRoot . Type . datasetScan ; case catalogScan : return DataRoot . Type . catalogScan ; case featureCollection : return DataRoot . Type . featureCollection ; } throw new IllegalStateException ( "illegal DataRootType " + type ) ; }
Type {datasetRoot, datasetScan, catalogScan, featureCollection}
Type { datasetRoot datasetScan catalogScan featureCollection }