public static List<TableDescriptor>
    toTableDescriptorList(ListTableDescriptorsByNamespaceResponse proto) {
    if (proto == null) return new ArrayList<>();
    return proto.getTableSchemaList().stream().map(ProtobufUtil::toTableDescriptor)
      .collect(Collectors.toList());
  }
Get a list of TableDescriptor from ListTableDescriptorsByNamespaceResponse protobuf
@param proto the ListTableDescriptorsByNamespaceResponse
@return a list of TableDescriptor
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java